3 bool "Hardware crypto devices"
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.
9 If you say N, all options in this submenu will be skipped and disabled.
13 config CRYPTO_DEV_PADLOCK
14 tristate "Support for VIA PadLock ACE"
15 depends on X86 && !UML
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.
22 The instructions are used only when the CPU supports them.
23 Otherwise software encryption is used.
25 config CRYPTO_DEV_PADLOCK_AES
26 tristate "PadLock driver for AES algorithm"
27 depends on CRYPTO_DEV_PADLOCK
28 select CRYPTO_BLKCIPHER
31 Use VIA PadLock for AES algorithm.
33 Available in VIA C3 and newer CPUs.
35 If unsure say M. The compiled module will be
38 config CRYPTO_DEV_PADLOCK_SHA
39 tristate "PadLock driver for SHA1 and SHA256 algorithms"
40 depends on CRYPTO_DEV_PADLOCK
45 Use VIA PadLock for SHA1/SHA256 algorithms.
47 Available in VIA C7 and newer processors.
49 If unsure say M. The compiled module will be
52 config CRYPTO_DEV_GEODE
53 tristate "Support for the Geode LX AES engine"
54 depends on X86_32 && PCI
56 select CRYPTO_BLKCIPHER
58 Say 'Y' here to use the AMD Geode LX processor on-board AES
59 engine for the CryptoAPI AES algorithm.
61 To compile this driver as a module, choose M here: the module
62 will be called geode-aes.
65 tristate "Support for s390 cryptographic adapters"
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)
77 tristate "Kernel API for protected key handling"
81 With this option enabled the pkey kernel module provides an API
82 for creation and handling of protected keys. Other parts of the
83 kernel or userspace applications may use these functions.
85 Select this option if you want to enable the kernel and userspace
86 API for proteced key handling.
88 Please note that creation of protected keys from secure keys
89 requires to have at least one CEX card in coprocessor mode
92 config CRYPTO_PAES_S390
93 tristate "PAES cipher algorithms"
98 select CRYPTO_BLKCIPHER
100 This is the s390 hardware accelerated implementation of the
101 AES cipher algorithms for use with protected key.
103 Select this option if you want to use the paes cipher
104 for example to use protected key encrypted devices.
106 config CRYPTO_SHA1_S390
107 tristate "SHA1 digest algorithm"
111 This is the s390 hardware accelerated implementation of the
112 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
114 It is available as of z990.
116 config CRYPTO_SHA256_S390
117 tristate "SHA256 digest algorithm"
121 This is the s390 hardware accelerated implementation of the
122 SHA256 secure hash standard (DFIPS 180-2).
124 It is available as of z9.
126 config CRYPTO_SHA512_S390
127 tristate "SHA384 and SHA512 digest algorithm"
131 This is the s390 hardware accelerated implementation of the
132 SHA512 secure hash standard.
134 It is available as of z10.
136 config CRYPTO_DES_S390
137 tristate "DES and Triple DES cipher algorithms"
140 select CRYPTO_BLKCIPHER
143 This is the s390 hardware accelerated implementation of the
144 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
146 As of z990 the ECB and CBC mode are hardware accelerated.
147 As of z196 the CTR mode is hardware accelerated.
149 config CRYPTO_AES_S390
150 tristate "AES cipher algorithms"
153 select CRYPTO_BLKCIPHER
155 This is the s390 hardware accelerated implementation of the
156 AES cipher algorithms (FIPS-197).
158 As of z9 the ECB and CBC modes are hardware accelerated
160 As of z10 the ECB and CBC modes are hardware accelerated
161 for all AES key sizes.
162 As of z196 the CTR mode is hardware accelerated for all AES
163 key sizes and XTS mode is hardware accelerated for 256 and
167 tristate "Pseudo random number generator device driver"
171 Select this option if you want to use the s390 pseudo random number
172 generator. The PRNG is part of the cryptographic processor functions
173 and uses triple-DES to generate secure random numbers like the
174 ANSI X9.17 standard. User-space programs access the
175 pseudo-random-number device through the char device /dev/prandom.
177 It is available as of z9.
179 config CRYPTO_GHASH_S390
180 tristate "GHASH digest algorithm"
184 This is the s390 hardware accelerated implementation of the
185 GHASH message digest algorithm for GCM (Galois/Counter Mode).
187 It is available as of z196.
189 config CRYPTO_CRC32_S390
190 tristate "CRC-32 algorithms"
195 Select this option if you want to use hardware accelerated
196 implementations of CRC algorithms. With this option, you
197 can optimize the computation of CRC-32 (IEEE 802.3 Ethernet)
198 and CRC-32C (Castagnoli).
200 It is available with IBM z13 or later.
202 config CRYPTO_DEV_MARVELL_CESA
203 tristate "Marvell's Cryptographic Engine driver"
204 depends on PLAT_ORION || ARCH_MVEBU
207 select CRYPTO_BLKCIPHER
211 This driver allows you to utilize the Cryptographic Engines and
212 Security Accelerator (CESA) which can be found on MVEBU and ORION
214 This driver supports CPU offload through DMA transfers.
216 config CRYPTO_DEV_NIAGARA2
217 tristate "Niagara2 Stream Processing Unit driver"
219 select CRYPTO_BLKCIPHER
226 Each core of a Niagara2 processor contains a Stream
227 Processing Unit, which itself contains several cryptographic
228 sub-units. One set provides the Modular Arithmetic Unit,
229 used for SSL offload. The other set provides the Cipher
230 Group, which can perform encryption, decryption, hashing,
231 checksumming, and raw copies.
233 config CRYPTO_DEV_HIFN_795X
234 tristate "Driver HIFN 795x crypto accelerator chips"
236 select CRYPTO_BLKCIPHER
237 select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG
239 depends on !ARCH_DMA_ADDR_T_64BIT
241 This option allows you to have support for HIFN 795x crypto adapters.
243 config CRYPTO_DEV_HIFN_795X_RNG
244 bool "HIFN 795x random number generator"
245 depends on CRYPTO_DEV_HIFN_795X
247 Select this option if you want to enable the random number generator
248 on the HIFN 795x crypto adapters.
250 source drivers/crypto/caam/Kconfig
252 config CRYPTO_DEV_TALITOS
253 tristate "Talitos Freescale Security Engine (SEC)"
255 select CRYPTO_AUTHENC
256 select CRYPTO_BLKCIPHER
261 Say 'Y' here to use the Freescale Security Engine (SEC)
262 to offload cryptographic algorithm computation.
264 The Freescale SEC is present on PowerQUICC 'E' processors, such
265 as the MPC8349E and MPC8548E.
267 To compile this driver as a module, choose M here: the module
268 will be called talitos.
270 config CRYPTO_DEV_TALITOS1
271 bool "SEC1 (SEC 1.0 and SEC Lite 1.2)"
272 depends on CRYPTO_DEV_TALITOS
273 depends on PPC_8xx || PPC_82xx
276 Say 'Y' here to use the Freescale Security Engine (SEC) version 1.0
277 found on MPC82xx or the Freescale Security Engine (SEC Lite)
278 version 1.2 found on MPC8xx
280 config CRYPTO_DEV_TALITOS2
281 bool "SEC2+ (SEC version 2.0 or upper)"
282 depends on CRYPTO_DEV_TALITOS
283 default y if !PPC_8xx
285 Say 'Y' here to use the Freescale Security Engine (SEC)
286 version 2 and following as found on MPC83xx, MPC85xx, etc ...
288 config CRYPTO_DEV_IXP4XX
289 tristate "Driver for IXP4xx crypto hardware acceleration"
290 depends on ARCH_IXP4XX && IXP4XX_QMGR && IXP4XX_NPE
293 select CRYPTO_AUTHENC
294 select CRYPTO_BLKCIPHER
296 Driver for the IXP4xx NPE crypto engine.
298 config CRYPTO_DEV_PPC4XX
299 tristate "Driver AMCC PPC4xx crypto accelerator"
300 depends on PPC && 4xx
307 select CRYPTO_BLKCIPHER
309 This option allows you to have support for AMCC crypto acceleration.
311 config HW_RANDOM_PPC4XX
312 bool "PowerPC 4xx generic true random number generator support"
313 depends on CRYPTO_DEV_PPC4XX && HW_RANDOM
316 This option provides the kernel-side support for the TRNG hardware
317 found in the security function of some PowerPC 4xx SoCs.
319 config CRYPTO_DEV_OMAP
320 tristate "Support for OMAP crypto HW accelerators"
321 depends on ARCH_OMAP2PLUS
323 OMAP processors have various crypto HW accelerators. Select this if
324 you want to use the OMAP modules for any of the crypto algorithms.
328 config CRYPTO_DEV_OMAP_SHAM
329 tristate "Support for OMAP MD5/SHA1/SHA2 hw accelerator"
330 depends on ARCH_OMAP2PLUS
337 OMAP processors have MD5/SHA1/SHA2 hw accelerator. Select this if you
338 want to use the OMAP module for MD5/SHA1/SHA2 algorithms.
340 config CRYPTO_DEV_OMAP_AES
341 tristate "Support for OMAP AES hw engine"
342 depends on ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS
344 select CRYPTO_BLKCIPHER
351 OMAP processors have AES module accelerator. Select this if you
352 want to use the OMAP module for AES algorithms.
354 config CRYPTO_DEV_OMAP_DES
355 tristate "Support for OMAP DES/3DES hw engine"
356 depends on ARCH_OMAP2PLUS
358 select CRYPTO_BLKCIPHER
361 OMAP processors have DES/3DES module accelerator. Select this if you
362 want to use the OMAP module for DES and 3DES algorithms. Currently
363 the ECB and CBC modes of operation are supported by the driver. Also
364 accesses made on unaligned boundaries are supported.
366 endif # CRYPTO_DEV_OMAP
368 config CRYPTO_DEV_PICOXCELL
369 tristate "Support for picoXcell IPSEC and Layer2 crypto engines"
370 depends on (ARCH_PICOXCELL || COMPILE_TEST) && HAVE_CLK
373 select CRYPTO_AUTHENC
374 select CRYPTO_BLKCIPHER
380 This option enables support for the hardware offload engines in the
381 Picochip picoXcell SoC devices. Select this for IPSEC ESP offload
382 and for 3gpp Layer 2 ciphering support.
384 Saying m here will build a module named pipcoxcell_crypto.
386 config CRYPTO_DEV_SAHARA
387 tristate "Support for SAHARA crypto accelerator"
388 depends on ARCH_MXC && OF
389 select CRYPTO_BLKCIPHER
393 This option enables support for the SAHARA HW crypto accelerator
394 found in some Freescale i.MX chips.
396 config CRYPTO_DEV_MXC_SCC
397 tristate "Support for Freescale Security Controller (SCC)"
398 depends on ARCH_MXC && OF
399 select CRYPTO_BLKCIPHER
402 This option enables support for the Security Controller (SCC)
403 found in Freescale i.MX25 chips.
405 config CRYPTO_DEV_EXYNOS_RNG
406 tristate "EXYNOS HW pseudo random number generator support"
407 depends on ARCH_EXYNOS || COMPILE_TEST
411 This driver provides kernel-side support through the
412 cryptographic API for the pseudo random number generator hardware
413 found on Exynos SoCs.
415 To compile this driver as a module, choose M here: the
416 module will be called exynos-rng.
420 config CRYPTO_DEV_S5P
421 tristate "Support for Samsung S5PV210/Exynos crypto accelerator"
422 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
425 select CRYPTO_BLKCIPHER
427 This option allows you to have support for S5P crypto acceleration.
428 Select this to offload Samsung S5PV210 or S5PC110, Exynos from AES
429 algorithms execution.
431 config CRYPTO_DEV_EXYNOS_HASH
432 bool "Support for Samsung Exynos HASH accelerator"
433 depends on CRYPTO_DEV_S5P
434 depends on !CRYPTO_DEV_EXYNOS_RNG && CRYPTO_DEV_EXYNOS_RNG!=m
439 Select this to offload Exynos from HASH MD5/SHA1/SHA256.
440 This will select software SHA1, MD5 and SHA256 as they are
441 needed for small and zero-size messages.
442 HASH algorithms will be disabled if EXYNOS_RNG
443 is enabled due to hw conflict.
446 bool "Support for IBM PowerPC Nest (NX) cryptographic acceleration"
449 This enables support for the NX hardware cryptographic accelerator
450 coprocessor that is in IBM PowerPC P7+ or later processors. This
451 does not actually enable any drivers, it only allows you to select
452 which acceleration type (encryption and/or compression) to enable.
455 source "drivers/crypto/nx/Kconfig"
458 config CRYPTO_DEV_UX500
459 tristate "Driver for ST-Ericsson UX500 crypto hardware acceleration"
460 depends on ARCH_U8500
462 Driver for ST-Ericsson UX500 crypto engine.
465 source "drivers/crypto/ux500/Kconfig"
466 endif # if CRYPTO_DEV_UX500
468 config CRYPTO_DEV_ATMEL_AUTHENC
469 tristate "Support for Atmel IPSEC/SSL hw accelerator"
470 depends on ARCH_AT91 || COMPILE_TEST
471 select CRYPTO_AUTHENC
472 select CRYPTO_DEV_ATMEL_AES
473 select CRYPTO_DEV_ATMEL_SHA
475 Some Atmel processors can combine the AES and SHA hw accelerators
476 to enhance support of IPSEC/SSL.
477 Select this if you want to use the Atmel modules for
478 authenc(hmac(shaX),Y(cbc)) algorithms.
480 config CRYPTO_DEV_ATMEL_AES
481 tristate "Support for Atmel AES hw accelerator"
482 depends on ARCH_AT91 || COMPILE_TEST
485 select CRYPTO_BLKCIPHER
487 Some Atmel processors have AES hw accelerator.
488 Select this if you want to use the Atmel module for
491 To compile this driver as a module, choose M here: the module
492 will be called atmel-aes.
494 config CRYPTO_DEV_ATMEL_TDES
495 tristate "Support for Atmel DES/TDES hw accelerator"
496 depends on ARCH_AT91 || COMPILE_TEST
498 select CRYPTO_BLKCIPHER
500 Some Atmel processors have DES/TDES hw accelerator.
501 Select this if you want to use the Atmel module for
504 To compile this driver as a module, choose M here: the module
505 will be called atmel-tdes.
507 config CRYPTO_DEV_ATMEL_SHA
508 tristate "Support for Atmel SHA hw accelerator"
509 depends on ARCH_AT91 || COMPILE_TEST
512 Some Atmel processors have SHA1/SHA224/SHA256/SHA384/SHA512
514 Select this if you want to use the Atmel module for
515 SHA1/SHA224/SHA256/SHA384/SHA512 algorithms.
517 To compile this driver as a module, choose M here: the module
518 will be called atmel-sha.
520 config CRYPTO_DEV_ATMEL_ECC
521 tristate "Support for Microchip / Atmel ECC hw accelerator"
522 depends on ARCH_AT91 || COMPILE_TEST
527 Microhip / Atmel ECC hw accelerator.
528 Select this if you want to use the Microchip / Atmel module for
531 To compile this driver as a module, choose M here: the module
532 will be called atmel-ecc.
534 config CRYPTO_DEV_CCP
535 bool "Support for AMD Secure Processor"
536 depends on ((X86 && PCI) || (ARM64 && (OF_ADDRESS || ACPI))) && HAS_IOMEM
538 The AMD Secure Processor provides support for the Cryptographic Coprocessor
539 (CCP) and the Platform Security Processor (PSP) devices.
542 source "drivers/crypto/ccp/Kconfig"
545 config CRYPTO_DEV_MXS_DCP
546 tristate "Support for Freescale MXS DCP"
547 depends on (ARCH_MXS || ARCH_MXC)
552 select CRYPTO_BLKCIPHER
555 The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB
556 co-processor on the die.
558 To compile this driver as a module, choose M here: the module
559 will be called mxs-dcp.
561 source "drivers/crypto/qat/Kconfig"
562 source "drivers/crypto/cavium/cpt/Kconfig"
563 source "drivers/crypto/cavium/nitrox/Kconfig"
565 config CRYPTO_DEV_CAVIUM_ZIP
566 tristate "Cavium ZIP driver"
567 depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
569 Select this option if you want to enable compression/decompression
570 acceleration on Cavium's ARM based SoCs
572 config CRYPTO_DEV_QCE
573 tristate "Qualcomm crypto engine accelerator"
574 depends on ARCH_QCOM || COMPILE_TEST
582 select CRYPTO_BLKCIPHER
584 This driver supports Qualcomm crypto engine accelerator
585 hardware. To compile this driver as a module, choose M here. The
586 module will be called qcrypto.
588 config CRYPTO_DEV_QCOM_RNG
589 tristate "Qualcomm Random Number Generator Driver"
590 depends on ARCH_QCOM || COMPILE_TEST
593 This driver provides support for the Random Number
594 Generator hardware found on Qualcomm SoCs.
596 To compile this driver as a module, choose M here. The
597 module will be called qcom-rng. If unsure, say N.
599 config CRYPTO_DEV_VMX
600 bool "Support for VMX cryptographic acceleration instructions"
601 depends on PPC64 && VSX
603 Support for VMX cryptographic acceleration instructions.
605 source "drivers/crypto/vmx/Kconfig"
607 config CRYPTO_DEV_IMGTEC_HASH
608 tristate "Imagination Technologies hardware hash accelerator"
609 depends on MIPS || COMPILE_TEST
615 This driver interfaces with the Imagination Technologies
616 hardware hash accelerator. Supporting MD5/SHA1/SHA224/SHA256
619 config CRYPTO_DEV_SUN4I_SS
620 tristate "Support for Allwinner Security System cryptographic accelerator"
621 depends on ARCH_SUNXI && !64BIT
626 select CRYPTO_BLKCIPHER
628 Some Allwinner SoC have a crypto accelerator named
629 Security System. Select this if you want to use it.
630 The Security System handle AES/DES/3DES ciphers in CBC mode
631 and SHA1 and MD5 hash algorithms.
633 To compile this driver as a module, choose M here: the module
634 will be called sun4i-ss.
636 config CRYPTO_DEV_SUN4I_SS_PRNG
637 bool "Support for Allwinner Security System PRNG"
638 depends on CRYPTO_DEV_SUN4I_SS
641 Select this option if you want to provide kernel-side support for
642 the Pseudo-Random Number Generator found in the Security System.
644 config CRYPTO_DEV_ROCKCHIP
645 tristate "Rockchip's Cryptographic Engine driver"
646 depends on OF && ARCH_ROCKCHIP
653 select CRYPTO_BLKCIPHER
656 This driver interfaces with the hardware crypto accelerator.
657 Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode.
659 config CRYPTO_DEV_MEDIATEK
660 tristate "MediaTek's EIP97 Cryptographic Engine driver"
661 depends on (ARM && ARCH_MEDIATEK) || COMPILE_TEST
664 select CRYPTO_BLKCIPHER
671 This driver allows you to utilize the hardware crypto accelerator
672 EIP97 which can be found on the MT7623 MT2701, MT8521p, etc ....
673 Select this if you want to use it for AES/SHA1/SHA2 algorithms.
675 source "drivers/crypto/chelsio/Kconfig"
677 source "drivers/crypto/virtio/Kconfig"
679 config CRYPTO_DEV_BCM_SPU
680 tristate "Broadcom symmetric crypto/hash acceleration support"
681 depends on ARCH_BCM_IPROC
690 This driver provides support for Broadcom crypto acceleration using the
691 Secure Processing Unit (SPU). The SPU driver registers ablkcipher,
692 ahash, and aead algorithms with the kernel cryptographic API.
694 source "drivers/crypto/stm32/Kconfig"
696 config CRYPTO_DEV_SAFEXCEL
697 tristate "Inside Secure's SafeXcel cryptographic engine driver"
699 depends on (ARM64 && ARCH_MVEBU) || (COMPILE_TEST && 64BIT)
701 select CRYPTO_AUTHENC
702 select CRYPTO_BLKCIPHER
711 This driver interfaces with the SafeXcel EIP-197 cryptographic engine
712 designed by Inside Secure. Select this if you want to use CBC/ECB
713 chain mode, AES cipher mode and SHA1/SHA224/SHA256/SHA512 hash
716 config CRYPTO_DEV_ARTPEC6
717 tristate "Support for Axis ARTPEC-6/7 hardware crypto acceleration."
718 depends on ARM && (ARCH_ARTPEC || COMPILE_TEST)
723 select CRYPTO_BLKCIPHER
730 Enables the driver for the on-chip crypto accelerator
733 To compile this driver as a module, choose M here.
735 config CRYPTO_DEV_CCREE
736 tristate "Support for ARM TrustZone CryptoCell family of security processors"
737 depends on CRYPTO && CRYPTO_HW && OF && HAS_DMA
740 select CRYPTO_BLKCIPHER
743 select CRYPTO_AUTHENC
755 Say 'Y' to enable a driver for the REE interface of the Arm
756 TrustZone CryptoCell family of processors. Currently the
757 CryptoCell 712, 710 and 630 are supported.
758 Choose this if you wish to use hardware acceleration of
759 cryptographic operations on the system REE.
762 source "drivers/crypto/hisilicon/Kconfig"