CONFIG_CRYPTO_HW Hardware crypto devices
Say Y here to get to see options for hardware crypto devices and processors. This option alone does not add any kernel code.
If you say N, all options in this submenu will be skipped and disabled.
- Depends on
CRYPTO
If CRYPTO_HW
CONFIG_CRYPTO_DEV_PADLOCK Support for VIA PadLock ACE
- Off
- Module
- Built in
Some VIA processors come with an integrated crypto engine (so called VIA PadLock ACE, Advanced Cryptography Engine) that provides instructions for very fast cryptographic operations with supported algorithms.
The instructions are used only when the CPU supports them. Otherwise software encryption is used.
If CRYPTO_DEV_PADLOCK
CONFIG_CRYPTO_DEV_PADLOCK_AES PadLock driver for AES algorithm
- Off
- Module
- Built in
Use VIA PadLock for AES algorithm.
Available in VIA C3 and newer CPUs.
If unsure say M. The compiled module will be called padlock-aes.
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_PADLOCK - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && CRYPTO_DEV_PADLOCK - Selects
CRYPTO_LIB_AES if CRYPTO && CRYPTO_HW && CRYPTO_DEV_PADLOCK
CONFIG_CRYPTO_DEV_PADLOCK_SHA PadLock driver for SHA1 and SHA256 algorithms
- Off
- Module
- Built in
Use VIA PadLock for SHA1/SHA256 algorithms.
Available in VIA C7 and newer processors.
If unsure say M. The compiled module will be called padlock-sha.
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_PADLOCK - Selects
CRYPTO_HASH if CRYPTO && CRYPTO_HW && CRYPTO_DEV_PADLOCK - Selects
CRYPTO_SHA1 if CRYPTO && CRYPTO_HW && CRYPTO_DEV_PADLOCK - Selects
CRYPTO_SHA256 if CRYPTO && CRYPTO_HW && CRYPTO_DEV_PADLOCK
CONFIG_CRYPTO_DEV_GEODE Support for the Geode LX AES engine
- Off
- Module
- Built in
Say 'Y' here to use the AMD Geode LX processor on-board AES engine for the CryptoAPI AES algorithm.
To compile this driver as a module, choose M here: the module will be called geode-aes.
CONFIG_ZCRYPT Support for s390 cryptographic adapters
- Off
- Module
- Built in
Select this option if you want to enable support for s390 cryptographic adapters like Crypto Express 4 up to 8 in Coprocessor (CEXxC), EP11 Coprocessor (CEXxP) or Accelerator (CEXxA) mode.
CONFIG_PKEY Kernel API for protected key handling
- Off
- Module
- Built in
With this option enabled the pkey kernel modules provide an API for creation and handling of protected keys. Other parts of the kernel or userspace applications may use these functions.
The protected key support is distributed into: - A pkey base and API kernel module (pkey.ko) which offers the infrastructure for the pkey handler kernel modules, the ioctl and the sysfs API and the in-kernel API to the crypto cipher implementations using protected key. - A pkey pckmo kernel module (pkey-pckmo.ko) which is automatically loaded when pckmo support (that is generation of protected keys from clear key values) is available. - A pkey CCA kernel module (pkey-cca.ko) which is automatically loaded when a CEX crypto card is available. - A pkey EP11 kernel module (pkey-ep11.ko) which is automatically loaded when a CEX crypto card is available. - A pkey UV kernel module (pkey-uv.ko) which is automatically loaded when the Ultravisor feature is available within a protected execution environment.
Select this option if you want to enable the kernel and userspace API for protected key handling.
If PKEY
CONFIG_PKEY_CCA PKEY CCA support handler
- Off
- Module
- Built in
This is the CCA support handler for deriving protected keys from CCA (secure) keys. Also this handler provides an alternate way to make protected keys from clear key values.
The PKEY CCA support handler needs a Crypto Express card (CEX) in CCA mode.
If you have selected the PKEY option then you should also enable this option unless you are sure you never need to derive protected keys from CCA key material.
CONFIG_PKEY_EP11 PKEY EP11 support handler
- Off
- Module
- Built in
This is the EP11 support handler for deriving protected keys from EP11 (secure) keys. Also this handler provides an alternate way to make protected keys from clear key values.
The PKEY EP11 support handler needs a Crypto Express card (CEX) in EP11 mode.
If you have selected the PKEY option then you should also enable this option unless you are sure you never need to derive protected keys from EP11 key material.
CONFIG_PKEY_PCKMO PKEY PCKMO support handler
- Off
- Module
- Built in
This is the PCKMO support handler for deriving protected keys from clear key values via invoking the PCKMO instruction.
The PCKMO instruction can be enabled and disabled in the crypto settings at the LPAR profile. This handler checks for availability during initialization and if build as a kernel module unloads itself if PCKMO is disabled.
The PCKMO way of deriving protected keys from clear key material is especially used during self test of protected key ciphers like PAES but the CCA and EP11 handler provide alternate ways to generate protected keys from clear key values.
If you have selected the PKEY option then you should also enable this option unless you are sure you never need to derive protected keys from clear key values directly via PCKMO.
CONFIG_PKEY_UV PKEY UV support handler
- Off
- Module
- Built in
This is the PKEY Ultravisor support handler for deriving protected keys from secrets stored within the Ultravisor (UV).
This module works together with the UV device and supports the retrieval of protected keys from secrets stored within the UV firmware layer. This service is only available within a protected execution guest and thus this module will fail upon modprobe if no protected execution environment is detected.
Enable this option if you intend to run this kernel with an KVM guest with protected execution and you want to use UV retrievable secrets via PKEY API.
- Depends on
CRYPTO && CRYPTO_HW && PKEY && S390_UV_UAPI
CONFIG_CRYPTO_PAES_S390 PAES cipher algorithms
- Off
- Module
- Built in
This is the s390 hardware accelerated implementation of the AES cipher algorithms for use with protected key.
Select this option if you want to use the paes cipher for example to use protected key encrypted devices.
CONFIG_CRYPTO_PHMAC_S390 PHMAC cipher algorithms
- Off
- Module
- Built in
This is the s390 hardware accelerated implementation of the protected key HMAC support for SHA224, SHA256, SHA384 and SHA512.
Select this option if you want to use the phmac digests for example to use dm-integrity with secure/protected keys.
CONFIG_S390_PRNG Pseudo random number generator device driver
- Off
- Module
- Built in
Select this option if you want to use the s390 pseudo random number generator. The PRNG is part of the cryptographic processor functions and uses triple-DES to generate secure random numbers like the ANSI X9.17 standard. User-space programs access the pseudo-random-number device through the char device /dev/prandom.
It is available as of z9.
CONFIG_CRYPTO_DEV_SL3516 Storlink SL3516 crypto offloader
- Off
- Module
- Built in
This option allows you to have support for SL3516 crypto offloader.
- Depends on
CRYPTO && CRYPTO_HW && (ARCH_GEMINI || COMPILE_TEST) && HAS_IOMEM && - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && (ARCH_GEMINI || COMPILE_TEST) && HAS_IOMEM && - Selects
CRYPTO_ENGINE if CRYPTO && CRYPTO_HW && (ARCH_GEMINI || COMPILE_TEST) && HAS_IOMEM && - Selects
CRYPTO_ECB if CRYPTO && CRYPTO_HW && (ARCH_GEMINI || COMPILE_TEST) && HAS_IOMEM && - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && (ARCH_GEMINI || COMPILE_TEST) && HAS_IOMEM && - Selects
HW_RANDOM if CRYPTO && CRYPTO_HW && (ARCH_GEMINI || COMPILE_TEST) && HAS_IOMEM &&
If CRYPTO_DEV_SL3516
CONFIG_CRYPTO_DEV_SL3516_DEBUG Enable SL3516 stats
Say y to enable SL3516 debug stats. This will create /sys/kernel/debug/sl3516/stats for displaying the number of requests per algorithm and other internal stats.
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_SL3516 && DEBUG_FS
CONFIG_CRYPTO_DEV_HIFN_795X Driver HIFN 795x crypto accelerator chips
- Off
- Module
- Built in
This option allows you to have support for HIFN 795x crypto adapters.
- Depends on
CRYPTO && CRYPTO_HW && PCI && !ARCH_DMA_ADDR_T_64BIT - Selects
CRYPTO_LIB_DES if CRYPTO && CRYPTO_HW && PCI && !ARCH_DMA_ADDR_T_64BIT - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && PCI && !ARCH_DMA_ADDR_T_64BIT - Selects
HW_RANDOM if CRYPTO && CRYPTO_HW && PCI && !ARCH_DMA_ADDR_T_64BIT && CRYPTO_DEV_HIFN_795X_RNG
If CRYPTO_DEV_HIFN_795X
CONFIG_CRYPTO_DEV_HIFN_795X_RNG HIFN 795x random number generator
Select this option if you want to enable the random number generator on the HIFN 795x crypto adapters.
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_HIFN_795X
CONFIG_CRYPTO_DEV_TALITOS Talitos Freescale Security Engine (SEC)
- Off
- Module
- Built in
Say 'Y' here to use the Freescale Security Engine (SEC) to offload cryptographic algorithm computation.
The Freescale SEC is present on PowerQUICC 'E' processors, such as the MPC8349E and MPC8548E.
To compile this driver as a module, choose M here: the module will be called talitos.
- Depends on
CRYPTO && CRYPTO_HW && FSL_SOC - Selects
CRYPTO_AEAD if CRYPTO && CRYPTO_HW && FSL_SOC - Selects
CRYPTO_AUTHENC if CRYPTO && CRYPTO_HW && FSL_SOC - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && FSL_SOC - Selects
CRYPTO_HASH if CRYPTO && CRYPTO_HW && FSL_SOC - Selects
CRYPTO_LIB_DES if CRYPTO && CRYPTO_HW && FSL_SOC - Selects
HW_RANDOM if CRYPTO && CRYPTO_HW && FSL_SOC
CONFIG_CRYPTO_DEV_TALITOS1 SEC1 (SEC 1.0 and SEC Lite 1.2)
Say 'Y' here to use the Freescale Security Engine (SEC) version 1.0 found on MPC82xx or the Freescale Security Engine (SEC Lite) version 1.2 found on MPC8xx
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_TALITOS && (PPC_8xx || PPC_82xx)
If CRYPTO_DEV_TALITOS
CONFIG_CRYPTO_DEV_TALITOS2 SEC2+ (SEC version 2.0 or upper)
Say 'Y' here to use the Freescale Security Engine (SEC) version 2 and following as found on MPC83xx, MPC85xx, etc ...
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_TALITOS
CONFIG_CRYPTO_DEV_PPC4XX Driver AMCC PPC4xx crypto accelerator
- Off
- Module
- Built in
This option allows you to have support for AMCC crypto acceleration.
- Depends on
CRYPTO && CRYPTO_HW && PPC && 4xx - Selects
CRYPTO_HASH if CRYPTO && CRYPTO_HW && PPC && 4xx - Selects
CRYPTO_AEAD if CRYPTO && CRYPTO_HW && PPC && 4xx - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && PPC && 4xx - Selects
CRYPTO_LIB_AES if CRYPTO && CRYPTO_HW && PPC && 4xx - Selects
CRYPTO_CCM if CRYPTO && CRYPTO_HW && PPC && 4xx - Selects
CRYPTO_CTR if CRYPTO && CRYPTO_HW && PPC && 4xx - Selects
CRYPTO_GCM if CRYPTO && CRYPTO_HW && PPC && 4xx - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && PPC && 4xx
If CRYPTO_DEV_PPC4XX
CONFIG_HW_RANDOM_PPC4XX PowerPC 4xx generic true random number generator support
This option provides the kernel-side support for the TRNG hardware found in the security function of some PowerPC 4xx SoCs.
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_PPC4XX && HW_RANDOM=y
CONFIG_CRYPTO_DEV_OMAP Support for OMAP crypto HW accelerators
- Off
- Module
- Built in
OMAP processors have various crypto HW accelerators. Select this if you want to use the OMAP modules for any of the crypto algorithms.
- Depends on
CRYPTO && CRYPTO_HW && (ARCH_OMAP2PLUS || COMPILE_TEST)
If CRYPTO_DEV_OMAP
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP
CONFIG_CRYPTO_DEV_OMAP_SHAM Support for OMAP MD5/SHA1/SHA2 hw accelerator
- Off
- Module
- Built in
OMAP processors have MD5/SHA1/SHA2 hw accelerator. Select this if you want to use the OMAP module for MD5/SHA1/SHA2 algorithms.
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && ARCH_OMAP2PLUS - Selects
CRYPTO_ENGINE if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && ARCH_OMAP2PLUS - Selects
CRYPTO_SHA1 if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && ARCH_OMAP2PLUS - Selects
CRYPTO_MD5 if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && ARCH_OMAP2PLUS - Selects
CRYPTO_SHA256 if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && ARCH_OMAP2PLUS - Selects
CRYPTO_SHA512 if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && ARCH_OMAP2PLUS - Selects
CRYPTO_HMAC if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && ARCH_OMAP2PLUS
CONFIG_CRYPTO_DEV_OMAP_AES Support for OMAP AES hw engine
- Off
- Module
- Built in
OMAP processors have AES module accelerator. Select this if you want to use the OMAP module for AES algorithms.
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS) - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS) - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS) - Selects
CRYPTO_ENGINE if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS) - Selects
CRYPTO_CBC if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS) - Selects
CRYPTO_ECB if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS) - Selects
CRYPTO_CTR if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS) - Selects
CRYPTO_AEAD if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS)
CONFIG_CRYPTO_DEV_OMAP_DES Support for OMAP DES/3DES hw engine
- Off
- Module
- Built in
OMAP processors have DES/3DES module accelerator. Select this if you want to use the OMAP module for DES and 3DES algorithms. Currently the ECB and CBC modes of operation are supported by the driver. Also accesses made on unaligned boundaries are supported.
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && (ARCH_OMAP2PLUS || COMPILE_TEST) - Selects
CRYPTO_LIB_DES if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && (ARCH_OMAP2PLUS || COMPILE_TEST) - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && (ARCH_OMAP2PLUS || COMPILE_TEST) - Selects
CRYPTO_ENGINE if CRYPTO && CRYPTO_HW && CRYPTO_DEV_OMAP && (ARCH_OMAP2PLUS || COMPILE_TEST)
CONFIG_CRYPTO_DEV_SAHARA Support for SAHARA crypto accelerator
- Off
- Module
- Built in
This option enables support for the SAHARA HW crypto accelerator found in some Freescale i.MX chips.
- Depends on
CRYPTO && CRYPTO_HW && && OF - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && && OF - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && && OF - Selects
CRYPTO_ECB if CRYPTO && CRYPTO_HW && && OF - Selects
CRYPTO_ENGINE if CRYPTO && CRYPTO_HW && && OF
CONFIG_CRYPTO_DEV_S5P Support for Samsung S5PV210/Exynos crypto accelerator
- Off
- Module
- Built in
This option allows you to have support for S5P crypto acceleration. Select this to offload Samsung S5PV210 or S5PC110, Exynos from AES algorithms execution.
- Depends on
CRYPTO && CRYPTO_HW && (ARCH_S5PV210 || || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && (ARCH_S5PV210 || || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && (ARCH_S5PV210 || || COMPILE_TEST) && HAS_IOMEM
If CRYPTO_DEV_S5P
CONFIG_CRYPTO_DEV_EXYNOS_HASH Support for Samsung Exynos HASH accelerator
Select this to offload Exynos from HASH MD5/SHA1/SHA256. This will select software SHA1, MD5 and SHA256 as they are needed for small and zero-size messages.
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_S5P - Selects
CRYPTO_SHA1 if CRYPTO && CRYPTO_HW && CRYPTO_DEV_S5P - Selects
CRYPTO_MD5 if CRYPTO && CRYPTO_HW && CRYPTO_DEV_S5P - Selects
CRYPTO_SHA256 if CRYPTO && CRYPTO_HW && CRYPTO_DEV_S5P
CONFIG_CRYPTO_DEV_NX Support for IBM PowerPC Nest (NX) cryptographic acceleration
This enables support for the NX hardware cryptographic accelerator coprocessor that is in IBM PowerPC P7+ or later processors. This does not actually enable any drivers, it only allows you to select which acceleration type (encryption and/or compression) to enable.
If CRYPTO_DEV_NX
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_NX
CONFIG_CRYPTO_DEV_ATMEL_AUTHENC Support for Atmel IPSEC/SSL hw accelerator
Some Atmel processors can combine the AES and SHA hw accelerators to enhance support of IPSEC/SSL. Select this if you want to use the Atmel modules for authenc(hmac(shaX),Y(cbc)) algorithms.
- Depends on
CRYPTO && CRYPTO_HW && (ARCH_AT91 || COMPILE_TEST) && CRYPTO_DEV_ATMEL_AES
CONFIG_CRYPTO_DEV_ATMEL_AES Support for Atmel AES hw accelerator
- Off
- Module
- Built in
Some Atmel processors have AES hw accelerator. Select this if you want to use the Atmel module for AES algorithms.
To compile this driver as a module, choose M here: the module will be called atmel-aes.
- Depends on
CRYPTO && CRYPTO_HW && ( || COMPILE_TEST) - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && ( || COMPILE_TEST) - Selects
CRYPTO_AEAD if CRYPTO && CRYPTO_HW && ( || COMPILE_TEST) - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && ( || COMPILE_TEST) - Selects
CRYPTO_AUTHENC if CRYPTO && CRYPTO_HW && ( || COMPILE_TEST) && CRYPTO_DEV_ATMEL_AUTHENC - Selects
CRYPTO_DEV_ATMEL_SHA if CRYPTO && CRYPTO_HW && ( || COMPILE_TEST) && CRYPTO_DEV_ATMEL_AUTHENC
CONFIG_CRYPTO_DEV_ATMEL_TDES Support for Atmel DES/TDES hw accelerator
- Off
- Module
- Built in
Some Atmel processors have DES/TDES hw accelerator. Select this if you want to use the Atmel module for DES/TDES algorithms.
To compile this driver as a module, choose M here: the module will be called atmel-tdes.
- Depends on
CRYPTO && CRYPTO_HW && (ARCH_AT91 || COMPILE_TEST) - Selects
CRYPTO_LIB_DES if CRYPTO && CRYPTO_HW && (ARCH_AT91 || COMPILE_TEST) - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && (ARCH_AT91 || COMPILE_TEST)
CONFIG_CRYPTO_DEV_ATMEL_SHA Support for Atmel SHA hw accelerator
- Off
- Module
- Built in
Some Atmel processors have SHA1/SHA224/SHA256/SHA384/SHA512 hw accelerator. Select this if you want to use the Atmel module for SHA1/SHA224/SHA256/SHA384/SHA512 algorithms.
To compile this driver as a module, choose M here: the module will be called atmel-sha.
- Depends on
CRYPTO && CRYPTO_HW && (ARCH_AT91 || COMPILE_TEST) - Selects
CRYPTO_HASH if CRYPTO && CRYPTO_HW && (ARCH_AT91 || COMPILE_TEST)
CONFIG_CRYPTO_DEV_ATMEL_I2C
- Off
- Module
- Built in
- Depends on
CRYPTO && CRYPTO_HW - Selects
BITREVERSE if CRYPTO && CRYPTO_HW
CONFIG_CRYPTO_DEV_ATMEL_ECC Support for Microchip / Atmel ECC hw accelerator
- Off
- Module
- Built in
Microchip / Atmel ECC hw accelerator. Select this if you want to use the Microchip / Atmel module for ECDH algorithm.
To compile this driver as a module, choose M here: the module will be called atmel-ecc.
CONFIG_CRYPTO_DEV_ATMEL_SHA204A Support for Microchip / Atmel SHA accelerator and RNG
- Off
- Module
- Built in
Microchip / Atmel SHA accelerator and RNG. Select this if you want to use the Microchip / Atmel SHA204A module as a random number generator. (Other functions of the chip are currently not exposed by this driver)
To compile this driver as a module, choose M here: the module will be called atmel-sha204a.
CONFIG_CRYPTO_DEV_CCP Support for AMD Secure Processor
The AMD Secure Processor provides support for the Cryptographic Coprocessor (CCP) and the Platform Security Processor (PSP) devices.
If CRYPTO_DEV_CCP
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_CCP
CONFIG_CRYPTO_DEV_MXS_DCP Support for Freescale MXS DCP
- Off
- Module
- Built in
The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB co-processor on the die.
To compile this driver as a module, choose M here: the module will be called mxs-dcp.
- Depends on
CRYPTO && CRYPTO_HW && (ARCH_MXS || ) - Selects
STMP_DEVICE if CRYPTO && CRYPTO_HW && (ARCH_MXS || ) - Selects
CRYPTO_CBC if CRYPTO && CRYPTO_HW && (ARCH_MXS || ) - Selects
CRYPTO_ECB if CRYPTO && CRYPTO_HW && (ARCH_MXS || ) - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && (ARCH_MXS || ) - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && (ARCH_MXS || ) - Selects
CRYPTO_HASH if CRYPTO && CRYPTO_HW && (ARCH_MXS || )
CONFIG_CRYPTO_DEV_QCE Qualcomm crypto engine accelerator
- Off
- Module
- Built in
This driver supports Qualcomm crypto engine accelerator hardware. To compile this driver as a module, choose M here. The module will be called qcrypto.
This driver does not have exclusive access to the hardware, causing races with the secure world. It is also slower than the CPU.
- Depends on
CRYPTO && CRYPTO_HW && (BROKEN && || COMPILE_TEST) && HAS_IOMEM
If CRYPTO_DEV_QCE
CONFIG_CRYPTO_DEV_QCE_SKCIPHER
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_LIB_DES if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_ECB if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_CBC if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_XTS if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_CTR if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE
CONFIG_CRYPTO_DEV_QCE_SHA
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_SHA1 if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_SHA256 if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE
CONFIG_CRYPTO_DEV_QCE_AEAD
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_AUTHENC if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_LIB_DES if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE
Algorithms enabled for QCE acceleration
This option allows to choose whether to build support for all algorithms (default), hashes-only, or skciphers-only.
The QCE engine does not appear to scale as well as the CPU to handle multiple crypto requests. While the ipq40xx chips have 4-core CPUs, the QCE handles only 2 requests in parallel.
Ipsec throughput seems to improve when disabling either family of algorithms, sharing the load with the CPU. Enabling skciphers-only appears to work best.
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE
CONFIG_CRYPTO_DEV_QCE_ENABLE_ALL All supported algorithms
Enable all supported algorithms:
- AES (CBC, CTR, ECB, XTS)
- 3DES (CBC, ECB)
- DES (CBC, ECB)
- SHA1, HMAC-SHA1
- SHA256, HMAC-SHA256
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_DEV_QCE_SKCIPHER if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_DEV_QCE_SHA if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_DEV_QCE_AEAD if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE
CONFIG_CRYPTO_DEV_QCE_ENABLE_SKCIPHER Symmetric-key ciphers only
Enable symmetric-key ciphers only:
- AES (CBC, CTR, ECB, XTS)
- 3DES (ECB, CBC)
- DES (ECB, CBC)
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_DEV_QCE_SKCIPHER if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE
CONFIG_CRYPTO_DEV_QCE_ENABLE_SHA Hash/HMAC only
Enable hashes/HMAC algorithms only:
- SHA1, HMAC-SHA1
- SHA256, HMAC-SHA256
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_DEV_QCE_SHA if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE
CONFIG_CRYPTO_DEV_QCE_ENABLE_AEAD AEAD algorithms only
Enable AEAD algorithms only:
- authenc()
- ccm(aes)
- rfc4309(ccm(aes))
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE - Selects
CRYPTO_DEV_QCE_AEAD if CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE
CONFIG_CRYPTO_DEV_QCE_SW_MAX_LEN Default maximum request size to use software for AES
This sets the default maximum request size to perform AES requests using software instead of the crypto engine. It can be changed by setting the aes_sw_max_len parameter.
Small blocks are processed faster in software than hardware. Considering the 256-bit ciphers, software is 2-3 times faster than qce at 256-bytes, 30% faster at 512, and about even at 768-bytes. With 128-bit keys, the break-even point would be around 1024-bytes.
The default is set a little lower, to 512 bytes, to balance the cost in CPU usage. The minimum recommended setting is 16-bytes (1 AES block), since AES-GCM will fail if you set it lower. Setting this to zero will send all requests to the hardware.
Note that 192-bit keys are not supported by the hardware and are always processed by the software fallback, and all DES requests are done by the hardware.
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_QCE && CRYPTO_DEV_QCE_SKCIPHER
CONFIG_CRYPTO_DEV_IMGTEC_HASH Imagination Technologies hardware hash accelerator
- Off
- Module
- Built in
This driver interfaces with the Imagination Technologies hardware hash accelerator. Supporting MD5/SHA1/SHA224/SHA256 hashing algorithms.
- Depends on
CRYPTO && CRYPTO_HW && (MIPS || COMPILE_TEST) - Selects
CRYPTO_MD5 if CRYPTO && CRYPTO_HW && (MIPS || COMPILE_TEST) - Selects
CRYPTO_SHA1 if CRYPTO && CRYPTO_HW && (MIPS || COMPILE_TEST) - Selects
CRYPTO_SHA256 if CRYPTO && CRYPTO_HW && (MIPS || COMPILE_TEST) - Selects
CRYPTO_HASH if CRYPTO && CRYPTO_HW && (MIPS || COMPILE_TEST)
CONFIG_CRYPTO_DEV_ROCKCHIP Rockchip's Cryptographic Engine driver
- Off
- Module
- Built in
This driver interfaces with the hardware crypto accelerator. Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode.
- Depends on
CRYPTO && CRYPTO_HW && OF && && - Selects
CRYPTO_ECB if CRYPTO && CRYPTO_HW && OF && && - Selects
CRYPTO_CBC if CRYPTO && CRYPTO_HW && OF && && - Selects
CRYPTO_DES if CRYPTO && CRYPTO_HW && OF && && - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && OF && && - Selects
CRYPTO_ENGINE if CRYPTO && CRYPTO_HW && OF && && - Selects
CRYPTO_LIB_DES if CRYPTO && CRYPTO_HW && OF && && - Selects
CRYPTO_MD5 if CRYPTO && CRYPTO_HW && OF && && - Selects
CRYPTO_SHA1 if CRYPTO && CRYPTO_HW && OF && && - Selects
CRYPTO_SHA256 if CRYPTO && CRYPTO_HW && OF && && - Selects
CRYPTO_HASH if CRYPTO && CRYPTO_HW && OF && && - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && OF && &&
If CRYPTO_DEV_ROCKCHIP
CONFIG_CRYPTO_DEV_ROCKCHIP_DEBUG Enable Rockchip crypto stats
Say y to enable Rockchip crypto debug stats. This will create /sys/kernel/debug/rk3288_crypto/stats for displaying the number of requests per algorithm and other internal stats.
- Depends on
CRYPTO && CRYPTO_HW && CRYPTO_DEV_ROCKCHIP && DEBUG_FS
CONFIG_CRYPTO_DEV_TEGRA Enable Tegra Security Engine
- Off
- Module
- Built in
Select this to enable Tegra Security Engine which accelerates various AES encryption/decryption and HASH algorithms.
- Depends on
CRYPTO && CRYPTO_HW && TEGRA_HOST1X - Selects
CRYPTO_ENGINE if CRYPTO && CRYPTO_HW && TEGRA_HOST1X
CONFIG_CRYPTO_DEV_ZYNQMP_AES Support for Xilinx ZynqMP AES hw accelerator
- Off
- Module
- Built in
Xilinx ZynqMP has AES-GCM engine used for symmetric key encryption and decryption. This driver interfaces with AES hw accelerator. Select this if you want to use the ZynqMP module for AES algorithms.
- Depends on
CRYPTO && CRYPTO_HW && (ZYNQMP_FIRMWARE || COMPILE_TEST) - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && (ZYNQMP_FIRMWARE || COMPILE_TEST) - Selects
CRYPTO_ENGINE if CRYPTO && CRYPTO_HW && (ZYNQMP_FIRMWARE || COMPILE_TEST) - Selects
CRYPTO_AEAD if CRYPTO && CRYPTO_HW && (ZYNQMP_FIRMWARE || COMPILE_TEST)
CONFIG_CRYPTO_DEV_ZYNQMP_SHA3 Support for Xilinx ZynqMP SHA3 hardware accelerator
- Off
- Module
- Built in
Xilinx ZynqMP has SHA3 engine used for secure hash calculation. This driver interfaces with SHA3 hardware engine. Select this if you want to use the ZynqMP module for SHA3 hash computation.
- Depends on
CRYPTO && CRYPTO_HW && (ZYNQMP_FIRMWARE || COMPILE_TEST) - Selects
CRYPTO_SHA3 if CRYPTO && CRYPTO_HW && (ZYNQMP_FIRMWARE || COMPILE_TEST)
CONFIG_CRYPTO_DEV_BCM_SPU Broadcom symmetric crypto/hash acceleration support
- Off
- Module
- Built in
This driver provides support for Broadcom crypto acceleration using the Secure Processing Unit (SPU). The SPU driver registers skcipher, ahash, and aead algorithms with the kernel cryptographic API.
- Depends on
CRYPTO && CRYPTO_HW && && MAILBOX - Selects
CRYPTO_AUTHENC if CRYPTO && CRYPTO_HW && && MAILBOX - Selects
CRYPTO_LIB_DES if CRYPTO && CRYPTO_HW && && MAILBOX - Selects
CRYPTO_MD5 if CRYPTO && CRYPTO_HW && && MAILBOX - Selects
CRYPTO_SHA1 if CRYPTO && CRYPTO_HW && && MAILBOX - Selects
CRYPTO_SHA256 if CRYPTO && CRYPTO_HW && && MAILBOX - Selects
CRYPTO_SHA512 if CRYPTO && CRYPTO_HW && && MAILBOX
CONFIG_CRYPTO_DEV_SAFEXCEL Inside Secure's SafeXcel cryptographic engine driver
- Off
- Module
- Built in
This driver interfaces with the SafeXcel EIP-97 and EIP-197 cryptographic engines designed by Inside Secure. It currently accelerates DES, 3DES and AES block ciphers in ECB and CBC mode, as well as SHA1, SHA224, SHA256, SHA384 and SHA512 hash algorithms for both basic hash and HMAC. Additionally, it accelerates combined AES-CBC/HMAC-SHA AEAD operations.
- Depends on
CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_LIB_AES if CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_AUTHENC if CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_LIB_DES if CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_HASH if CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_HMAC if CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_MD5 if CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_SHA1 if CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_SHA256 if CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_SHA512 if CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_CHACHA20POLY1305 if CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM - Selects
CRYPTO_SHA3 if CRYPTO && CRYPTO_HW && (OF || PCI || COMPILE_TEST) && HAS_IOMEM
CONFIG_CRYPTO_DEV_ARTPEC6 Support for Axis ARTPEC-6/7 hardware crypto acceleration.
- Off
- Module
- Built in
Enables the driver for the on-chip crypto accelerator of Axis ARTPEC SoCs.
To compile this driver as a module, choose M here.
- Depends on
CRYPTO && CRYPTO_HW && ARM && ( || COMPILE_TEST) && OF - Selects
CRYPTO_AEAD if CRYPTO && CRYPTO_HW && ARM && ( || COMPILE_TEST) && OF - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && ARM && ( || COMPILE_TEST) && OF - Selects
CRYPTO_ALGAPI if CRYPTO && CRYPTO_HW && ARM && ( || COMPILE_TEST) && OF - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && ARM && ( || COMPILE_TEST) && OF - Selects
CRYPTO_CTR if CRYPTO && CRYPTO_HW && ARM && ( || COMPILE_TEST) && OF - Selects
CRYPTO_HASH if CRYPTO && CRYPTO_HW && ARM && ( || COMPILE_TEST) && OF - Selects
CRYPTO_SHA1 if CRYPTO && CRYPTO_HW && ARM && ( || COMPILE_TEST) && OF - Selects
CRYPTO_SHA256 if CRYPTO && CRYPTO_HW && ARM && ( || COMPILE_TEST) && OF - Selects
CRYPTO_SHA512 if CRYPTO && CRYPTO_HW && ARM && ( || COMPILE_TEST) && OF
CONFIG_CRYPTO_DEV_CCREE Support for ARM TrustZone CryptoCell family of security processors
- Off
- Module
- Built in
Say 'Y' to enable a driver for the REE interface of the Arm TrustZone CryptoCell family of processors. Currently the CryptoCell 713, 703, 712, 710 and 630 are supported. Choose this if you wish to use hardware acceleration of cryptographic operations on the system REE. If unsure say Y.
- Depends on
CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_HASH if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_SKCIPHER if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_LIB_DES if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_AEAD if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_AUTHENC if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_SHA1 if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_MD5 if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_SHA256 if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_SHA512 if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_HMAC if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_CBC if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_ECB if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_CTR if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_XTS if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_SM4_GENERIC if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM - Selects
CRYPTO_SM3 if CRYPTO && CRYPTO_HW && OF && HAS_DMA && HAS_IOMEM
CONFIG_CRYPTO_DEV_SA2UL Support for TI security accelerator
- Off
- Module
- Built in
K3 devices include a security accelerator engine that may be used for crypto offload. Select this if you want to use hardware acceleration for cryptographic algorithms on these devices.
- Depends on
CRYPTO && CRYPTO_HW && (ARCH_K3 || COMPILE_TEST) - Selects
CRYPTO_AES if CRYPTO && CRYPTO_HW && (ARCH_K3 || COMPILE_TEST) - Selects
CRYPTO_ALGAPI if CRYPTO && CRYPTO_HW && (ARCH_K3 || COMPILE_TEST) - Selects
CRYPTO_AUTHENC if CRYPTO && CRYPTO_HW && (ARCH_K3 || COMPILE_TEST) - Selects
CRYPTO_DES if CRYPTO && CRYPTO_HW && (ARCH_K3 || COMPILE_TEST) - Selects
CRYPTO_SHA1 if CRYPTO && CRYPTO_HW && (ARCH_K3 || COMPILE_TEST) - Selects
CRYPTO_SHA256 if CRYPTO && CRYPTO_HW && (ARCH_K3 || COMPILE_TEST) - Selects
CRYPTO_SHA512 if CRYPTO && CRYPTO_HW && (ARCH_K3 || COMPILE_TEST) - Selects
HW_RANDOM if CRYPTO && CRYPTO_HW && (ARCH_K3 || COMPILE_TEST) - Selects
SG_SPLIT if CRYPTO && CRYPTO_HW && (ARCH_K3 || COMPILE_TEST)