dt-bindings: reset: imx7: Fix the spelling of 'indices'
[sfrench/cifs-2.6.git] / drivers / crypto / Kconfig
1
2 menuconfig CRYPTO_HW
3         bool "Hardware crypto devices"
4         default y
5         ---help---
6           Say Y here to get to see options for hardware crypto devices and
7           processors. This option alone does not add any kernel code.
8
9           If you say N, all options in this submenu will be skipped and disabled.
10
11 if CRYPTO_HW
12
13 config CRYPTO_DEV_PADLOCK
14         tristate "Support for VIA PadLock ACE"
15         depends on X86 && !UML
16         help
17           Some VIA processors come with an integrated crypto engine
18           (so called VIA PadLock ACE, Advanced Cryptography Engine)
19           that provides instructions for very fast cryptographic
20           operations with supported algorithms.
21           
22           The instructions are used only when the CPU supports them.
23           Otherwise software encryption is used.
24
25 config CRYPTO_DEV_PADLOCK_AES
26         tristate "PadLock driver for AES algorithm"
27         depends on CRYPTO_DEV_PADLOCK
28         select CRYPTO_BLKCIPHER
29         select CRYPTO_AES
30         help
31           Use VIA PadLock for AES algorithm.
32
33           Available in VIA C3 and newer CPUs.
34
35           If unsure say M. The compiled module will be
36           called padlock-aes.
37
38 config CRYPTO_DEV_PADLOCK_SHA
39         tristate "PadLock driver for SHA1 and SHA256 algorithms"
40         depends on CRYPTO_DEV_PADLOCK
41         select CRYPTO_HASH
42         select CRYPTO_SHA1
43         select CRYPTO_SHA256
44         help
45           Use VIA PadLock for SHA1/SHA256 algorithms.
46
47           Available in VIA C7 and newer processors.
48
49           If unsure say M. The compiled module will be
50           called padlock-sha.
51
52 config CRYPTO_DEV_GEODE
53         tristate "Support for the Geode LX AES engine"
54         depends on X86_32 && PCI
55         select CRYPTO_ALGAPI
56         select CRYPTO_BLKCIPHER
57         help
58           Say 'Y' here to use the AMD Geode LX processor on-board AES
59           engine for the CryptoAPI AES algorithm.
60
61           To compile this driver as a module, choose M here: the module
62           will be called geode-aes.
63
64 config ZCRYPT
65         tristate "Support for s390 cryptographic adapters"
66         depends on S390
67         select HW_RANDOM
68         help
69           Select this option if you want to enable support for
70           s390 cryptographic adapters like:
71           + PCI-X Cryptographic Coprocessor (PCIXCC)
72           + Crypto Express 2,3,4 or 5 Coprocessor (CEXxC)
73           + Crypto Express 2,3,4 or 5 Accelerator (CEXxA)
74           + Crypto Express 4 or 5 EP11 Coprocessor (CEXxP)
75
76 config ZCRYPT_MULTIDEVNODES
77         bool "Support for multiple zcrypt device nodes"
78         default y
79         depends on S390
80         depends on ZCRYPT
81         help
82           With this option enabled the zcrypt device driver can
83           provide multiple devices nodes in /dev. Each device
84           node can get customized to limit access and narrow
85           down the use of the available crypto hardware.
86
87 config PKEY
88         tristate "Kernel API for protected key handling"
89         depends on S390
90         depends on ZCRYPT
91         help
92           With this option enabled the pkey kernel module provides an API
93           for creation and handling of protected keys. Other parts of the
94           kernel or userspace applications may use these functions.
95
96           Select this option if you want to enable the kernel and userspace
97           API for proteced key handling.
98
99           Please note that creation of protected keys from secure keys
100           requires to have at least one CEX card in coprocessor mode
101           available at runtime.
102
103 config CRYPTO_PAES_S390
104         tristate "PAES cipher algorithms"
105         depends on S390
106         depends on ZCRYPT
107         depends on PKEY
108         select CRYPTO_ALGAPI
109         select CRYPTO_BLKCIPHER
110         help
111           This is the s390 hardware accelerated implementation of the
112           AES cipher algorithms for use with protected key.
113
114           Select this option if you want to use the paes cipher
115           for example to use protected key encrypted devices.
116
117 config CRYPTO_SHA1_S390
118         tristate "SHA1 digest algorithm"
119         depends on S390
120         select CRYPTO_HASH
121         help
122           This is the s390 hardware accelerated implementation of the
123           SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
124
125           It is available as of z990.
126
127 config CRYPTO_SHA256_S390
128         tristate "SHA256 digest algorithm"
129         depends on S390
130         select CRYPTO_HASH
131         help
132           This is the s390 hardware accelerated implementation of the
133           SHA256 secure hash standard (DFIPS 180-2).
134
135           It is available as of z9.
136
137 config CRYPTO_SHA512_S390
138         tristate "SHA384 and SHA512 digest algorithm"
139         depends on S390
140         select CRYPTO_HASH
141         help
142           This is the s390 hardware accelerated implementation of the
143           SHA512 secure hash standard.
144
145           It is available as of z10.
146
147 config CRYPTO_DES_S390
148         tristate "DES and Triple DES cipher algorithms"
149         depends on S390
150         select CRYPTO_ALGAPI
151         select CRYPTO_BLKCIPHER
152         select CRYPTO_DES
153         help
154           This is the s390 hardware accelerated implementation of the
155           DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
156
157           As of z990 the ECB and CBC mode are hardware accelerated.
158           As of z196 the CTR mode is hardware accelerated.
159
160 config CRYPTO_AES_S390
161         tristate "AES cipher algorithms"
162         depends on S390
163         select CRYPTO_ALGAPI
164         select CRYPTO_BLKCIPHER
165         help
166           This is the s390 hardware accelerated implementation of the
167           AES cipher algorithms (FIPS-197).
168
169           As of z9 the ECB and CBC modes are hardware accelerated
170           for 128 bit keys.
171           As of z10 the ECB and CBC modes are hardware accelerated
172           for all AES key sizes.
173           As of z196 the CTR mode is hardware accelerated for all AES
174           key sizes and XTS mode is hardware accelerated for 256 and
175           512 bit keys.
176
177 config S390_PRNG
178         tristate "Pseudo random number generator device driver"
179         depends on S390
180         default "m"
181         help
182           Select this option if you want to use the s390 pseudo random number
183           generator. The PRNG is part of the cryptographic processor functions
184           and uses triple-DES to generate secure random numbers like the
185           ANSI X9.17 standard. User-space programs access the
186           pseudo-random-number device through the char device /dev/prandom.
187
188           It is available as of z9.
189
190 config CRYPTO_GHASH_S390
191         tristate "GHASH digest algorithm"
192         depends on S390
193         select CRYPTO_HASH
194         help
195           This is the s390 hardware accelerated implementation of the
196           GHASH message digest algorithm for GCM (Galois/Counter Mode).
197
198           It is available as of z196.
199
200 config CRYPTO_CRC32_S390
201         tristate "CRC-32 algorithms"
202         depends on S390
203         select CRYPTO_HASH
204         select CRC32
205         help
206           Select this option if you want to use hardware accelerated
207           implementations of CRC algorithms.  With this option, you
208           can optimize the computation of CRC-32 (IEEE 802.3 Ethernet)
209           and CRC-32C (Castagnoli).
210
211           It is available with IBM z13 or later.
212
213 config CRYPTO_DEV_MARVELL_CESA
214         tristate "Marvell's Cryptographic Engine driver"
215         depends on PLAT_ORION || ARCH_MVEBU
216         select CRYPTO_AES
217         select CRYPTO_DES
218         select CRYPTO_BLKCIPHER
219         select CRYPTO_HASH
220         select SRAM
221         help
222           This driver allows you to utilize the Cryptographic Engines and
223           Security Accelerator (CESA) which can be found on MVEBU and ORION
224           platforms.
225           This driver supports CPU offload through DMA transfers.
226
227 config CRYPTO_DEV_NIAGARA2
228        tristate "Niagara2 Stream Processing Unit driver"
229        select CRYPTO_DES
230        select CRYPTO_BLKCIPHER
231        select CRYPTO_HASH
232        select CRYPTO_MD5
233        select CRYPTO_SHA1
234        select CRYPTO_SHA256
235        depends on SPARC64
236        help
237           Each core of a Niagara2 processor contains a Stream
238           Processing Unit, which itself contains several cryptographic
239           sub-units.  One set provides the Modular Arithmetic Unit,
240           used for SSL offload.  The other set provides the Cipher
241           Group, which can perform encryption, decryption, hashing,
242           checksumming, and raw copies.
243
244 config CRYPTO_DEV_HIFN_795X
245         tristate "Driver HIFN 795x crypto accelerator chips"
246         select CRYPTO_DES
247         select CRYPTO_BLKCIPHER
248         select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG
249         depends on PCI
250         depends on !ARCH_DMA_ADDR_T_64BIT
251         help
252           This option allows you to have support for HIFN 795x crypto adapters.
253
254 config CRYPTO_DEV_HIFN_795X_RNG
255         bool "HIFN 795x random number generator"
256         depends on CRYPTO_DEV_HIFN_795X
257         help
258           Select this option if you want to enable the random number generator
259           on the HIFN 795x crypto adapters.
260
261 source "drivers/crypto/caam/Kconfig"
262
263 config CRYPTO_DEV_TALITOS
264         tristate "Talitos Freescale Security Engine (SEC)"
265         select CRYPTO_AEAD
266         select CRYPTO_AUTHENC
267         select CRYPTO_BLKCIPHER
268         select CRYPTO_HASH
269         select HW_RANDOM
270         depends on FSL_SOC
271         help
272           Say 'Y' here to use the Freescale Security Engine (SEC)
273           to offload cryptographic algorithm computation.
274
275           The Freescale SEC is present on PowerQUICC 'E' processors, such
276           as the MPC8349E and MPC8548E.
277
278           To compile this driver as a module, choose M here: the module
279           will be called talitos.
280
281 config CRYPTO_DEV_TALITOS1
282         bool "SEC1 (SEC 1.0 and SEC Lite 1.2)"
283         depends on CRYPTO_DEV_TALITOS
284         depends on PPC_8xx || PPC_82xx
285         default y
286         help
287           Say 'Y' here to use the Freescale Security Engine (SEC) version 1.0
288           found on MPC82xx or the Freescale Security Engine (SEC Lite)
289           version 1.2 found on MPC8xx
290
291 config CRYPTO_DEV_TALITOS2
292         bool "SEC2+ (SEC version 2.0 or upper)"
293         depends on CRYPTO_DEV_TALITOS
294         default y if !PPC_8xx
295         help
296           Say 'Y' here to use the Freescale Security Engine (SEC)
297           version 2 and following as found on MPC83xx, MPC85xx, etc ...
298
299 config CRYPTO_DEV_IXP4XX
300         tristate "Driver for IXP4xx crypto hardware acceleration"
301         depends on ARCH_IXP4XX && IXP4XX_QMGR && IXP4XX_NPE
302         select CRYPTO_DES
303         select CRYPTO_AEAD
304         select CRYPTO_AUTHENC
305         select CRYPTO_BLKCIPHER
306         help
307           Driver for the IXP4xx NPE crypto engine.
308
309 config CRYPTO_DEV_PPC4XX
310         tristate "Driver AMCC PPC4xx crypto accelerator"
311         depends on PPC && 4xx
312         select CRYPTO_HASH
313         select CRYPTO_AEAD
314         select CRYPTO_AES
315         select CRYPTO_CCM
316         select CRYPTO_CTR
317         select CRYPTO_GCM
318         select CRYPTO_BLKCIPHER
319         help
320           This option allows you to have support for AMCC crypto acceleration.
321
322 config HW_RANDOM_PPC4XX
323         bool "PowerPC 4xx generic true random number generator support"
324         depends on CRYPTO_DEV_PPC4XX && HW_RANDOM
325         default y
326         ---help---
327          This option provides the kernel-side support for the TRNG hardware
328          found in the security function of some PowerPC 4xx SoCs.
329
330 config CRYPTO_DEV_OMAP
331         tristate "Support for OMAP crypto HW accelerators"
332         depends on ARCH_OMAP2PLUS
333         help
334           OMAP processors have various crypto HW accelerators. Select this if
335           you want to use the OMAP modules for any of the crypto algorithms.
336
337 if CRYPTO_DEV_OMAP
338
339 config CRYPTO_DEV_OMAP_SHAM
340         tristate "Support for OMAP MD5/SHA1/SHA2 hw accelerator"
341         depends on ARCH_OMAP2PLUS
342         select CRYPTO_SHA1
343         select CRYPTO_MD5
344         select CRYPTO_SHA256
345         select CRYPTO_SHA512
346         select CRYPTO_HMAC
347         help
348           OMAP processors have MD5/SHA1/SHA2 hw accelerator. Select this if you
349           want to use the OMAP module for MD5/SHA1/SHA2 algorithms.
350
351 config CRYPTO_DEV_OMAP_AES
352         tristate "Support for OMAP AES hw engine"
353         depends on ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS
354         select CRYPTO_AES
355         select CRYPTO_BLKCIPHER
356         select CRYPTO_ENGINE
357         select CRYPTO_CBC
358         select CRYPTO_ECB
359         select CRYPTO_CTR
360         select CRYPTO_AEAD
361         help
362           OMAP processors have AES module accelerator. Select this if you
363           want to use the OMAP module for AES algorithms.
364
365 config CRYPTO_DEV_OMAP_DES
366         tristate "Support for OMAP DES/3DES hw engine"
367         depends on ARCH_OMAP2PLUS
368         select CRYPTO_DES
369         select CRYPTO_BLKCIPHER
370         select CRYPTO_ENGINE
371         help
372           OMAP processors have DES/3DES module accelerator. Select this if you
373           want to use the OMAP module for DES and 3DES algorithms. Currently
374           the ECB and CBC modes of operation are supported by the driver. Also
375           accesses made on unaligned boundaries are supported.
376
377 endif # CRYPTO_DEV_OMAP
378
379 config CRYPTO_DEV_PICOXCELL
380         tristate "Support for picoXcell IPSEC and Layer2 crypto engines"
381         depends on (ARCH_PICOXCELL || COMPILE_TEST) && HAVE_CLK
382         select CRYPTO_AEAD
383         select CRYPTO_AES
384         select CRYPTO_AUTHENC
385         select CRYPTO_BLKCIPHER
386         select CRYPTO_DES
387         select CRYPTO_CBC
388         select CRYPTO_ECB
389         select CRYPTO_SEQIV
390         help
391           This option enables support for the hardware offload engines in the
392           Picochip picoXcell SoC devices. Select this for IPSEC ESP offload
393           and for 3gpp Layer 2 ciphering support.
394
395           Saying m here will build a module named pipcoxcell_crypto.
396
397 config CRYPTO_DEV_SAHARA
398         tristate "Support for SAHARA crypto accelerator"
399         depends on ARCH_MXC && OF
400         select CRYPTO_BLKCIPHER
401         select CRYPTO_AES
402         select CRYPTO_ECB
403         help
404           This option enables support for the SAHARA HW crypto accelerator
405           found in some Freescale i.MX chips.
406
407 config CRYPTO_DEV_EXYNOS_RNG
408         tristate "EXYNOS HW pseudo random number generator support"
409         depends on ARCH_EXYNOS || COMPILE_TEST
410         depends on HAS_IOMEM
411         select CRYPTO_RNG
412         ---help---
413           This driver provides kernel-side support through the
414           cryptographic API for the pseudo random number generator hardware
415           found on Exynos SoCs.
416
417           To compile this driver as a module, choose M here: the
418           module will be called exynos-rng.
419
420           If unsure, say Y.
421
422 config CRYPTO_DEV_S5P
423         tristate "Support for Samsung S5PV210/Exynos crypto accelerator"
424         depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
425         depends on HAS_IOMEM
426         select CRYPTO_AES
427         select CRYPTO_BLKCIPHER
428         help
429           This option allows you to have support for S5P crypto acceleration.
430           Select this to offload Samsung S5PV210 or S5PC110, Exynos from AES
431           algorithms execution.
432
433 config CRYPTO_DEV_EXYNOS_HASH
434         bool "Support for Samsung Exynos HASH accelerator"
435         depends on CRYPTO_DEV_S5P
436         depends on !CRYPTO_DEV_EXYNOS_RNG && CRYPTO_DEV_EXYNOS_RNG!=m
437         select CRYPTO_SHA1
438         select CRYPTO_MD5
439         select CRYPTO_SHA256
440         help
441           Select this to offload Exynos from HASH MD5/SHA1/SHA256.
442           This will select software SHA1, MD5 and SHA256 as they are
443           needed for small and zero-size messages.
444           HASH algorithms will be disabled if EXYNOS_RNG
445           is enabled due to hw conflict.
446
447 config CRYPTO_DEV_NX
448         bool "Support for IBM PowerPC Nest (NX) cryptographic acceleration"
449         depends on PPC64
450         help
451           This enables support for the NX hardware cryptographic accelerator
452           coprocessor that is in IBM PowerPC P7+ or later processors.  This
453           does not actually enable any drivers, it only allows you to select
454           which acceleration type (encryption and/or compression) to enable.
455
456 if CRYPTO_DEV_NX
457         source "drivers/crypto/nx/Kconfig"
458 endif
459
460 config CRYPTO_DEV_UX500
461         tristate "Driver for ST-Ericsson UX500 crypto hardware acceleration"
462         depends on ARCH_U8500
463         help
464           Driver for ST-Ericsson UX500 crypto engine.
465
466 if CRYPTO_DEV_UX500
467         source "drivers/crypto/ux500/Kconfig"
468 endif # if CRYPTO_DEV_UX500
469
470 config CRYPTO_DEV_ATMEL_AUTHENC
471         tristate "Support for Atmel IPSEC/SSL hw accelerator"
472         depends on ARCH_AT91 || COMPILE_TEST
473         select CRYPTO_AUTHENC
474         select CRYPTO_DEV_ATMEL_AES
475         select CRYPTO_DEV_ATMEL_SHA
476         help
477           Some Atmel processors can combine the AES and SHA hw accelerators
478           to enhance support of IPSEC/SSL.
479           Select this if you want to use the Atmel modules for
480           authenc(hmac(shaX),Y(cbc)) algorithms.
481
482 config CRYPTO_DEV_ATMEL_AES
483         tristate "Support for Atmel AES hw accelerator"
484         depends on ARCH_AT91 || COMPILE_TEST
485         select CRYPTO_AES
486         select CRYPTO_AEAD
487         select CRYPTO_BLKCIPHER
488         help
489           Some Atmel processors have AES hw accelerator.
490           Select this if you want to use the Atmel module for
491           AES algorithms.
492
493           To compile this driver as a module, choose M here: the module
494           will be called atmel-aes.
495
496 config CRYPTO_DEV_ATMEL_TDES
497         tristate "Support for Atmel DES/TDES hw accelerator"
498         depends on ARCH_AT91 || COMPILE_TEST
499         select CRYPTO_DES
500         select CRYPTO_BLKCIPHER
501         help
502           Some Atmel processors have DES/TDES hw accelerator.
503           Select this if you want to use the Atmel module for
504           DES/TDES algorithms.
505
506           To compile this driver as a module, choose M here: the module
507           will be called atmel-tdes.
508
509 config CRYPTO_DEV_ATMEL_SHA
510         tristate "Support for Atmel SHA hw accelerator"
511         depends on ARCH_AT91 || COMPILE_TEST
512         select CRYPTO_HASH
513         help
514           Some Atmel processors have SHA1/SHA224/SHA256/SHA384/SHA512
515           hw accelerator.
516           Select this if you want to use the Atmel module for
517           SHA1/SHA224/SHA256/SHA384/SHA512 algorithms.
518
519           To compile this driver as a module, choose M here: the module
520           will be called atmel-sha.
521
522 config CRYPTO_DEV_ATMEL_ECC
523         tristate "Support for Microchip / Atmel ECC hw accelerator"
524         depends on ARCH_AT91 || COMPILE_TEST
525         depends on I2C
526         select CRYPTO_ECDH
527         select CRC16
528         help
529           Microhip / Atmel ECC hw accelerator.
530           Select this if you want to use the Microchip / Atmel module for
531           ECDH algorithm.
532
533           To compile this driver as a module, choose M here: the module
534           will be called atmel-ecc.
535
536 config CRYPTO_DEV_CCP
537         bool "Support for AMD Secure Processor"
538         depends on ((X86 && PCI) || (ARM64 && (OF_ADDRESS || ACPI))) && HAS_IOMEM
539         help
540           The AMD Secure Processor provides support for the Cryptographic Coprocessor
541           (CCP) and the Platform Security Processor (PSP) devices.
542
543 if CRYPTO_DEV_CCP
544         source "drivers/crypto/ccp/Kconfig"
545 endif
546
547 config CRYPTO_DEV_MXS_DCP
548         tristate "Support for Freescale MXS DCP"
549         depends on (ARCH_MXS || ARCH_MXC)
550         select STMP_DEVICE
551         select CRYPTO_CBC
552         select CRYPTO_ECB
553         select CRYPTO_AES
554         select CRYPTO_BLKCIPHER
555         select CRYPTO_HASH
556         help
557           The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB
558           co-processor on the die.
559
560           To compile this driver as a module, choose M here: the module
561           will be called mxs-dcp.
562
563 source "drivers/crypto/qat/Kconfig"
564 source "drivers/crypto/cavium/cpt/Kconfig"
565 source "drivers/crypto/cavium/nitrox/Kconfig"
566
567 config CRYPTO_DEV_CAVIUM_ZIP
568         tristate "Cavium ZIP driver"
569         depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
570         ---help---
571           Select this option if you want to enable compression/decompression
572           acceleration on Cavium's ARM based SoCs
573
574 config CRYPTO_DEV_QCE
575         tristate "Qualcomm crypto engine accelerator"
576         depends on ARCH_QCOM || COMPILE_TEST
577         depends on HAS_IOMEM
578         select CRYPTO_AES
579         select CRYPTO_DES
580         select CRYPTO_ECB
581         select CRYPTO_CBC
582         select CRYPTO_XTS
583         select CRYPTO_CTR
584         select CRYPTO_BLKCIPHER
585         help
586           This driver supports Qualcomm crypto engine accelerator
587           hardware. To compile this driver as a module, choose M here. The
588           module will be called qcrypto.
589
590 config CRYPTO_DEV_QCOM_RNG
591         tristate "Qualcomm Random Number Generator Driver"
592         depends on ARCH_QCOM || COMPILE_TEST
593         select CRYPTO_RNG
594         help
595           This driver provides support for the Random Number
596           Generator hardware found on Qualcomm SoCs.
597
598           To compile this driver as a module, choose M here. The
599           module will be called qcom-rng. If unsure, say N.
600
601 config CRYPTO_DEV_VMX
602         bool "Support for VMX cryptographic acceleration instructions"
603         depends on PPC64 && VSX
604         help
605           Support for VMX cryptographic acceleration instructions.
606
607 source "drivers/crypto/vmx/Kconfig"
608
609 config CRYPTO_DEV_IMGTEC_HASH
610         tristate "Imagination Technologies hardware hash accelerator"
611         depends on MIPS || COMPILE_TEST
612         select CRYPTO_MD5
613         select CRYPTO_SHA1
614         select CRYPTO_SHA256
615         select CRYPTO_HASH
616         help
617           This driver interfaces with the Imagination Technologies
618           hardware hash accelerator. Supporting MD5/SHA1/SHA224/SHA256
619           hashing algorithms.
620
621 config CRYPTO_DEV_SUN4I_SS
622         tristate "Support for Allwinner Security System cryptographic accelerator"
623         depends on ARCH_SUNXI && !64BIT
624         select CRYPTO_MD5
625         select CRYPTO_SHA1
626         select CRYPTO_AES
627         select CRYPTO_DES
628         select CRYPTO_BLKCIPHER
629         help
630           Some Allwinner SoC have a crypto accelerator named
631           Security System. Select this if you want to use it.
632           The Security System handle AES/DES/3DES ciphers in CBC mode
633           and SHA1 and MD5 hash algorithms.
634
635           To compile this driver as a module, choose M here: the module
636           will be called sun4i-ss.
637
638 config CRYPTO_DEV_SUN4I_SS_PRNG
639         bool "Support for Allwinner Security System PRNG"
640         depends on CRYPTO_DEV_SUN4I_SS
641         select CRYPTO_RNG
642         help
643           Select this option if you want to provide kernel-side support for
644           the Pseudo-Random Number Generator found in the Security System.
645
646 config CRYPTO_DEV_ROCKCHIP
647         tristate "Rockchip's Cryptographic Engine driver"
648         depends on OF && ARCH_ROCKCHIP
649         select CRYPTO_AES
650         select CRYPTO_DES
651         select CRYPTO_MD5
652         select CRYPTO_SHA1
653         select CRYPTO_SHA256
654         select CRYPTO_HASH
655         select CRYPTO_BLKCIPHER
656
657         help
658           This driver interfaces with the hardware crypto accelerator.
659           Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode.
660
661 config CRYPTO_DEV_MEDIATEK
662         tristate "MediaTek's EIP97 Cryptographic Engine driver"
663         depends on (ARM && ARCH_MEDIATEK) || COMPILE_TEST
664         select CRYPTO_AES
665         select CRYPTO_AEAD
666         select CRYPTO_BLKCIPHER
667         select CRYPTO_CTR
668         select CRYPTO_SHA1
669         select CRYPTO_SHA256
670         select CRYPTO_SHA512
671         select CRYPTO_HMAC
672         help
673           This driver allows you to utilize the hardware crypto accelerator
674           EIP97 which can be found on the MT7623 MT2701, MT8521p, etc ....
675           Select this if you want to use it for AES/SHA1/SHA2 algorithms.
676
677 source "drivers/crypto/chelsio/Kconfig"
678
679 source "drivers/crypto/virtio/Kconfig"
680
681 config CRYPTO_DEV_BCM_SPU
682         tristate "Broadcom symmetric crypto/hash acceleration support"
683         depends on ARCH_BCM_IPROC
684         depends on MAILBOX
685         default m
686         select CRYPTO_AUTHENC
687         select CRYPTO_DES
688         select CRYPTO_MD5
689         select CRYPTO_SHA1
690         select CRYPTO_SHA256
691         select CRYPTO_SHA512
692         help
693           This driver provides support for Broadcom crypto acceleration using the
694           Secure Processing Unit (SPU). The SPU driver registers ablkcipher,
695           ahash, and aead algorithms with the kernel cryptographic API.
696
697 source "drivers/crypto/stm32/Kconfig"
698
699 config CRYPTO_DEV_SAFEXCEL
700         tristate "Inside Secure's SafeXcel cryptographic engine driver"
701         depends on OF
702         depends on (ARM64 && ARCH_MVEBU) || (COMPILE_TEST && 64BIT)
703         select CRYPTO_AES
704         select CRYPTO_AUTHENC
705         select CRYPTO_BLKCIPHER
706         select CRYPTO_DES
707         select CRYPTO_HASH
708         select CRYPTO_HMAC
709         select CRYPTO_MD5
710         select CRYPTO_SHA1
711         select CRYPTO_SHA256
712         select CRYPTO_SHA512
713         help
714           This driver interfaces with the SafeXcel EIP-197 cryptographic engine
715           designed by Inside Secure. Select this if you want to use CBC/ECB
716           chain mode, AES cipher mode and SHA1/SHA224/SHA256/SHA512 hash
717           algorithms.
718
719 config CRYPTO_DEV_ARTPEC6
720         tristate "Support for Axis ARTPEC-6/7 hardware crypto acceleration."
721         depends on ARM && (ARCH_ARTPEC || COMPILE_TEST)
722         depends on OF
723         select CRYPTO_AEAD
724         select CRYPTO_AES
725         select CRYPTO_ALGAPI
726         select CRYPTO_BLKCIPHER
727         select CRYPTO_CTR
728         select CRYPTO_HASH
729         select CRYPTO_SHA1
730         select CRYPTO_SHA256
731         select CRYPTO_SHA512
732         help
733           Enables the driver for the on-chip crypto accelerator
734           of Axis ARTPEC SoCs.
735
736           To compile this driver as a module, choose M here.
737
738 config CRYPTO_DEV_CCREE
739         tristate "Support for ARM TrustZone CryptoCell family of security processors"
740         depends on CRYPTO && CRYPTO_HW && OF && HAS_DMA
741         default n
742         select CRYPTO_HASH
743         select CRYPTO_BLKCIPHER
744         select CRYPTO_DES
745         select CRYPTO_AEAD
746         select CRYPTO_AUTHENC
747         select CRYPTO_SHA1
748         select CRYPTO_MD5
749         select CRYPTO_SHA256
750         select CRYPTO_SHA512
751         select CRYPTO_HMAC
752         select CRYPTO_AES
753         select CRYPTO_CBC
754         select CRYPTO_ECB
755         select CRYPTO_CTR
756         select CRYPTO_XTS
757         select CRYPTO_SM4
758         select CRYPTO_SM3
759         help
760           Say 'Y' to enable a driver for the REE interface of the Arm
761           TrustZone CryptoCell family of processors. Currently the
762           CryptoCell 713, 703, 712, 710 and 630 are supported.
763           Choose this if you wish to use hardware acceleration of
764           cryptographic operations on the system REE.
765           If unsure say Y.
766
767 source "drivers/crypto/hisilicon/Kconfig"
768
769 endif # CRYPTO_HW