Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e054ec2 authored by Fabien DESSENNE's avatar Fabien DESSENNE Committed by Herbert Xu
Browse files

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: default avatarFabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f82f59cf
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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.
+2 −1
Original line number Diff line number Diff line
obj-$(CONFIG_CRC_DEV_STM32) += stm32_crc32.o
obj-$(CONFIG_HASH_DEV_STM32) += stm32-hash.o
obj-$(CONFIG_CRYP_DEV_STM32) += stm32-cryp.o
+1172 −0

File added.

Preview size limit exceeded, changes collapsed.