xref: /linux/drivers/crypto/Kconfig (revision 298b4c604008025b134bc6fccbc4018449945d60)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2b511431dSJan Engelhardt
3b511431dSJan Engelhardtmenuconfig CRYPTO_HW
4b511431dSJan Engelhardt	bool "Hardware crypto devices"
5b511431dSJan Engelhardt	default y
606bfb7ebSJan Engelhardt	---help---
706bfb7ebSJan Engelhardt	  Say Y here to get to see options for hardware crypto devices and
806bfb7ebSJan Engelhardt	  processors. This option alone does not add any kernel code.
906bfb7ebSJan Engelhardt
1006bfb7ebSJan Engelhardt	  If you say N, all options in this submenu will be skipped and disabled.
11b511431dSJan Engelhardt
12b511431dSJan Engelhardtif CRYPTO_HW
131da177e4SLinus Torvalds
143914b931SCorentin Labbesource "drivers/crypto/allwinner/Kconfig"
153914b931SCorentin Labbe
161da177e4SLinus Torvaldsconfig CRYPTO_DEV_PADLOCK
17d158325eSHerbert Xu	tristate "Support for VIA PadLock ACE"
182f817418SHerbert Xu	depends on X86 && !UML
191da177e4SLinus Torvalds	help
201da177e4SLinus Torvalds	  Some VIA processors come with an integrated crypto engine
211da177e4SLinus Torvalds	  (so called VIA PadLock ACE, Advanced Cryptography Engine)
221191f0a4SMichal Ludvig	  that provides instructions for very fast cryptographic
231191f0a4SMichal Ludvig	  operations with supported algorithms.
241da177e4SLinus Torvalds
251da177e4SLinus Torvalds	  The instructions are used only when the CPU supports them.
265644bda5SMichal Ludvig	  Otherwise software encryption is used.
275644bda5SMichal Ludvig
281da177e4SLinus Torvaldsconfig CRYPTO_DEV_PADLOCK_AES
291191f0a4SMichal Ludvig	tristate "PadLock driver for AES algorithm"
301da177e4SLinus Torvalds	depends on CRYPTO_DEV_PADLOCK
31b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
328131878dSArd Biesheuvel	select CRYPTO_LIB_AES
331da177e4SLinus Torvalds	help
341da177e4SLinus Torvalds	  Use VIA PadLock for AES algorithm.
351da177e4SLinus Torvalds
361191f0a4SMichal Ludvig	  Available in VIA C3 and newer CPUs.
371191f0a4SMichal Ludvig
381191f0a4SMichal Ludvig	  If unsure say M. The compiled module will be
394737f097SPavel Machek	  called padlock-aes.
401191f0a4SMichal Ludvig
416c833275SMichal Ludvigconfig CRYPTO_DEV_PADLOCK_SHA
426c833275SMichal Ludvig	tristate "PadLock driver for SHA1 and SHA256 algorithms"
436c833275SMichal Ludvig	depends on CRYPTO_DEV_PADLOCK
44bbbee467SHerbert Xu	select CRYPTO_HASH
456c833275SMichal Ludvig	select CRYPTO_SHA1
466c833275SMichal Ludvig	select CRYPTO_SHA256
476c833275SMichal Ludvig	help
486c833275SMichal Ludvig	  Use VIA PadLock for SHA1/SHA256 algorithms.
496c833275SMichal Ludvig
506c833275SMichal Ludvig	  Available in VIA C7 and newer processors.
516c833275SMichal Ludvig
526c833275SMichal Ludvig	  If unsure say M. The compiled module will be
534737f097SPavel Machek	  called padlock-sha.
546c833275SMichal Ludvig
559fe757b0SJordan Crouseconfig CRYPTO_DEV_GEODE
569fe757b0SJordan Crouse	tristate "Support for the Geode LX AES engine"
57f6259deaSSimon Arlott	depends on X86_32 && PCI
589fe757b0SJordan Crouse	select CRYPTO_ALGAPI
59b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
609fe757b0SJordan Crouse	help
619fe757b0SJordan Crouse	  Say 'Y' here to use the AMD Geode LX processor on-board AES
623dde6ad8SDavid Sterba	  engine for the CryptoAPI AES algorithm.
639fe757b0SJordan Crouse
649fe757b0SJordan Crouse	  To compile this driver as a module, choose M here: the module
659fe757b0SJordan Crouse	  will be called geode-aes.
669fe757b0SJordan Crouse
6761d48c2cSMartin Schwidefskyconfig ZCRYPT
68a3358e3dSHarald Freudenberger	tristate "Support for s390 cryptographic adapters"
6961d48c2cSMartin Schwidefsky	depends on S390
702f7c8bd6SRalph Wuerthner	select HW_RANDOM
7161d48c2cSMartin Schwidefsky	help
72a3358e3dSHarald Freudenberger	  Select this option if you want to enable support for
73a3358e3dSHarald Freudenberger	  s390 cryptographic adapters like:
7461d48c2cSMartin Schwidefsky	  + PCI-X Cryptographic Coprocessor (PCIXCC)
75a3358e3dSHarald Freudenberger	  + Crypto Express 2,3,4 or 5 Coprocessor (CEXxC)
76a3358e3dSHarald Freudenberger	  + Crypto Express 2,3,4 or 5 Accelerator (CEXxA)
77a3358e3dSHarald Freudenberger	  + Crypto Express 4 or 5 EP11 Coprocessor (CEXxP)
7861d48c2cSMartin Schwidefsky
7900fab235SHarald Freudenbergerconfig ZCRYPT_MULTIDEVNODES
8000fab235SHarald Freudenberger	bool "Support for multiple zcrypt device nodes"
8100fab235SHarald Freudenberger	default y
8200fab235SHarald Freudenberger	depends on S390
8300fab235SHarald Freudenberger	depends on ZCRYPT
8400fab235SHarald Freudenberger	help
8500fab235SHarald Freudenberger	  With this option enabled the zcrypt device driver can
8600fab235SHarald Freudenberger	  provide multiple devices nodes in /dev. Each device
8700fab235SHarald Freudenberger	  node can get customized to limit access and narrow
8800fab235SHarald Freudenberger	  down the use of the available crypto hardware.
8900fab235SHarald Freudenberger
90e80d4af0SHarald Freudenbergerconfig PKEY
91e80d4af0SHarald Freudenberger	tristate "Kernel API for protected key handling"
92e80d4af0SHarald Freudenberger	depends on S390
93e80d4af0SHarald Freudenberger	depends on ZCRYPT
94e80d4af0SHarald Freudenberger	help
95e80d4af0SHarald Freudenberger	  With this option enabled the pkey kernel module provides an API
96e80d4af0SHarald Freudenberger	  for creation and handling of protected keys. Other parts of the
97e80d4af0SHarald Freudenberger	  kernel or userspace applications may use these functions.
98e80d4af0SHarald Freudenberger
99e80d4af0SHarald Freudenberger	  Select this option if you want to enable the kernel and userspace
100e80d4af0SHarald Freudenberger	  API for proteced key handling.
101e80d4af0SHarald Freudenberger
102e80d4af0SHarald Freudenberger	  Please note that creation of protected keys from secure keys
103e80d4af0SHarald Freudenberger	  requires to have at least one CEX card in coprocessor mode
104e80d4af0SHarald Freudenberger	  available at runtime.
10561d48c2cSMartin Schwidefsky
106c4684f98SHarald Freudenbergerconfig CRYPTO_PAES_S390
107c4684f98SHarald Freudenberger	tristate "PAES cipher algorithms"
108c4684f98SHarald Freudenberger	depends on S390
109c4684f98SHarald Freudenberger	depends on ZCRYPT
110c4684f98SHarald Freudenberger	depends on PKEY
111c4684f98SHarald Freudenberger	select CRYPTO_ALGAPI
112b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
113c4684f98SHarald Freudenberger	help
114c4684f98SHarald Freudenberger	  This is the s390 hardware accelerated implementation of the
115c4684f98SHarald Freudenberger	  AES cipher algorithms for use with protected key.
116c4684f98SHarald Freudenberger
117c4684f98SHarald Freudenberger	  Select this option if you want to use the paes cipher
118c4684f98SHarald Freudenberger	  for example to use protected key encrypted devices.
119c4684f98SHarald Freudenberger
1203f5615e0SJan Glauberconfig CRYPTO_SHA1_S390
1213f5615e0SJan Glauber	tristate "SHA1 digest algorithm"
1223f5615e0SJan Glauber	depends on S390
123563f346dSHerbert Xu	select CRYPTO_HASH
1243f5615e0SJan Glauber	help
1253f5615e0SJan Glauber	  This is the s390 hardware accelerated implementation of the
1263f5615e0SJan Glauber	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
1273f5615e0SJan Glauber
128d393d9b8SJan Glauber	  It is available as of z990.
129d393d9b8SJan Glauber
1303f5615e0SJan Glauberconfig CRYPTO_SHA256_S390
1313f5615e0SJan Glauber	tristate "SHA256 digest algorithm"
1323f5615e0SJan Glauber	depends on S390
133563f346dSHerbert Xu	select CRYPTO_HASH
1343f5615e0SJan Glauber	help
1353f5615e0SJan Glauber	  This is the s390 hardware accelerated implementation of the
1363f5615e0SJan Glauber	  SHA256 secure hash standard (DFIPS 180-2).
1373f5615e0SJan Glauber
138d393d9b8SJan Glauber	  It is available as of z9.
1393f5615e0SJan Glauber
140291dc7c0SJan Glauberconfig CRYPTO_SHA512_S390
1414e2c6d7fSJan Glauber	tristate "SHA384 and SHA512 digest algorithm"
142291dc7c0SJan Glauber	depends on S390
143563f346dSHerbert Xu	select CRYPTO_HASH
144291dc7c0SJan Glauber	help
145291dc7c0SJan Glauber	  This is the s390 hardware accelerated implementation of the
146291dc7c0SJan Glauber	  SHA512 secure hash standard.
147291dc7c0SJan Glauber
148d393d9b8SJan Glauber	  It is available as of z10.
149291dc7c0SJan Glauber
1503c2eb6b7SJoerg Schmidbauerconfig CRYPTO_SHA3_256_S390
1513c2eb6b7SJoerg Schmidbauer	tristate "SHA3_224 and SHA3_256 digest algorithm"
1523c2eb6b7SJoerg Schmidbauer	depends on S390
1533c2eb6b7SJoerg Schmidbauer	select CRYPTO_HASH
1543c2eb6b7SJoerg Schmidbauer	help
1553c2eb6b7SJoerg Schmidbauer	  This is the s390 hardware accelerated implementation of the
1563c2eb6b7SJoerg Schmidbauer	  SHA3_256 secure hash standard.
1573c2eb6b7SJoerg Schmidbauer
1583c2eb6b7SJoerg Schmidbauer	  It is available as of z14.
1593c2eb6b7SJoerg Schmidbauer
1603c2eb6b7SJoerg Schmidbauerconfig CRYPTO_SHA3_512_S390
1613c2eb6b7SJoerg Schmidbauer	tristate "SHA3_384 and SHA3_512 digest algorithm"
1623c2eb6b7SJoerg Schmidbauer	depends on S390
1633c2eb6b7SJoerg Schmidbauer	select CRYPTO_HASH
1643c2eb6b7SJoerg Schmidbauer	help
1653c2eb6b7SJoerg Schmidbauer	  This is the s390 hardware accelerated implementation of the
1663c2eb6b7SJoerg Schmidbauer	  SHA3_512 secure hash standard.
1673c2eb6b7SJoerg Schmidbauer
1683c2eb6b7SJoerg Schmidbauer	  It is available as of z14.
1693c2eb6b7SJoerg Schmidbauer
1703f5615e0SJan Glauberconfig CRYPTO_DES_S390
1713f5615e0SJan Glauber	tristate "DES and Triple DES cipher algorithms"
1723f5615e0SJan Glauber	depends on S390
1733f5615e0SJan Glauber	select CRYPTO_ALGAPI
174b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
17504007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
1763f5615e0SJan Glauber	help
1770200f3ecSGerald Schaefer	  This is the s390 hardware accelerated implementation of the
1783f5615e0SJan Glauber	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
1793f5615e0SJan Glauber
1800200f3ecSGerald Schaefer	  As of z990 the ECB and CBC mode are hardware accelerated.
1810200f3ecSGerald Schaefer	  As of z196 the CTR mode is hardware accelerated.
1820200f3ecSGerald Schaefer
1833f5615e0SJan Glauberconfig CRYPTO_AES_S390
1843f5615e0SJan Glauber	tristate "AES cipher algorithms"
1853f5615e0SJan Glauber	depends on S390
1863f5615e0SJan Glauber	select CRYPTO_ALGAPI
187b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
1883f5615e0SJan Glauber	help
1893f5615e0SJan Glauber	  This is the s390 hardware accelerated implementation of the
19099d97222SGerald Schaefer	  AES cipher algorithms (FIPS-197).
1913f5615e0SJan Glauber
19299d97222SGerald Schaefer	  As of z9 the ECB and CBC modes are hardware accelerated
19399d97222SGerald Schaefer	  for 128 bit keys.
19499d97222SGerald Schaefer	  As of z10 the ECB and CBC modes are hardware accelerated
19599d97222SGerald Schaefer	  for all AES key sizes.
1960200f3ecSGerald Schaefer	  As of z196 the CTR mode is hardware accelerated for all AES
1970200f3ecSGerald Schaefer	  key sizes and XTS mode is hardware accelerated for 256 and
19899d97222SGerald Schaefer	  512 bit keys.
1993f5615e0SJan Glauber
2003f5615e0SJan Glauberconfig S390_PRNG
2013f5615e0SJan Glauber	tristate "Pseudo random number generator device driver"
2023f5615e0SJan Glauber	depends on S390
2033f5615e0SJan Glauber	default "m"
2043f5615e0SJan Glauber	help
2053f5615e0SJan Glauber	  Select this option if you want to use the s390 pseudo random number
2063f5615e0SJan Glauber	  generator. The PRNG is part of the cryptographic processor functions
2073f5615e0SJan Glauber	  and uses triple-DES to generate secure random numbers like the
208d393d9b8SJan Glauber	  ANSI X9.17 standard. User-space programs access the
209d393d9b8SJan Glauber	  pseudo-random-number device through the char device /dev/prandom.
210d393d9b8SJan Glauber
211d393d9b8SJan Glauber	  It is available as of z9.
2123f5615e0SJan Glauber
213df1309ceSGerald Schaeferconfig CRYPTO_GHASH_S390
2148dfa20fcSEric Biggers	tristate "GHASH hash function"
215df1309ceSGerald Schaefer	depends on S390
216df1309ceSGerald Schaefer	select CRYPTO_HASH
217df1309ceSGerald Schaefer	help
2188dfa20fcSEric Biggers	  This is the s390 hardware accelerated implementation of GHASH,
2198dfa20fcSEric Biggers	  the hash function used in GCM (Galois/Counter mode).
220df1309ceSGerald Schaefer
221df1309ceSGerald Schaefer	  It is available as of z196.
222df1309ceSGerald Schaefer
223f848dbd3SHendrik Bruecknerconfig CRYPTO_CRC32_S390
224f848dbd3SHendrik Brueckner	tristate "CRC-32 algorithms"
225f848dbd3SHendrik Brueckner	depends on S390
226f848dbd3SHendrik Brueckner	select CRYPTO_HASH
227f848dbd3SHendrik Brueckner	select CRC32
228f848dbd3SHendrik Brueckner	help
229f848dbd3SHendrik Brueckner	  Select this option if you want to use hardware accelerated
230f848dbd3SHendrik Brueckner	  implementations of CRC algorithms.  With this option, you
231f848dbd3SHendrik Brueckner	  can optimize the computation of CRC-32 (IEEE 802.3 Ethernet)
232f848dbd3SHendrik Brueckner	  and CRC-32C (Castagnoli).
233f848dbd3SHendrik Brueckner
234f848dbd3SHendrik Brueckner	  It is available with IBM z13 or later.
235f848dbd3SHendrik Brueckner
236f63601fdSBoris BREZILLONconfig CRYPTO_DEV_MARVELL_CESA
23727b43fd9SBoris BREZILLON	tristate "Marvell's Cryptographic Engine driver"
238fe55dfdcSBoris Brezillon	depends on PLAT_ORION || ARCH_MVEBU
23918d8b96dSArd Biesheuvel	select CRYPTO_LIB_AES
24004007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
241b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
242f63601fdSBoris BREZILLON	select CRYPTO_HASH
243f63601fdSBoris BREZILLON	select SRAM
244f63601fdSBoris BREZILLON	help
245f63601fdSBoris BREZILLON	  This driver allows you to utilize the Cryptographic Engines and
24627b43fd9SBoris BREZILLON	  Security Accelerator (CESA) which can be found on MVEBU and ORION
24727b43fd9SBoris BREZILLON	  platforms.
248db509a45SBoris BREZILLON	  This driver supports CPU offload through DMA transfers.
249f63601fdSBoris BREZILLON
2500a625fd2SDavid S. Millerconfig CRYPTO_DEV_NIAGARA2
2510a625fd2SDavid S. Miller       tristate "Niagara2 Stream Processing Unit driver"
25204007b0eSArd Biesheuvel       select CRYPTO_LIB_DES
253b95bba5dSEric Biggers       select CRYPTO_SKCIPHER
254596103cfSHerbert Xu       select CRYPTO_HASH
2558054b800SLABBE Corentin       select CRYPTO_MD5
2568054b800SLABBE Corentin       select CRYPTO_SHA1
2578054b800SLABBE Corentin       select CRYPTO_SHA256
2580a625fd2SDavid S. Miller       depends on SPARC64
2590a625fd2SDavid S. Miller       help
2600a625fd2SDavid S. Miller	  Each core of a Niagara2 processor contains a Stream
2610a625fd2SDavid S. Miller	  Processing Unit, which itself contains several cryptographic
2620a625fd2SDavid S. Miller	  sub-units.  One set provides the Modular Arithmetic Unit,
2630a625fd2SDavid S. Miller	  used for SSL offload.  The other set provides the Cipher
2640a625fd2SDavid S. Miller	  Group, which can perform encryption, decryption, hashing,
2650a625fd2SDavid S. Miller	  checksumming, and raw copies.
2660a625fd2SDavid S. Miller
267f7d0561eSEvgeniy Polyakovconfig CRYPTO_DEV_HIFN_795X
268f7d0561eSEvgeniy Polyakov	tristate "Driver HIFN 795x crypto accelerator chips"
26904007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
270b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
271946fef4eSHerbert Xu	select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG
2722707b937SJan Glauber	depends on PCI
27375b76625SRichard Weinberger	depends on !ARCH_DMA_ADDR_T_64BIT
274f7d0561eSEvgeniy Polyakov	help
275f7d0561eSEvgeniy Polyakov	  This option allows you to have support for HIFN 795x crypto adapters.
276f7d0561eSEvgeniy Polyakov
277946fef4eSHerbert Xuconfig CRYPTO_DEV_HIFN_795X_RNG
278946fef4eSHerbert Xu	bool "HIFN 795x random number generator"
279946fef4eSHerbert Xu	depends on CRYPTO_DEV_HIFN_795X
280946fef4eSHerbert Xu	help
281946fef4eSHerbert Xu	  Select this option if you want to enable the random number generator
282946fef4eSHerbert Xu	  on the HIFN 795x crypto adapters.
283f7d0561eSEvgeniy Polyakov
2848636a1f9SMasahiro Yamadasource "drivers/crypto/caam/Kconfig"
2858e8ec596SKim Phillips
2869c4a7965SKim Phillipsconfig CRYPTO_DEV_TALITOS
2879c4a7965SKim Phillips	tristate "Talitos Freescale Security Engine (SEC)"
288596103cfSHerbert Xu	select CRYPTO_AEAD
2899c4a7965SKim Phillips	select CRYPTO_AUTHENC
290b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
291596103cfSHerbert Xu	select CRYPTO_HASH
2929c4a7965SKim Phillips	select HW_RANDOM
2939c4a7965SKim Phillips	depends on FSL_SOC
2949c4a7965SKim Phillips	help
2959c4a7965SKim Phillips	  Say 'Y' here to use the Freescale Security Engine (SEC)
2969c4a7965SKim Phillips	  to offload cryptographic algorithm computation.
2979c4a7965SKim Phillips
2989c4a7965SKim Phillips	  The Freescale SEC is present on PowerQUICC 'E' processors, such
2999c4a7965SKim Phillips	  as the MPC8349E and MPC8548E.
3009c4a7965SKim Phillips
3019c4a7965SKim Phillips	  To compile this driver as a module, choose M here: the module
3029c4a7965SKim Phillips	  will be called talitos.
3039c4a7965SKim Phillips
3045b841a65SLEROY Christopheconfig CRYPTO_DEV_TALITOS1
3055b841a65SLEROY Christophe	bool "SEC1 (SEC 1.0 and SEC Lite 1.2)"
3065b841a65SLEROY Christophe	depends on CRYPTO_DEV_TALITOS
3075b841a65SLEROY Christophe	depends on PPC_8xx || PPC_82xx
3085b841a65SLEROY Christophe	default y
3095b841a65SLEROY Christophe	help
3105b841a65SLEROY Christophe	  Say 'Y' here to use the Freescale Security Engine (SEC) version 1.0
3115b841a65SLEROY Christophe	  found on MPC82xx or the Freescale Security Engine (SEC Lite)
3125b841a65SLEROY Christophe	  version 1.2 found on MPC8xx
3135b841a65SLEROY Christophe
3145b841a65SLEROY Christopheconfig CRYPTO_DEV_TALITOS2
3155b841a65SLEROY Christophe	bool "SEC2+ (SEC version 2.0 or upper)"
3165b841a65SLEROY Christophe	depends on CRYPTO_DEV_TALITOS
3175b841a65SLEROY Christophe	default y if !PPC_8xx
3185b841a65SLEROY Christophe	help
3195b841a65SLEROY Christophe	  Say 'Y' here to use the Freescale Security Engine (SEC)
3205b841a65SLEROY Christophe	  version 2 and following as found on MPC83xx, MPC85xx, etc ...
3215b841a65SLEROY Christophe
32281bef015SChristian Hohnstaedtconfig CRYPTO_DEV_IXP4XX
32381bef015SChristian Hohnstaedt	tristate "Driver for IXP4xx crypto hardware acceleration"
3249665c52bSKrzysztof Hałasa	depends on ARCH_IXP4XX && IXP4XX_QMGR && IXP4XX_NPE
32504007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
326596103cfSHerbert Xu	select CRYPTO_AEAD
327090657e4SImre Kaloz	select CRYPTO_AUTHENC
328b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
32981bef015SChristian Hohnstaedt	help
33081bef015SChristian Hohnstaedt	  Driver for the IXP4xx NPE crypto engine.
33181bef015SChristian Hohnstaedt
332049359d6SJames Hsiaoconfig CRYPTO_DEV_PPC4XX
333049359d6SJames Hsiao	tristate "Driver AMCC PPC4xx crypto accelerator"
334049359d6SJames Hsiao	depends on PPC && 4xx
335049359d6SJames Hsiao	select CRYPTO_HASH
336a0aae821SChristian Lamparter	select CRYPTO_AEAD
337*298b4c60SChristian Lamparter	select CRYPTO_AES
338da3e7a97SArd Biesheuvel	select CRYPTO_LIB_AES
339a0aae821SChristian Lamparter	select CRYPTO_CCM
34098e87e3dSChristian Lamparter	select CRYPTO_CTR
341a0aae821SChristian Lamparter	select CRYPTO_GCM
342b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
343049359d6SJames Hsiao	help
344049359d6SJames Hsiao	  This option allows you to have support for AMCC crypto acceleration.
345049359d6SJames Hsiao
3465343e674SChristian Lamparterconfig HW_RANDOM_PPC4XX
3475343e674SChristian Lamparter	bool "PowerPC 4xx generic true random number generator support"
3485343e674SChristian Lamparter	depends on CRYPTO_DEV_PPC4XX && HW_RANDOM
3495343e674SChristian Lamparter	default y
3505343e674SChristian Lamparter	---help---
3515343e674SChristian Lamparter	 This option provides the kernel-side support for the TRNG hardware
3525343e674SChristian Lamparter	 found in the security function of some PowerPC 4xx SoCs.
3535343e674SChristian Lamparter
35474ed87e7STero Kristoconfig CRYPTO_DEV_OMAP
35574ed87e7STero Kristo	tristate "Support for OMAP crypto HW accelerators"
35674ed87e7STero Kristo	depends on ARCH_OMAP2PLUS
35774ed87e7STero Kristo	help
35874ed87e7STero Kristo	  OMAP processors have various crypto HW accelerators. Select this if
35974ed87e7STero Kristo          you want to use the OMAP modules for any of the crypto algorithms.
36074ed87e7STero Kristo
36174ed87e7STero Kristoif CRYPTO_DEV_OMAP
36274ed87e7STero Kristo
3638628e7c8SDmitry Kasatkinconfig CRYPTO_DEV_OMAP_SHAM
364eaef7e3fSLokesh Vutla	tristate "Support for OMAP MD5/SHA1/SHA2 hw accelerator"
365eaef7e3fSLokesh Vutla	depends on ARCH_OMAP2PLUS
3668628e7c8SDmitry Kasatkin	select CRYPTO_SHA1
3678628e7c8SDmitry Kasatkin	select CRYPTO_MD5
368eaef7e3fSLokesh Vutla	select CRYPTO_SHA256
369eaef7e3fSLokesh Vutla	select CRYPTO_SHA512
370eaef7e3fSLokesh Vutla	select CRYPTO_HMAC
3718628e7c8SDmitry Kasatkin	help
372eaef7e3fSLokesh Vutla	  OMAP processors have MD5/SHA1/SHA2 hw accelerator. Select this if you
373eaef7e3fSLokesh Vutla	  want to use the OMAP module for MD5/SHA1/SHA2 algorithms.
3748628e7c8SDmitry Kasatkin
375537559a5SDmitry Kasatkinconfig CRYPTO_DEV_OMAP_AES
376537559a5SDmitry Kasatkin	tristate "Support for OMAP AES hw engine"
3771bbf6437SJoel Fernandes	depends on ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS
378537559a5SDmitry Kasatkin	select CRYPTO_AES
379b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
3800529900aSBaolin Wang	select CRYPTO_ENGINE
3819fcb191aSLokesh Vutla	select CRYPTO_CBC
3829fcb191aSLokesh Vutla	select CRYPTO_ECB
3839fcb191aSLokesh Vutla	select CRYPTO_CTR
384ad18cc9dSTero Kristo	select CRYPTO_AEAD
385537559a5SDmitry Kasatkin	help
386537559a5SDmitry Kasatkin	  OMAP processors have AES module accelerator. Select this if you
387537559a5SDmitry Kasatkin	  want to use the OMAP module for AES algorithms.
388537559a5SDmitry Kasatkin
389701d0f19SJoel Fernandesconfig CRYPTO_DEV_OMAP_DES
39097ee7ed3SPeter Meerwald	tristate "Support for OMAP DES/3DES hw engine"
391701d0f19SJoel Fernandes	depends on ARCH_OMAP2PLUS
39204007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
393b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
394f1b77aacSBaolin Wang	select CRYPTO_ENGINE
395701d0f19SJoel Fernandes	help
396701d0f19SJoel Fernandes	  OMAP processors have DES/3DES module accelerator. Select this if you
397701d0f19SJoel Fernandes	  want to use the OMAP module for DES and 3DES algorithms. Currently
39897ee7ed3SPeter Meerwald	  the ECB and CBC modes of operation are supported by the driver. Also
39997ee7ed3SPeter Meerwald	  accesses made on unaligned boundaries are supported.
400701d0f19SJoel Fernandes
40174ed87e7STero Kristoendif # CRYPTO_DEV_OMAP
40274ed87e7STero Kristo
403ce921368SJamie Ilesconfig CRYPTO_DEV_PICOXCELL
404ce921368SJamie Iles	tristate "Support for picoXcell IPSEC and Layer2 crypto engines"
4054f44d86dSJavier Martinez Canillas	depends on (ARCH_PICOXCELL || COMPILE_TEST) && HAVE_CLK
406596103cfSHerbert Xu	select CRYPTO_AEAD
407ce921368SJamie Iles	select CRYPTO_AES
408ce921368SJamie Iles	select CRYPTO_AUTHENC
409b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
41004007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
411ce921368SJamie Iles	select CRYPTO_CBC
412ce921368SJamie Iles	select CRYPTO_ECB
413ce921368SJamie Iles	select CRYPTO_SEQIV
414ce921368SJamie Iles	help
415ce921368SJamie Iles	  This option enables support for the hardware offload engines in the
416ce921368SJamie Iles	  Picochip picoXcell SoC devices. Select this for IPSEC ESP offload
417ce921368SJamie Iles	  and for 3gpp Layer 2 ciphering support.
418ce921368SJamie Iles
419309b77e0SChristophe JAILLET	  Saying m here will build a module named picoxcell_crypto.
420ce921368SJamie Iles
4215de88752SJavier Martinconfig CRYPTO_DEV_SAHARA
4225de88752SJavier Martin	tristate "Support for SAHARA crypto accelerator"
42374d24d83SPaul Bolle	depends on ARCH_MXC && OF
424b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
4255de88752SJavier Martin	select CRYPTO_AES
4265de88752SJavier Martin	select CRYPTO_ECB
4275de88752SJavier Martin	help
4285de88752SJavier Martin	  This option enables support for the SAHARA HW crypto accelerator
4295de88752SJavier Martin	  found in some Freescale i.MX chips.
4305de88752SJavier Martin
431c46ea13fSKrzysztof Kozlowskiconfig CRYPTO_DEV_EXYNOS_RNG
432c46ea13fSKrzysztof Kozlowski	tristate "EXYNOS HW pseudo random number generator support"
433c46ea13fSKrzysztof Kozlowski	depends on ARCH_EXYNOS || COMPILE_TEST
434c46ea13fSKrzysztof Kozlowski	depends on HAS_IOMEM
435c46ea13fSKrzysztof Kozlowski	select CRYPTO_RNG
436c46ea13fSKrzysztof Kozlowski	---help---
437c46ea13fSKrzysztof Kozlowski	  This driver provides kernel-side support through the
438c46ea13fSKrzysztof Kozlowski	  cryptographic API for the pseudo random number generator hardware
439c46ea13fSKrzysztof Kozlowski	  found on Exynos SoCs.
440c46ea13fSKrzysztof Kozlowski
441c46ea13fSKrzysztof Kozlowski	  To compile this driver as a module, choose M here: the
442c46ea13fSKrzysztof Kozlowski	  module will be called exynos-rng.
443c46ea13fSKrzysztof Kozlowski
444c46ea13fSKrzysztof Kozlowski	  If unsure, say Y.
445c46ea13fSKrzysztof Kozlowski
446a49e490cSVladimir Zapolskiyconfig CRYPTO_DEV_S5P
447e922e96fSNaveen Krishna Chatradhi	tristate "Support for Samsung S5PV210/Exynos crypto accelerator"
448dc1d9deeSKrzysztof Kozlowski	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
449ee1b23d1SGeert Uytterhoeven	depends on HAS_IOMEM
450a49e490cSVladimir Zapolskiy	select CRYPTO_AES
451b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
452a49e490cSVladimir Zapolskiy	help
453a49e490cSVladimir Zapolskiy	  This option allows you to have support for S5P crypto acceleration.
454e922e96fSNaveen Krishna Chatradhi	  Select this to offload Samsung S5PV210 or S5PC110, Exynos from AES
455a49e490cSVladimir Zapolskiy	  algorithms execution.
456a49e490cSVladimir Zapolskiy
457c2afad6cSKamil Koniecznyconfig CRYPTO_DEV_EXYNOS_HASH
458c2afad6cSKamil Konieczny	bool "Support for Samsung Exynos HASH accelerator"
459c2afad6cSKamil Konieczny	depends on CRYPTO_DEV_S5P
460c2afad6cSKamil Konieczny	depends on !CRYPTO_DEV_EXYNOS_RNG && CRYPTO_DEV_EXYNOS_RNG!=m
461c2afad6cSKamil Konieczny	select CRYPTO_SHA1
462c2afad6cSKamil Konieczny	select CRYPTO_MD5
463c2afad6cSKamil Konieczny	select CRYPTO_SHA256
464c2afad6cSKamil Konieczny	help
465c2afad6cSKamil Konieczny	  Select this to offload Exynos from HASH MD5/SHA1/SHA256.
466c2afad6cSKamil Konieczny	  This will select software SHA1, MD5 and SHA256 as they are
467c2afad6cSKamil Konieczny	  needed for small and zero-size messages.
468c2afad6cSKamil Konieczny	  HASH algorithms will be disabled if EXYNOS_RNG
469c2afad6cSKamil Konieczny	  is enabled due to hw conflict.
470c2afad6cSKamil Konieczny
471aef7b31cSKent Yoderconfig CRYPTO_DEV_NX
4727011a122SDan Streetman	bool "Support for IBM PowerPC Nest (NX) cryptographic acceleration"
4737011a122SDan Streetman	depends on PPC64
474aef7b31cSKent Yoder	help
4757011a122SDan Streetman	  This enables support for the NX hardware cryptographic accelerator
4767011a122SDan Streetman	  coprocessor that is in IBM PowerPC P7+ or later processors.  This
4777011a122SDan Streetman	  does not actually enable any drivers, it only allows you to select
4787011a122SDan Streetman	  which acceleration type (encryption and/or compression) to enable.
479322cacceSSeth Jennings
480322cacceSSeth Jenningsif CRYPTO_DEV_NX
481322cacceSSeth Jennings	source "drivers/crypto/nx/Kconfig"
482322cacceSSeth Jenningsendif
483aef7b31cSKent Yoder
4842789c08fSAndreas Westinconfig CRYPTO_DEV_UX500
4852789c08fSAndreas Westin	tristate "Driver for ST-Ericsson UX500 crypto hardware acceleration"
4862789c08fSAndreas Westin	depends on ARCH_U8500
4872789c08fSAndreas Westin	help
4882789c08fSAndreas Westin	  Driver for ST-Ericsson UX500 crypto engine.
4892789c08fSAndreas Westin
4902789c08fSAndreas Westinif CRYPTO_DEV_UX500
4912789c08fSAndreas Westin	source "drivers/crypto/ux500/Kconfig"
4922789c08fSAndreas Westinendif # if CRYPTO_DEV_UX500
4932789c08fSAndreas Westin
49489a82ef8SCyrille Pitchenconfig CRYPTO_DEV_ATMEL_AUTHENC
49589a82ef8SCyrille Pitchen	tristate "Support for Atmel IPSEC/SSL hw accelerator"
496ceb4afb3SArnd Bergmann	depends on ARCH_AT91 || COMPILE_TEST
49789a82ef8SCyrille Pitchen	select CRYPTO_AUTHENC
49889a82ef8SCyrille Pitchen	select CRYPTO_DEV_ATMEL_AES
49989a82ef8SCyrille Pitchen	select CRYPTO_DEV_ATMEL_SHA
50089a82ef8SCyrille Pitchen	help
50189a82ef8SCyrille Pitchen	  Some Atmel processors can combine the AES and SHA hw accelerators
50289a82ef8SCyrille Pitchen	  to enhance support of IPSEC/SSL.
50389a82ef8SCyrille Pitchen	  Select this if you want to use the Atmel modules for
50489a82ef8SCyrille Pitchen	  authenc(hmac(shaX),Y(cbc)) algorithms.
50589a82ef8SCyrille Pitchen
506bd3c7b5cSNicolas Royerconfig CRYPTO_DEV_ATMEL_AES
507bd3c7b5cSNicolas Royer	tristate "Support for Atmel AES hw accelerator"
508ceb4afb3SArnd Bergmann	depends on ARCH_AT91 || COMPILE_TEST
509bd3c7b5cSNicolas Royer	select CRYPTO_AES
510d4419548SCyrille Pitchen	select CRYPTO_AEAD
511b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
512bd3c7b5cSNicolas Royer	help
513bd3c7b5cSNicolas Royer	  Some Atmel processors have AES hw accelerator.
514bd3c7b5cSNicolas Royer	  Select this if you want to use the Atmel module for
515bd3c7b5cSNicolas Royer	  AES algorithms.
516bd3c7b5cSNicolas Royer
517bd3c7b5cSNicolas Royer	  To compile this driver as a module, choose M here: the module
518bd3c7b5cSNicolas Royer	  will be called atmel-aes.
519bd3c7b5cSNicolas Royer
52013802005SNicolas Royerconfig CRYPTO_DEV_ATMEL_TDES
52113802005SNicolas Royer	tristate "Support for Atmel DES/TDES hw accelerator"
522ceb4afb3SArnd Bergmann	depends on ARCH_AT91 || COMPILE_TEST
52304007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
524b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
52513802005SNicolas Royer	help
52613802005SNicolas Royer	  Some Atmel processors have DES/TDES hw accelerator.
52713802005SNicolas Royer	  Select this if you want to use the Atmel module for
52813802005SNicolas Royer	  DES/TDES algorithms.
52913802005SNicolas Royer
53013802005SNicolas Royer	  To compile this driver as a module, choose M here: the module
53113802005SNicolas Royer	  will be called atmel-tdes.
53213802005SNicolas Royer
533ebc82efaSNicolas Royerconfig CRYPTO_DEV_ATMEL_SHA
534d4905b38SNicolas Royer	tristate "Support for Atmel SHA hw accelerator"
535ceb4afb3SArnd Bergmann	depends on ARCH_AT91 || COMPILE_TEST
536596103cfSHerbert Xu	select CRYPTO_HASH
537ebc82efaSNicolas Royer	help
538d4905b38SNicolas Royer	  Some Atmel processors have SHA1/SHA224/SHA256/SHA384/SHA512
539d4905b38SNicolas Royer	  hw accelerator.
540ebc82efaSNicolas Royer	  Select this if you want to use the Atmel module for
541d4905b38SNicolas Royer	  SHA1/SHA224/SHA256/SHA384/SHA512 algorithms.
542ebc82efaSNicolas Royer
543ebc82efaSNicolas Royer	  To compile this driver as a module, choose M here: the module
544ebc82efaSNicolas Royer	  will be called atmel-sha.
545ebc82efaSNicolas Royer
546c34a3201SArd Biesheuvelconfig CRYPTO_DEV_ATMEL_I2C
547c34a3201SArd Biesheuvel	tristate
548c34a3201SArd Biesheuvel
54911105693STudor-Dan Ambarusconfig CRYPTO_DEV_ATMEL_ECC
55011105693STudor-Dan Ambarus	tristate "Support for Microchip / Atmel ECC hw accelerator"
55111105693STudor-Dan Ambarus	depends on I2C
552c34a3201SArd Biesheuvel	select CRYPTO_DEV_ATMEL_I2C
55311105693STudor-Dan Ambarus	select CRYPTO_ECDH
55411105693STudor-Dan Ambarus	select CRC16
55511105693STudor-Dan Ambarus	help
55611105693STudor-Dan Ambarus	  Microhip / Atmel ECC hw accelerator.
55711105693STudor-Dan Ambarus	  Select this if you want to use the Microchip / Atmel module for
55811105693STudor-Dan Ambarus	  ECDH algorithm.
55911105693STudor-Dan Ambarus
56011105693STudor-Dan Ambarus	  To compile this driver as a module, choose M here: the module
56111105693STudor-Dan Ambarus	  will be called atmel-ecc.
56211105693STudor-Dan Ambarus
563da001fb6SArd Biesheuvelconfig CRYPTO_DEV_ATMEL_SHA204A
564da001fb6SArd Biesheuvel	tristate "Support for Microchip / Atmel SHA accelerator and RNG"
565da001fb6SArd Biesheuvel	depends on I2C
566da001fb6SArd Biesheuvel	select CRYPTO_DEV_ATMEL_I2C
567da001fb6SArd Biesheuvel	select HW_RANDOM
5684bb02dbdSYueHaibing	select CRC16
569da001fb6SArd Biesheuvel	help
570da001fb6SArd Biesheuvel	  Microhip / Atmel SHA accelerator and RNG.
571da001fb6SArd Biesheuvel	  Select this if you want to use the Microchip / Atmel SHA204A
572da001fb6SArd Biesheuvel	  module as a random number generator. (Other functions of the
573da001fb6SArd Biesheuvel	  chip are currently not exposed by this driver)
574da001fb6SArd Biesheuvel
575da001fb6SArd Biesheuvel	  To compile this driver as a module, choose M here: the module
576da001fb6SArd Biesheuvel	  will be called atmel-sha204a.
577da001fb6SArd Biesheuvel
578f1147660STom Lendackyconfig CRYPTO_DEV_CCP
579720419f0SBrijesh Singh	bool "Support for AMD Secure Processor"
5806c506343STom Lendacky	depends on ((X86 && PCI) || (ARM64 && (OF_ADDRESS || ACPI))) && HAS_IOMEM
581f1147660STom Lendacky	help
582720419f0SBrijesh Singh	  The AMD Secure Processor provides support for the Cryptographic Coprocessor
583720419f0SBrijesh Singh	  (CCP) and the Platform Security Processor (PSP) devices.
584f1147660STom Lendacky
585f1147660STom Lendackyif CRYPTO_DEV_CCP
586f1147660STom Lendacky	source "drivers/crypto/ccp/Kconfig"
587f1147660STom Lendackyendif
588f1147660STom Lendacky
58915b59e7cSMarek Vasutconfig CRYPTO_DEV_MXS_DCP
59015b59e7cSMarek Vasut	tristate "Support for Freescale MXS DCP"
591a2712e6cSFabio Estevam	depends on (ARCH_MXS || ARCH_MXC)
592dc97fa02SArnd Bergmann	select STMP_DEVICE
59315b59e7cSMarek Vasut	select CRYPTO_CBC
59415b59e7cSMarek Vasut	select CRYPTO_ECB
59515b59e7cSMarek Vasut	select CRYPTO_AES
596b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
597596103cfSHerbert Xu	select CRYPTO_HASH
59815b59e7cSMarek Vasut	help
59915b59e7cSMarek Vasut	  The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB
60015b59e7cSMarek Vasut	  co-processor on the die.
60115b59e7cSMarek Vasut
60215b59e7cSMarek Vasut	  To compile this driver as a module, choose M here: the module
60315b59e7cSMarek Vasut	  will be called mxs-dcp.
60415b59e7cSMarek Vasut
605cea4001aSTadeusz Struksource "drivers/crypto/qat/Kconfig"
60662ad8b5cSGeorge Cheriansource "drivers/crypto/cavium/cpt/Kconfig"
60714fa93cdSSrikanth Jampalasource "drivers/crypto/cavium/nitrox/Kconfig"
608c672752dSStanimir Varbanov
609640035a2SMahipal Challaconfig CRYPTO_DEV_CAVIUM_ZIP
610640035a2SMahipal Challa	tristate "Cavium ZIP driver"
611640035a2SMahipal Challa	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
612640035a2SMahipal Challa	---help---
613640035a2SMahipal Challa	  Select this option if you want to enable compression/decompression
614640035a2SMahipal Challa	  acceleration on Cavium's ARM based SoCs
615640035a2SMahipal Challa
616c672752dSStanimir Varbanovconfig CRYPTO_DEV_QCE
617c672752dSStanimir Varbanov	tristate "Qualcomm crypto engine accelerator"
618ee1b23d1SGeert Uytterhoeven	depends on ARCH_QCOM || COMPILE_TEST
619ee1b23d1SGeert Uytterhoeven	depends on HAS_IOMEM
620c672752dSStanimir Varbanov	select CRYPTO_AES
62104007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
622c672752dSStanimir Varbanov	select CRYPTO_ECB
623c672752dSStanimir Varbanov	select CRYPTO_CBC
624c672752dSStanimir Varbanov	select CRYPTO_XTS
625c672752dSStanimir Varbanov	select CRYPTO_CTR
626b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
627c672752dSStanimir Varbanov	help
628c672752dSStanimir Varbanov	  This driver supports Qualcomm crypto engine accelerator
629c672752dSStanimir Varbanov	  hardware. To compile this driver as a module, choose M here. The
630c672752dSStanimir Varbanov	  module will be called qcrypto.
631c672752dSStanimir Varbanov
632ceec5f5bSVinod Koulconfig CRYPTO_DEV_QCOM_RNG
633ceec5f5bSVinod Koul	tristate "Qualcomm Random Number Generator Driver"
634ceec5f5bSVinod Koul	depends on ARCH_QCOM || COMPILE_TEST
635ceec5f5bSVinod Koul	select CRYPTO_RNG
636ceec5f5bSVinod Koul	help
637ceec5f5bSVinod Koul	  This driver provides support for the Random Number
638ceec5f5bSVinod Koul	  Generator hardware found on Qualcomm SoCs.
639ceec5f5bSVinod Koul
640ceec5f5bSVinod Koul	  To compile this driver as a module, choose M here. The
641ceec5f5bSVinod Koul          module will be called qcom-rng. If unsure, say N.
642ceec5f5bSVinod Koul
643d2e3ae6fSLeonidas S. Barbosaconfig CRYPTO_DEV_VMX
644d2e3ae6fSLeonidas S. Barbosa	bool "Support for VMX cryptographic acceleration instructions"
645f1ab4287SMichael Ellerman	depends on PPC64 && VSX
646d2e3ae6fSLeonidas S. Barbosa	help
647d2e3ae6fSLeonidas S. Barbosa	  Support for VMX cryptographic acceleration instructions.
648d2e3ae6fSLeonidas S. Barbosa
649d2e3ae6fSLeonidas S. Barbosasource "drivers/crypto/vmx/Kconfig"
650d2e3ae6fSLeonidas S. Barbosa
651d358f1abSJames Hartleyconfig CRYPTO_DEV_IMGTEC_HASH
652d358f1abSJames Hartley	tristate "Imagination Technologies hardware hash accelerator"
6538c98ebd7SGeert Uytterhoeven	depends on MIPS || COMPILE_TEST
654d358f1abSJames Hartley	select CRYPTO_MD5
655d358f1abSJames Hartley	select CRYPTO_SHA1
656d358f1abSJames Hartley	select CRYPTO_SHA256
657d358f1abSJames Hartley	select CRYPTO_HASH
658d358f1abSJames Hartley	help
659d358f1abSJames Hartley	  This driver interfaces with the Imagination Technologies
660d358f1abSJames Hartley	  hardware hash accelerator. Supporting MD5/SHA1/SHA224/SHA256
661d358f1abSJames Hartley	  hashing algorithms.
662d358f1abSJames Hartley
663433cd2c6SZain Wangconfig CRYPTO_DEV_ROCKCHIP
664433cd2c6SZain Wang	tristate "Rockchip's Cryptographic Engine driver"
665433cd2c6SZain Wang	depends on OF && ARCH_ROCKCHIP
666433cd2c6SZain Wang	select CRYPTO_AES
66704007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
668bfd927ffSZain Wang	select CRYPTO_MD5
669bfd927ffSZain Wang	select CRYPTO_SHA1
670bfd927ffSZain Wang	select CRYPTO_SHA256
671bfd927ffSZain Wang	select CRYPTO_HASH
672b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
673433cd2c6SZain Wang
674433cd2c6SZain Wang	help
675433cd2c6SZain Wang	  This driver interfaces with the hardware crypto accelerator.
676433cd2c6SZain Wang	  Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode.
677433cd2c6SZain Wang
678785e5c61SRyder Leeconfig CRYPTO_DEV_MEDIATEK
679785e5c61SRyder Lee	tristate "MediaTek's EIP97 Cryptographic Engine driver"
6807dee9f61SArnd Bergmann	depends on (ARM && ARCH_MEDIATEK) || COMPILE_TEST
681785e5c61SRyder Lee	select CRYPTO_AES
682d03f7b0dSRyder Lee	select CRYPTO_AEAD
683b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
684d03f7b0dSRyder Lee	select CRYPTO_CTR
6857dee9f61SArnd Bergmann	select CRYPTO_SHA1
6867dee9f61SArnd Bergmann	select CRYPTO_SHA256
6877dee9f61SArnd Bergmann	select CRYPTO_SHA512
688785e5c61SRyder Lee	select CRYPTO_HMAC
689785e5c61SRyder Lee	help
690785e5c61SRyder Lee	  This driver allows you to utilize the hardware crypto accelerator
691785e5c61SRyder Lee	  EIP97 which can be found on the MT7623 MT2701, MT8521p, etc ....
692785e5c61SRyder Lee	  Select this if you want to use it for AES/SHA1/SHA2 algorithms.
693785e5c61SRyder Lee
69402038fd6SHariprasad Shenaisource "drivers/crypto/chelsio/Kconfig"
69502038fd6SHariprasad Shenai
696dbaf0624SGongleisource "drivers/crypto/virtio/Kconfig"
697dbaf0624SGonglei
6989d12ba86SRob Riceconfig CRYPTO_DEV_BCM_SPU
6999d12ba86SRob Rice	tristate "Broadcom symmetric crypto/hash acceleration support"
7009d12ba86SRob Rice	depends on ARCH_BCM_IPROC
701efc856edSraveendra padasalagi	depends on MAILBOX
7029d12ba86SRob Rice	default m
703ab57b335SEric Biggers	select CRYPTO_AUTHENC
70404007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
7059d12ba86SRob Rice	select CRYPTO_MD5
7069d12ba86SRob Rice	select CRYPTO_SHA1
7079d12ba86SRob Rice	select CRYPTO_SHA256
7089d12ba86SRob Rice	select CRYPTO_SHA512
7099d12ba86SRob Rice	help
7109d12ba86SRob Rice	  This driver provides support for Broadcom crypto acceleration using the
7119d12ba86SRob Rice	  Secure Processing Unit (SPU). The SPU driver registers ablkcipher,
7129d12ba86SRob Rice	  ahash, and aead algorithms with the kernel cryptographic API.
7139d12ba86SRob Rice
714b51dbe90SFabien DESSENNEsource "drivers/crypto/stm32/Kconfig"
715b51dbe90SFabien DESSENNE
7161b44c5a6SAntoine Ténartconfig CRYPTO_DEV_SAFEXCEL
7171b44c5a6SAntoine Ténart	tristate "Inside Secure's SafeXcel cryptographic engine driver"
7180f6e5c82SPascal van Leeuwen	depends on OF || PCI || COMPILE_TEST
719363a90c2SArd Biesheuvel	select CRYPTO_LIB_AES
720f6beaea3SAntoine Tenart	select CRYPTO_AUTHENC
721b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
72204007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
7231b44c5a6SAntoine Ténart	select CRYPTO_HASH
7241b44c5a6SAntoine Ténart	select CRYPTO_HMAC
725293f89cfSOfer Heifetz	select CRYPTO_MD5
7261b44c5a6SAntoine Ténart	select CRYPTO_SHA1
7271b44c5a6SAntoine Ténart	select CRYPTO_SHA256
7281b44c5a6SAntoine Ténart	select CRYPTO_SHA512
729fc0f82b1SPascal van Leeuwen	select CRYPTO_CHACHA20POLY1305
7301d448f27SPascal van Leeuwen	select CRYPTO_SHA3
7311b44c5a6SAntoine Ténart	help
7320f6e5c82SPascal van Leeuwen	  This driver interfaces with the SafeXcel EIP-97 and EIP-197 cryptographic
7330f6e5c82SPascal van Leeuwen	  engines designed by Inside Secure. It currently accelerates DES, 3DES and
7340f6e5c82SPascal van Leeuwen	  AES block ciphers in ECB and CBC mode, as well as SHA1, SHA224, SHA256,
7350f6e5c82SPascal van Leeuwen	  SHA384 and SHA512 hash algorithms for both basic hash and HMAC.
7360f6e5c82SPascal van Leeuwen	  Additionally, it accelerates combined AES-CBC/HMAC-SHA AEAD operations.
7371b44c5a6SAntoine Ténart
738a21eb94fSLars Perssonconfig CRYPTO_DEV_ARTPEC6
739a21eb94fSLars Persson	tristate "Support for Axis ARTPEC-6/7 hardware crypto acceleration."
740a21eb94fSLars Persson	depends on ARM && (ARCH_ARTPEC || COMPILE_TEST)
741a21eb94fSLars Persson	depends on OF
742a21eb94fSLars Persson	select CRYPTO_AEAD
743a21eb94fSLars Persson	select CRYPTO_AES
744a21eb94fSLars Persson	select CRYPTO_ALGAPI
745b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
746a21eb94fSLars Persson	select CRYPTO_CTR
747a21eb94fSLars Persson	select CRYPTO_HASH
748a21eb94fSLars Persson	select CRYPTO_SHA1
749a21eb94fSLars Persson	select CRYPTO_SHA256
750a21eb94fSLars Persson	select CRYPTO_SHA512
751a21eb94fSLars Persson	help
752a21eb94fSLars Persson	  Enables the driver for the on-chip crypto accelerator
753a21eb94fSLars Persson	  of Axis ARTPEC SoCs.
754a21eb94fSLars Persson
755a21eb94fSLars Persson	  To compile this driver as a module, choose M here.
756a21eb94fSLars Persson
7574c3f9727SGilad Ben-Yossefconfig CRYPTO_DEV_CCREE
7584c3f9727SGilad Ben-Yossef	tristate "Support for ARM TrustZone CryptoCell family of security processors"
7594c3f9727SGilad Ben-Yossef	depends on CRYPTO && CRYPTO_HW && OF && HAS_DMA
7604c3f9727SGilad Ben-Yossef	default n
7614c3f9727SGilad Ben-Yossef	select CRYPTO_HASH
762b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
76304007b0eSArd Biesheuvel	select CRYPTO_LIB_DES
7644c3f9727SGilad Ben-Yossef	select CRYPTO_AEAD
7654c3f9727SGilad Ben-Yossef	select CRYPTO_AUTHENC
7664c3f9727SGilad Ben-Yossef	select CRYPTO_SHA1
7674c3f9727SGilad Ben-Yossef	select CRYPTO_MD5
7684c3f9727SGilad Ben-Yossef	select CRYPTO_SHA256
7694c3f9727SGilad Ben-Yossef	select CRYPTO_SHA512
7704c3f9727SGilad Ben-Yossef	select CRYPTO_HMAC
7714c3f9727SGilad Ben-Yossef	select CRYPTO_AES
7724c3f9727SGilad Ben-Yossef	select CRYPTO_CBC
7734c3f9727SGilad Ben-Yossef	select CRYPTO_ECB
7744c3f9727SGilad Ben-Yossef	select CRYPTO_CTR
7754c3f9727SGilad Ben-Yossef	select CRYPTO_XTS
7769b8d51f8SGilad Ben-Yossef	select CRYPTO_SM4
777927574e0SYael Chemla	select CRYPTO_SM3
7784c3f9727SGilad Ben-Yossef	help
77927b3b22dSGilad Ben-Yossef	  Say 'Y' to enable a driver for the REE interface of the Arm
78027b3b22dSGilad Ben-Yossef	  TrustZone CryptoCell family of processors. Currently the
7811c876a90SGilad Ben-Yossef	  CryptoCell 713, 703, 712, 710 and 630 are supported.
7824c3f9727SGilad Ben-Yossef	  Choose this if you wish to use hardware acceleration of
7834c3f9727SGilad Ben-Yossef	  cryptographic operations on the system REE.
7844c3f9727SGilad Ben-Yossef	  If unsure say Y.
7854c3f9727SGilad Ben-Yossef
786915e4e84SJonathan Cameronsource "drivers/crypto/hisilicon/Kconfig"
787915e4e84SJonathan Cameron
78848fe583fSCorentin Labbesource "drivers/crypto/amlogic/Kconfig"
78948fe583fSCorentin Labbe
790b511431dSJan Engelhardtendif # CRYPTO_HW
791