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

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
...@@ -18,3 +18,12 @@ config HASH_DEV_STM32 ...@@ -18,3 +18,12 @@ config HASH_DEV_STM32
help help
This enables support for the HASH hw accelerator which can be found This enables support for the HASH hw accelerator which can be found
on STMicroelectronics STM32 SOC. 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.
obj-$(CONFIG_CRC_DEV_STM32) += stm32_crc32.o obj-$(CONFIG_CRC_DEV_STM32) += stm32_crc32.o
obj-$(CONFIG_HASH_DEV_STM32) += stm32-hash.o obj-$(CONFIG_HASH_DEV_STM32) += stm32-hash.o
\ No newline at end of file obj-$(CONFIG_CRYP_DEV_STM32) += stm32-cryp.o
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment