1 # SPDX-License-Identifier: GPL-2.0-only
2 config CRYPTO_DEV_STM32_CRC
3 	tristate "Support for STM32 crc accelerators"
4 	depends on ARCH_STM32
5 	select CRYPTO_HASH
6 	select CRC32
7 	help
8 	  This enables support for the CRC32 hw accelerator which can be found
9 	  on STMicroelectronics STM32 SOC.
10 
11 config CRYPTO_DEV_STM32_HASH
12 	tristate "Support for STM32 hash accelerators"
13 	depends on ARCH_STM32 || ARCH_U8500
14 	depends on HAS_DMA
15 	select CRYPTO_HASH
16 	select CRYPTO_MD5
17 	select CRYPTO_SHA1
18 	select CRYPTO_SHA256
19 	select CRYPTO_SHA512
20 	select CRYPTO_SHA3
21 	select CRYPTO_ENGINE
22 	help
23 	  This enables support for the HASH hw accelerator which can be found
24 	  on STMicroelectronics STM32 SOC.
25 
26 config CRYPTO_DEV_STM32_CRYP
27 	tristate "Support for STM32 cryp accelerators"
28 	depends on ARCH_STM32 || ARCH_U8500
29 	select CRYPTO_HASH
30 	select CRYPTO_ENGINE
31 	select CRYPTO_LIB_DES
32 	help
33 	  This enables support for the CRYP (AES/DES/TDES) hw accelerator which
34 	  can be found on STMicroelectronics STM32 SOC.
35