mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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:
parent
f82f59cf66
commit
9e054ec21e
@ -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.
|
||||
|
@ -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
|
||||
|
1172
drivers/crypto/stm32/stm32-cryp.c
Normal file
1172
drivers/crypto/stm32/stm32-cryp.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user