xref: /linux/drivers/crypto/stm32/Kconfig (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
202d9e320SCorentin Labbeconfig CRYPTO_DEV_STM32_CRC
3c35af01dSlionel.debieve@st.com	tristate "Support for STM32 crc accelerators"
4b51dbe90SFabien DESSENNE	depends on ARCH_STM32
5b51dbe90SFabien DESSENNE	select CRYPTO_HASH
6bbf2cb1eSNicolas Toromanoff	select CRC32
7b51dbe90SFabien DESSENNE	help
8b51dbe90SFabien DESSENNE	  This enables support for the CRC32 hw accelerator which can be found
9c35af01dSlionel.debieve@st.com	  on STMicroelectronics STM32 SOC.
108a1012d3Slionel.debieve@st.com
1102d9e320SCorentin Labbeconfig CRYPTO_DEV_STM32_HASH
128a1012d3Slionel.debieve@st.com	tristate "Support for STM32 hash accelerators"
13fe867538SLinus Walleij	depends on ARCH_STM32 || ARCH_U8500
148a1012d3Slionel.debieve@st.com	depends on HAS_DMA
158a1012d3Slionel.debieve@st.com	select CRYPTO_HASH
168a1012d3Slionel.debieve@st.com	select CRYPTO_MD5
178a1012d3Slionel.debieve@st.com	select CRYPTO_SHA1
188a1012d3Slionel.debieve@st.com	select CRYPTO_SHA256
19*b6248fb8SThomas Bourgoin	select CRYPTO_SHA512
20*b6248fb8SThomas Bourgoin	select CRYPTO_SHA3
218a1012d3Slionel.debieve@st.com	select CRYPTO_ENGINE
228a1012d3Slionel.debieve@st.com	help
238a1012d3Slionel.debieve@st.com	  This enables support for the HASH hw accelerator which can be found
248a1012d3Slionel.debieve@st.com	  on STMicroelectronics STM32 SOC.
259e054ec2SFabien DESSENNE
2602d9e320SCorentin Labbeconfig CRYPTO_DEV_STM32_CRYP
279e054ec2SFabien DESSENNE	tristate "Support for STM32 cryp accelerators"
28fe867538SLinus Walleij	depends on ARCH_STM32 || ARCH_U8500
299e054ec2SFabien DESSENNE	select CRYPTO_HASH
309e054ec2SFabien DESSENNE	select CRYPTO_ENGINE
3104007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
329e054ec2SFabien DESSENNE	help
339e054ec2SFabien DESSENNE	  This enables support for the CRYP (AES/DES/TDES) hw accelerator which
349e054ec2SFabien DESSENNE	  can be found on STMicroelectronics STM32 SOC.
35