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