crypto: stm32 - Support for STM32 CRYP crypto module

This module registers block cipher algorithms that make use of the
STMicroelectronics STM32 crypto "CRYP1" hardware.
The following algorithms are supported:
- aes: ecb, cbc, ctr
- des: ecb, cbc
- tdes: ecb, cbc

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Fabien DESSENNE 2017-10-19 17:10:30 +02:00 committed by Herbert Xu
parent f82f59cf66
commit 9e054ec21e
3 changed files with 1183 additions and 1 deletions

View File

@ -18,3 +18,12 @@ config HASH_DEV_STM32
help
This enables support for the HASH hw accelerator which can be found
on STMicroelectronics STM32 SOC.
config CRYP_DEV_STM32
tristate "Support for STM32 cryp accelerators"
depends on ARCH_STM32
select CRYPTO_HASH
select CRYPTO_ENGINE
help
This enables support for the CRYP (AES/DES/TDES) hw accelerator which
can be found on STMicroelectronics STM32 SOC.

View File

@ -1,2 +1,3 @@
obj-$(CONFIG_CRC_DEV_STM32) += stm32_crc32.o
obj-$(CONFIG_HASH_DEV_STM32) += stm32-hash.o
obj-$(CONFIG_HASH_DEV_STM32) += stm32-hash.o
obj-$(CONFIG_CRYP_DEV_STM32) += stm32-cryp.o

File diff suppressed because it is too large Load Diff