blob: 4a4c3284ae1f3b5de3187a2082a858c79582e187 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001# SPDX-License-Identifier: GPL-2.0-only
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002config CRYPTO_DEV_STM32_CRC
3 tristate "Support for STM32 crc accelerators"
4 depends on ARCH_STM32
5 select CRYPTO_HASH
Olivier Deprez157378f2022-04-04 15:47:50 +02006 select CRC32
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00007 help
Olivier Deprez157378f2022-04-04 15:47:50 +02008 This enables support for the CRC32 hw accelerator which can be found
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00009 on STMicroelectronics STM32 SOC.
10
11config 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 Deprez157378f2022-04-04 15:47:50 +020021 This enables support for the HASH hw accelerator which can be found
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000022 on STMicroelectronics STM32 SOC.
23
24config 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 Brazdil0f672f62019-12-10 10:32:29 +000029 select CRYPTO_LIB_DES
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000030 help
Olivier Deprez157378f2022-04-04 15:47:50 +020031 This enables support for the CRYP (AES/DES/TDES) hw accelerator which
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000032 can be found on STMicroelectronics STM32 SOC.