162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig CRYPTO_DEV_STM32_CRC
362306a36Sopenharmony_ci	tristate "Support for STM32 crc accelerators"
462306a36Sopenharmony_ci	depends on ARCH_STM32
562306a36Sopenharmony_ci	select CRYPTO_HASH
662306a36Sopenharmony_ci	select CRC32
762306a36Sopenharmony_ci	help
862306a36Sopenharmony_ci	  This enables support for the CRC32 hw accelerator which can be found
962306a36Sopenharmony_ci	  on STMicroelectronics STM32 SOC.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciconfig CRYPTO_DEV_STM32_HASH
1262306a36Sopenharmony_ci	tristate "Support for STM32 hash accelerators"
1362306a36Sopenharmony_ci	depends on ARCH_STM32 || ARCH_U8500
1462306a36Sopenharmony_ci	depends on HAS_DMA
1562306a36Sopenharmony_ci	select CRYPTO_HASH
1662306a36Sopenharmony_ci	select CRYPTO_MD5
1762306a36Sopenharmony_ci	select CRYPTO_SHA1
1862306a36Sopenharmony_ci	select CRYPTO_SHA256
1962306a36Sopenharmony_ci	select CRYPTO_SHA512
2062306a36Sopenharmony_ci	select CRYPTO_SHA3
2162306a36Sopenharmony_ci	select CRYPTO_ENGINE
2262306a36Sopenharmony_ci	help
2362306a36Sopenharmony_ci	  This enables support for the HASH hw accelerator which can be found
2462306a36Sopenharmony_ci	  on STMicroelectronics STM32 SOC.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciconfig CRYPTO_DEV_STM32_CRYP
2762306a36Sopenharmony_ci	tristate "Support for STM32 cryp accelerators"
2862306a36Sopenharmony_ci	depends on ARCH_STM32 || ARCH_U8500
2962306a36Sopenharmony_ci	select CRYPTO_HASH
3062306a36Sopenharmony_ci	select CRYPTO_ENGINE
3162306a36Sopenharmony_ci	select CRYPTO_LIB_DES
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  This enables support for the CRYP (AES/DES/TDES) hw accelerator which
3462306a36Sopenharmony_ci	  can be found on STMicroelectronics STM32 SOC.
35