David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | config CRYPTO_DEV_STM32_CRC |
| 3 | tristate "Support for STM32 crc accelerators" |
| 4 | depends on ARCH_STM32 |
| 5 | select CRYPTO_HASH |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 6 | select CRC32 |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 7 | help |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 8 | This enables support for the CRC32 hw accelerator which can be found |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 9 | on STMicroelectronics STM32 SOC. |
| 10 | |
| 11 | config CRYPTO_DEV_STM32_HASH |
| 12 | tristate "Support for STM32 hash accelerators" |
| 13 | depends on ARCH_STM32 |
| 14 | depends on HAS_DMA |
| 15 | select CRYPTO_HASH |
| 16 | select CRYPTO_MD5 |
| 17 | select CRYPTO_SHA1 |
| 18 | select CRYPTO_SHA256 |
| 19 | select CRYPTO_ENGINE |
| 20 | help |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 21 | This enables support for the HASH hw accelerator which can be found |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 22 | on STMicroelectronics STM32 SOC. |
| 23 | |
| 24 | config CRYPTO_DEV_STM32_CRYP |
| 25 | tristate "Support for STM32 cryp accelerators" |
| 26 | depends on ARCH_STM32 |
| 27 | select CRYPTO_HASH |
| 28 | select CRYPTO_ENGINE |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 29 | select CRYPTO_LIB_DES |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 30 | help |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 31 | This enables support for the CRYP (AES/DES/TDES) hw accelerator which |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 32 | can be found on STMicroelectronics STM32 SOC. |