提交 9e054ec2 编写于 作者: F Fabien DESSENNE 提交者: 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: NFabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 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
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册