b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 | help |
| 7 | This enables support for the CRC32 hw accelerator which can be found |
| 8 | on STMicroelectronics STM32 SOC. |
| 9 | |
| 10 | config CRYPTO_DEV_STM32_HASH |
| 11 | tristate "Support for STM32 hash accelerators" |
| 12 | depends on ARCH_STM32 |
| 13 | depends on HAS_DMA |
| 14 | select CRYPTO_HASH |
| 15 | select CRYPTO_MD5 |
| 16 | select CRYPTO_SHA1 |
| 17 | select CRYPTO_SHA256 |
| 18 | select CRYPTO_ENGINE |
| 19 | help |
| 20 | This enables support for the HASH hw accelerator which can be found |
| 21 | on STMicroelectronics STM32 SOC. |
| 22 | |
| 23 | config CRYPTO_DEV_STM32_CRYP |
| 24 | tristate "Support for STM32 cryp accelerators" |
| 25 | depends on ARCH_STM32 |
| 26 | select CRYPTO_HASH |
| 27 | select CRYPTO_ENGINE |
| 28 | select CRYPTO_LIB_DES |
| 29 | help |
| 30 | This enables support for the CRYP (AES/DES/TDES) hw accelerator which |
| 31 | can be found on STMicroelectronics STM32 SOC. |