Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Jan Engelhardt | b511431 | 2007-07-15 23:39:36 -0700 | [diff] [blame] | 2 | |
| 3 | menuconfig CRYPTO_HW |
| 4 | bool "Hardware crypto devices" |
| 5 | default y |
Jan Engelhardt | 06bfb7e | 2007-08-18 12:56:21 +0200 | [diff] [blame] | 6 | ---help--- |
| 7 | Say Y here to get to see options for hardware crypto devices and |
| 8 | processors. This option alone does not add any kernel code. |
| 9 | |
| 10 | If you say N, all options in this submenu will be skipped and disabled. |
Jan Engelhardt | b511431 | 2007-07-15 23:39:36 -0700 | [diff] [blame] | 11 | |
| 12 | if CRYPTO_HW |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
Corentin Labbe | 3914b93 | 2019-10-23 22:05:03 +0200 | [diff] [blame] | 14 | source "drivers/crypto/allwinner/Kconfig" |
| 15 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | config CRYPTO_DEV_PADLOCK |
Herbert Xu | d158325 | 2007-05-18 13:17:22 +1000 | [diff] [blame] | 17 | tristate "Support for VIA PadLock ACE" |
Herbert Xu | 2f81741 | 2009-04-22 13:00:15 +0800 | [diff] [blame] | 18 | depends on X86 && !UML |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | help |
| 20 | Some VIA processors come with an integrated crypto engine |
| 21 | (so called VIA PadLock ACE, Advanced Cryptography Engine) |
Michal Ludvig | 1191f0a | 2006-08-06 22:46:20 +1000 | [diff] [blame] | 22 | that provides instructions for very fast cryptographic |
| 23 | operations with supported algorithms. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
| 25 | The instructions are used only when the CPU supports them. |
Michal Ludvig | 5644bda | 2006-08-06 22:50:30 +1000 | [diff] [blame] | 26 | Otherwise software encryption is used. |
| 27 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | config CRYPTO_DEV_PADLOCK_AES |
Michal Ludvig | 1191f0a | 2006-08-06 22:46:20 +1000 | [diff] [blame] | 29 | tristate "PadLock driver for AES algorithm" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | depends on CRYPTO_DEV_PADLOCK |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 31 | select CRYPTO_SKCIPHER |
Ard Biesheuvel | 8131878 | 2019-07-02 21:41:25 +0200 | [diff] [blame] | 32 | select CRYPTO_LIB_AES |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | help |
| 34 | Use VIA PadLock for AES algorithm. |
| 35 | |
Michal Ludvig | 1191f0a | 2006-08-06 22:46:20 +1000 | [diff] [blame] | 36 | Available in VIA C3 and newer CPUs. |
| 37 | |
| 38 | If unsure say M. The compiled module will be |
Pavel Machek | 4737f09 | 2009-06-05 00:44:53 +0200 | [diff] [blame] | 39 | called padlock-aes. |
Michal Ludvig | 1191f0a | 2006-08-06 22:46:20 +1000 | [diff] [blame] | 40 | |
Michal Ludvig | 6c83327 | 2006-07-12 12:29:38 +1000 | [diff] [blame] | 41 | config CRYPTO_DEV_PADLOCK_SHA |
| 42 | tristate "PadLock driver for SHA1 and SHA256 algorithms" |
| 43 | depends on CRYPTO_DEV_PADLOCK |
Herbert Xu | bbbee46 | 2009-07-11 18:16:16 +0800 | [diff] [blame] | 44 | select CRYPTO_HASH |
Michal Ludvig | 6c83327 | 2006-07-12 12:29:38 +1000 | [diff] [blame] | 45 | select CRYPTO_SHA1 |
| 46 | select CRYPTO_SHA256 |
Michal Ludvig | 6c83327 | 2006-07-12 12:29:38 +1000 | [diff] [blame] | 47 | help |
| 48 | Use VIA PadLock for SHA1/SHA256 algorithms. |
| 49 | |
| 50 | Available in VIA C7 and newer processors. |
| 51 | |
| 52 | If unsure say M. The compiled module will be |
Pavel Machek | 4737f09 | 2009-06-05 00:44:53 +0200 | [diff] [blame] | 53 | called padlock-sha. |
Michal Ludvig | 6c83327 | 2006-07-12 12:29:38 +1000 | [diff] [blame] | 54 | |
Jordan Crouse | 9fe757b | 2006-10-04 18:48:57 +1000 | [diff] [blame] | 55 | config CRYPTO_DEV_GEODE |
| 56 | tristate "Support for the Geode LX AES engine" |
Simon Arlott | f6259de | 2007-05-02 22:08:26 +1000 | [diff] [blame] | 57 | depends on X86_32 && PCI |
Jordan Crouse | 9fe757b | 2006-10-04 18:48:57 +1000 | [diff] [blame] | 58 | select CRYPTO_ALGAPI |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 59 | select CRYPTO_SKCIPHER |
Jordan Crouse | 9fe757b | 2006-10-04 18:48:57 +1000 | [diff] [blame] | 60 | help |
| 61 | Say 'Y' here to use the AMD Geode LX processor on-board AES |
David Sterba | 3dde6ad | 2007-05-09 07:12:20 +0200 | [diff] [blame] | 62 | engine for the CryptoAPI AES algorithm. |
Jordan Crouse | 9fe757b | 2006-10-04 18:48:57 +1000 | [diff] [blame] | 63 | |
| 64 | To compile this driver as a module, choose M here: the module |
| 65 | will be called geode-aes. |
| 66 | |
Martin Schwidefsky | 61d48c2 | 2007-05-10 15:46:00 +0200 | [diff] [blame] | 67 | config ZCRYPT |
Harald Freudenberger | a3358e3 | 2017-02-20 16:09:51 +0100 | [diff] [blame] | 68 | tristate "Support for s390 cryptographic adapters" |
Martin Schwidefsky | 61d48c2 | 2007-05-10 15:46:00 +0200 | [diff] [blame] | 69 | depends on S390 |
Ralph Wuerthner | 2f7c8bd | 2008-04-17 07:46:15 +0200 | [diff] [blame] | 70 | select HW_RANDOM |
Martin Schwidefsky | 61d48c2 | 2007-05-10 15:46:00 +0200 | [diff] [blame] | 71 | help |
Harald Freudenberger | a3358e3 | 2017-02-20 16:09:51 +0100 | [diff] [blame] | 72 | Select this option if you want to enable support for |
| 73 | s390 cryptographic adapters like: |
Martin Schwidefsky | 61d48c2 | 2007-05-10 15:46:00 +0200 | [diff] [blame] | 74 | + PCI-X Cryptographic Coprocessor (PCIXCC) |
Harald Freudenberger | a3358e3 | 2017-02-20 16:09:51 +0100 | [diff] [blame] | 75 | + Crypto Express 2,3,4 or 5 Coprocessor (CEXxC) |
| 76 | + Crypto Express 2,3,4 or 5 Accelerator (CEXxA) |
| 77 | + Crypto Express 4 or 5 EP11 Coprocessor (CEXxP) |
Martin Schwidefsky | 61d48c2 | 2007-05-10 15:46:00 +0200 | [diff] [blame] | 78 | |
Harald Freudenberger | 00fab23 | 2018-09-17 16:18:41 +0200 | [diff] [blame] | 79 | config ZCRYPT_MULTIDEVNODES |
| 80 | bool "Support for multiple zcrypt device nodes" |
| 81 | default y |
| 82 | depends on S390 |
| 83 | depends on ZCRYPT |
| 84 | help |
| 85 | With this option enabled the zcrypt device driver can |
| 86 | provide multiple devices nodes in /dev. Each device |
| 87 | node can get customized to limit access and narrow |
| 88 | down the use of the available crypto hardware. |
| 89 | |
Harald Freudenberger | e80d4af | 2016-11-02 14:37:20 +0100 | [diff] [blame] | 90 | config PKEY |
| 91 | tristate "Kernel API for protected key handling" |
| 92 | depends on S390 |
| 93 | depends on ZCRYPT |
| 94 | help |
| 95 | With this option enabled the pkey kernel module provides an API |
| 96 | for creation and handling of protected keys. Other parts of the |
| 97 | kernel or userspace applications may use these functions. |
| 98 | |
| 99 | Select this option if you want to enable the kernel and userspace |
| 100 | API for proteced key handling. |
| 101 | |
| 102 | Please note that creation of protected keys from secure keys |
| 103 | requires to have at least one CEX card in coprocessor mode |
| 104 | available at runtime. |
Martin Schwidefsky | 61d48c2 | 2007-05-10 15:46:00 +0200 | [diff] [blame] | 105 | |
Harald Freudenberger | c4684f9 | 2017-05-11 17:15:54 +0200 | [diff] [blame] | 106 | config CRYPTO_PAES_S390 |
| 107 | tristate "PAES cipher algorithms" |
| 108 | depends on S390 |
| 109 | depends on ZCRYPT |
| 110 | depends on PKEY |
| 111 | select CRYPTO_ALGAPI |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 112 | select CRYPTO_SKCIPHER |
Harald Freudenberger | c4684f9 | 2017-05-11 17:15:54 +0200 | [diff] [blame] | 113 | help |
| 114 | This is the s390 hardware accelerated implementation of the |
| 115 | AES cipher algorithms for use with protected key. |
| 116 | |
| 117 | Select this option if you want to use the paes cipher |
| 118 | for example to use protected key encrypted devices. |
| 119 | |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 120 | config CRYPTO_SHA1_S390 |
| 121 | tristate "SHA1 digest algorithm" |
| 122 | depends on S390 |
Herbert Xu | 563f346 | 2009-01-18 20:33:33 +1100 | [diff] [blame] | 123 | select CRYPTO_HASH |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 124 | help |
| 125 | This is the s390 hardware accelerated implementation of the |
| 126 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). |
| 127 | |
Jan Glauber | d393d9b | 2011-04-19 21:29:19 +0200 | [diff] [blame] | 128 | It is available as of z990. |
| 129 | |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 130 | config CRYPTO_SHA256_S390 |
| 131 | tristate "SHA256 digest algorithm" |
| 132 | depends on S390 |
Herbert Xu | 563f346 | 2009-01-18 20:33:33 +1100 | [diff] [blame] | 133 | select CRYPTO_HASH |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 134 | help |
| 135 | This is the s390 hardware accelerated implementation of the |
| 136 | SHA256 secure hash standard (DFIPS 180-2). |
| 137 | |
Jan Glauber | d393d9b | 2011-04-19 21:29:19 +0200 | [diff] [blame] | 138 | It is available as of z9. |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 139 | |
Jan Glauber | 291dc7c | 2008-03-06 19:52:00 +0800 | [diff] [blame] | 140 | config CRYPTO_SHA512_S390 |
Jan Glauber | 4e2c6d7 | 2008-03-06 19:53:50 +0800 | [diff] [blame] | 141 | tristate "SHA384 and SHA512 digest algorithm" |
Jan Glauber | 291dc7c | 2008-03-06 19:52:00 +0800 | [diff] [blame] | 142 | depends on S390 |
Herbert Xu | 563f346 | 2009-01-18 20:33:33 +1100 | [diff] [blame] | 143 | select CRYPTO_HASH |
Jan Glauber | 291dc7c | 2008-03-06 19:52:00 +0800 | [diff] [blame] | 144 | help |
| 145 | This is the s390 hardware accelerated implementation of the |
| 146 | SHA512 secure hash standard. |
| 147 | |
Jan Glauber | d393d9b | 2011-04-19 21:29:19 +0200 | [diff] [blame] | 148 | It is available as of z10. |
Jan Glauber | 291dc7c | 2008-03-06 19:52:00 +0800 | [diff] [blame] | 149 | |
Joerg Schmidbauer | 3c2eb6b | 2019-08-14 14:56:54 +0200 | [diff] [blame] | 150 | config CRYPTO_SHA3_256_S390 |
| 151 | tristate "SHA3_224 and SHA3_256 digest algorithm" |
| 152 | depends on S390 |
| 153 | select CRYPTO_HASH |
| 154 | help |
| 155 | This is the s390 hardware accelerated implementation of the |
| 156 | SHA3_256 secure hash standard. |
| 157 | |
| 158 | It is available as of z14. |
| 159 | |
| 160 | config CRYPTO_SHA3_512_S390 |
| 161 | tristate "SHA3_384 and SHA3_512 digest algorithm" |
| 162 | depends on S390 |
| 163 | select CRYPTO_HASH |
| 164 | help |
| 165 | This is the s390 hardware accelerated implementation of the |
| 166 | SHA3_512 secure hash standard. |
| 167 | |
| 168 | It is available as of z14. |
| 169 | |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 170 | config CRYPTO_DES_S390 |
| 171 | tristate "DES and Triple DES cipher algorithms" |
| 172 | depends on S390 |
| 173 | select CRYPTO_ALGAPI |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 174 | select CRYPTO_SKCIPHER |
Ard Biesheuvel | 04007b0 | 2019-08-15 12:01:09 +0300 | [diff] [blame] | 175 | select CRYPTO_LIB_DES |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 176 | help |
Gerald Schaefer | 0200f3e | 2011-05-04 15:09:44 +1000 | [diff] [blame] | 177 | This is the s390 hardware accelerated implementation of the |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 178 | DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). |
| 179 | |
Gerald Schaefer | 0200f3e | 2011-05-04 15:09:44 +1000 | [diff] [blame] | 180 | As of z990 the ECB and CBC mode are hardware accelerated. |
| 181 | As of z196 the CTR mode is hardware accelerated. |
| 182 | |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 183 | config CRYPTO_AES_S390 |
| 184 | tristate "AES cipher algorithms" |
| 185 | depends on S390 |
| 186 | select CRYPTO_ALGAPI |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 187 | select CRYPTO_SKCIPHER |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 188 | help |
| 189 | This is the s390 hardware accelerated implementation of the |
Gerald Schaefer | 99d9722 | 2011-04-26 16:12:42 +1000 | [diff] [blame] | 190 | AES cipher algorithms (FIPS-197). |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 191 | |
Gerald Schaefer | 99d9722 | 2011-04-26 16:12:42 +1000 | [diff] [blame] | 192 | As of z9 the ECB and CBC modes are hardware accelerated |
| 193 | for 128 bit keys. |
| 194 | As of z10 the ECB and CBC modes are hardware accelerated |
| 195 | for all AES key sizes. |
Gerald Schaefer | 0200f3e | 2011-05-04 15:09:44 +1000 | [diff] [blame] | 196 | As of z196 the CTR mode is hardware accelerated for all AES |
| 197 | key sizes and XTS mode is hardware accelerated for 256 and |
Gerald Schaefer | 99d9722 | 2011-04-26 16:12:42 +1000 | [diff] [blame] | 198 | 512 bit keys. |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 199 | |
| 200 | config S390_PRNG |
| 201 | tristate "Pseudo random number generator device driver" |
| 202 | depends on S390 |
| 203 | default "m" |
| 204 | help |
| 205 | Select this option if you want to use the s390 pseudo random number |
| 206 | generator. The PRNG is part of the cryptographic processor functions |
| 207 | and uses triple-DES to generate secure random numbers like the |
Jan Glauber | d393d9b | 2011-04-19 21:29:19 +0200 | [diff] [blame] | 208 | ANSI X9.17 standard. User-space programs access the |
| 209 | pseudo-random-number device through the char device /dev/prandom. |
| 210 | |
| 211 | It is available as of z9. |
Jan Glauber | 3f5615e | 2008-01-26 14:11:07 +0100 | [diff] [blame] | 212 | |
Gerald Schaefer | df1309c | 2011-04-19 21:29:18 +0200 | [diff] [blame] | 213 | config CRYPTO_GHASH_S390 |
Eric Biggers | 8dfa20f | 2019-07-19 23:09:18 -0700 | [diff] [blame] | 214 | tristate "GHASH hash function" |
Gerald Schaefer | df1309c | 2011-04-19 21:29:18 +0200 | [diff] [blame] | 215 | depends on S390 |
| 216 | select CRYPTO_HASH |
| 217 | help |
Eric Biggers | 8dfa20f | 2019-07-19 23:09:18 -0700 | [diff] [blame] | 218 | This is the s390 hardware accelerated implementation of GHASH, |
| 219 | the hash function used in GCM (Galois/Counter mode). |
Gerald Schaefer | df1309c | 2011-04-19 21:29:18 +0200 | [diff] [blame] | 220 | |
| 221 | It is available as of z196. |
| 222 | |
Hendrik Brueckner | f848dbd | 2015-04-28 15:52:44 +0200 | [diff] [blame] | 223 | config CRYPTO_CRC32_S390 |
| 224 | tristate "CRC-32 algorithms" |
| 225 | depends on S390 |
| 226 | select CRYPTO_HASH |
| 227 | select CRC32 |
| 228 | help |
| 229 | Select this option if you want to use hardware accelerated |
| 230 | implementations of CRC algorithms. With this option, you |
| 231 | can optimize the computation of CRC-32 (IEEE 802.3 Ethernet) |
| 232 | and CRC-32C (Castagnoli). |
| 233 | |
| 234 | It is available with IBM z13 or later. |
| 235 | |
Boris BREZILLON | f63601f | 2015-06-18 15:46:20 +0200 | [diff] [blame] | 236 | config CRYPTO_DEV_MARVELL_CESA |
Boris BREZILLON | 27b43fd | 2017-10-11 15:16:19 +0200 | [diff] [blame] | 237 | tristate "Marvell's Cryptographic Engine driver" |
Boris Brezillon | fe55dfd | 2015-06-22 09:22:14 +0200 | [diff] [blame] | 238 | depends on PLAT_ORION || ARCH_MVEBU |
Ard Biesheuvel | 18d8b96d | 2019-07-02 21:41:26 +0200 | [diff] [blame] | 239 | select CRYPTO_LIB_AES |
Ard Biesheuvel | 04007b0 | 2019-08-15 12:01:09 +0300 | [diff] [blame] | 240 | select CRYPTO_LIB_DES |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 241 | select CRYPTO_SKCIPHER |
Boris BREZILLON | f63601f | 2015-06-18 15:46:20 +0200 | [diff] [blame] | 242 | select CRYPTO_HASH |
| 243 | select SRAM |
| 244 | help |
| 245 | This driver allows you to utilize the Cryptographic Engines and |
Boris BREZILLON | 27b43fd | 2017-10-11 15:16:19 +0200 | [diff] [blame] | 246 | Security Accelerator (CESA) which can be found on MVEBU and ORION |
| 247 | platforms. |
Boris BREZILLON | db509a4 | 2015-06-18 15:46:21 +0200 | [diff] [blame] | 248 | This driver supports CPU offload through DMA transfers. |
Boris BREZILLON | f63601f | 2015-06-18 15:46:20 +0200 | [diff] [blame] | 249 | |
David S. Miller | 0a625fd2 | 2010-05-19 14:14:04 +1000 | [diff] [blame] | 250 | config CRYPTO_DEV_NIAGARA2 |
Krzysztof Kozlowski | 2452cfd | 2019-11-21 04:20:48 +0100 | [diff] [blame] | 251 | tristate "Niagara2 Stream Processing Unit driver" |
| 252 | select CRYPTO_LIB_DES |
| 253 | select CRYPTO_SKCIPHER |
| 254 | select CRYPTO_HASH |
| 255 | select CRYPTO_MD5 |
| 256 | select CRYPTO_SHA1 |
| 257 | select CRYPTO_SHA256 |
| 258 | depends on SPARC64 |
| 259 | help |
David S. Miller | 0a625fd2 | 2010-05-19 14:14:04 +1000 | [diff] [blame] | 260 | Each core of a Niagara2 processor contains a Stream |
| 261 | Processing Unit, which itself contains several cryptographic |
| 262 | sub-units. One set provides the Modular Arithmetic Unit, |
| 263 | used for SSL offload. The other set provides the Cipher |
| 264 | Group, which can perform encryption, decryption, hashing, |
| 265 | checksumming, and raw copies. |
| 266 | |
Evgeniy Polyakov | f7d0561 | 2007-10-26 21:31:14 +0800 | [diff] [blame] | 267 | config CRYPTO_DEV_HIFN_795X |
| 268 | tristate "Driver HIFN 795x crypto accelerator chips" |
Ard Biesheuvel | 04007b0 | 2019-08-15 12:01:09 +0300 | [diff] [blame] | 269 | select CRYPTO_LIB_DES |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 270 | select CRYPTO_SKCIPHER |
Herbert Xu | 946fef4 | 2008-01-26 09:48:44 +1100 | [diff] [blame] | 271 | select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG |
Jan Glauber | 2707b93 | 2007-11-12 21:56:38 +0800 | [diff] [blame] | 272 | depends on PCI |
Richard Weinberger | 75b7662 | 2011-10-10 12:55:41 +0200 | [diff] [blame] | 273 | depends on !ARCH_DMA_ADDR_T_64BIT |
Evgeniy Polyakov | f7d0561 | 2007-10-26 21:31:14 +0800 | [diff] [blame] | 274 | help |
| 275 | This option allows you to have support for HIFN 795x crypto adapters. |
| 276 | |
Herbert Xu | 946fef4 | 2008-01-26 09:48:44 +1100 | [diff] [blame] | 277 | config CRYPTO_DEV_HIFN_795X_RNG |
| 278 | bool "HIFN 795x random number generator" |
| 279 | depends on CRYPTO_DEV_HIFN_795X |
| 280 | help |
| 281 | Select this option if you want to enable the random number generator |
| 282 | on the HIFN 795x crypto adapters. |
Evgeniy Polyakov | f7d0561 | 2007-10-26 21:31:14 +0800 | [diff] [blame] | 283 | |
Masahiro Yamada | 8636a1f | 2018-12-11 20:01:04 +0900 | [diff] [blame] | 284 | source "drivers/crypto/caam/Kconfig" |
Kim Phillips | 8e8ec59 | 2011-03-13 16:54:26 +0800 | [diff] [blame] | 285 | |
Kim Phillips | 9c4a796 | 2008-06-23 19:50:15 +0800 | [diff] [blame] | 286 | config CRYPTO_DEV_TALITOS |
| 287 | tristate "Talitos Freescale Security Engine (SEC)" |
Herbert Xu | 596103c | 2015-06-17 14:58:24 +0800 | [diff] [blame] | 288 | select CRYPTO_AEAD |
Kim Phillips | 9c4a796 | 2008-06-23 19:50:15 +0800 | [diff] [blame] | 289 | select CRYPTO_AUTHENC |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 290 | select CRYPTO_SKCIPHER |
Herbert Xu | 596103c | 2015-06-17 14:58:24 +0800 | [diff] [blame] | 291 | select CRYPTO_HASH |
Herbert Xu | dbc2e87 | 2019-11-26 19:28:36 +0800 | [diff] [blame] | 292 | select CRYPTO_LIB_DES |
Kim Phillips | 9c4a796 | 2008-06-23 19:50:15 +0800 | [diff] [blame] | 293 | select HW_RANDOM |
| 294 | depends on FSL_SOC |
| 295 | help |
| 296 | Say 'Y' here to use the Freescale Security Engine (SEC) |
| 297 | to offload cryptographic algorithm computation. |
| 298 | |
| 299 | The Freescale SEC is present on PowerQUICC 'E' processors, such |
| 300 | as the MPC8349E and MPC8548E. |
| 301 | |
| 302 | To compile this driver as a module, choose M here: the module |
| 303 | will be called talitos. |
| 304 | |
LEROY Christophe | 5b841a6 | 2015-04-17 16:32:03 +0200 | [diff] [blame] | 305 | config CRYPTO_DEV_TALITOS1 |
| 306 | bool "SEC1 (SEC 1.0 and SEC Lite 1.2)" |
| 307 | depends on CRYPTO_DEV_TALITOS |
| 308 | depends on PPC_8xx || PPC_82xx |
| 309 | default y |
| 310 | help |
| 311 | Say 'Y' here to use the Freescale Security Engine (SEC) version 1.0 |
| 312 | found on MPC82xx or the Freescale Security Engine (SEC Lite) |
| 313 | version 1.2 found on MPC8xx |
| 314 | |
| 315 | config CRYPTO_DEV_TALITOS2 |
| 316 | bool "SEC2+ (SEC version 2.0 or upper)" |
| 317 | depends on CRYPTO_DEV_TALITOS |
| 318 | default y if !PPC_8xx |
| 319 | help |
| 320 | Say 'Y' here to use the Freescale Security Engine (SEC) |
| 321 | version 2 and following as found on MPC83xx, MPC85xx, etc ... |
| 322 | |
Christian Hohnstaedt | 81bef01 | 2008-06-25 14:38:47 +0800 | [diff] [blame] | 323 | config CRYPTO_DEV_IXP4XX |
| 324 | tristate "Driver for IXP4xx crypto hardware acceleration" |
Krzysztof Hałasa | 9665c52 | 2010-03-25 23:56:05 +0100 | [diff] [blame] | 325 | depends on ARCH_IXP4XX && IXP4XX_QMGR && IXP4XX_NPE |
Ard Biesheuvel | 04007b0 | 2019-08-15 12:01:09 +0300 | [diff] [blame] | 326 | select CRYPTO_LIB_DES |
Herbert Xu | 596103c | 2015-06-17 14:58:24 +0800 | [diff] [blame] | 327 | select CRYPTO_AEAD |
Imre Kaloz | 090657e | 2008-07-13 20:12:11 +0800 | [diff] [blame] | 328 | select CRYPTO_AUTHENC |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 329 | select CRYPTO_SKCIPHER |
Christian Hohnstaedt | 81bef01 | 2008-06-25 14:38:47 +0800 | [diff] [blame] | 330 | help |
| 331 | Driver for the IXP4xx NPE crypto engine. |
| 332 | |
James Hsiao | 049359d | 2009-02-05 16:18:13 +1100 | [diff] [blame] | 333 | config CRYPTO_DEV_PPC4XX |
| 334 | tristate "Driver AMCC PPC4xx crypto accelerator" |
| 335 | depends on PPC && 4xx |
| 336 | select CRYPTO_HASH |
Christian Lamparter | a0aae82 | 2017-10-04 01:00:15 +0200 | [diff] [blame] | 337 | select CRYPTO_AEAD |
Christian Lamparter | 298b4c6 | 2019-10-27 16:47:47 +0100 | [diff] [blame] | 338 | select CRYPTO_AES |
Ard Biesheuvel | da3e7a9 | 2019-07-02 21:41:42 +0200 | [diff] [blame] | 339 | select CRYPTO_LIB_AES |
Christian Lamparter | a0aae82 | 2017-10-04 01:00:15 +0200 | [diff] [blame] | 340 | select CRYPTO_CCM |
Christian Lamparter | 98e87e3 | 2018-04-19 18:41:54 +0200 | [diff] [blame] | 341 | select CRYPTO_CTR |
Christian Lamparter | a0aae82 | 2017-10-04 01:00:15 +0200 | [diff] [blame] | 342 | select CRYPTO_GCM |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 343 | select CRYPTO_SKCIPHER |
James Hsiao | 049359d | 2009-02-05 16:18:13 +1100 | [diff] [blame] | 344 | help |
| 345 | This option allows you to have support for AMCC crypto acceleration. |
| 346 | |
Christian Lamparter | 5343e67 | 2016-04-18 12:57:41 +0200 | [diff] [blame] | 347 | config HW_RANDOM_PPC4XX |
| 348 | bool "PowerPC 4xx generic true random number generator support" |
| 349 | depends on CRYPTO_DEV_PPC4XX && HW_RANDOM |
| 350 | default y |
| 351 | ---help--- |
| 352 | This option provides the kernel-side support for the TRNG hardware |
| 353 | found in the security function of some PowerPC 4xx SoCs. |
| 354 | |
Tero Kristo | 74ed87e | 2017-05-24 10:35:26 +0300 | [diff] [blame] | 355 | config CRYPTO_DEV_OMAP |
| 356 | tristate "Support for OMAP crypto HW accelerators" |
| 357 | depends on ARCH_OMAP2PLUS |
| 358 | help |
| 359 | OMAP processors have various crypto HW accelerators. Select this if |
Krzysztof Kozlowski | 2452cfd | 2019-11-21 04:20:48 +0100 | [diff] [blame] | 360 | you want to use the OMAP modules for any of the crypto algorithms. |
Tero Kristo | 74ed87e | 2017-05-24 10:35:26 +0300 | [diff] [blame] | 361 | |
| 362 | if CRYPTO_DEV_OMAP |
| 363 | |
Dmitry Kasatkin | 8628e7c | 2010-05-03 11:10:59 +0800 | [diff] [blame] | 364 | config CRYPTO_DEV_OMAP_SHAM |
Lokesh Vutla | eaef7e3 | 2013-07-26 12:29:14 +0530 | [diff] [blame] | 365 | tristate "Support for OMAP MD5/SHA1/SHA2 hw accelerator" |
| 366 | depends on ARCH_OMAP2PLUS |
Dmitry Kasatkin | 8628e7c | 2010-05-03 11:10:59 +0800 | [diff] [blame] | 367 | select CRYPTO_SHA1 |
| 368 | select CRYPTO_MD5 |
Lokesh Vutla | eaef7e3 | 2013-07-26 12:29:14 +0530 | [diff] [blame] | 369 | select CRYPTO_SHA256 |
| 370 | select CRYPTO_SHA512 |
| 371 | select CRYPTO_HMAC |
Dmitry Kasatkin | 8628e7c | 2010-05-03 11:10:59 +0800 | [diff] [blame] | 372 | help |
Lokesh Vutla | eaef7e3 | 2013-07-26 12:29:14 +0530 | [diff] [blame] | 373 | OMAP processors have MD5/SHA1/SHA2 hw accelerator. Select this if you |
| 374 | want to use the OMAP module for MD5/SHA1/SHA2 algorithms. |
Dmitry Kasatkin | 8628e7c | 2010-05-03 11:10:59 +0800 | [diff] [blame] | 375 | |
Dmitry Kasatkin | 537559a | 2010-09-03 19:16:02 +0800 | [diff] [blame] | 376 | config CRYPTO_DEV_OMAP_AES |
| 377 | tristate "Support for OMAP AES hw engine" |
Joel Fernandes | 1bbf643 | 2013-08-17 21:42:35 -0500 | [diff] [blame] | 378 | depends on ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS |
Dmitry Kasatkin | 537559a | 2010-09-03 19:16:02 +0800 | [diff] [blame] | 379 | select CRYPTO_AES |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 380 | select CRYPTO_SKCIPHER |
Baolin Wang | 0529900 | 2016-01-26 20:25:40 +0800 | [diff] [blame] | 381 | select CRYPTO_ENGINE |
Lokesh Vutla | 9fcb191 | 2016-08-04 13:28:44 +0300 | [diff] [blame] | 382 | select CRYPTO_CBC |
| 383 | select CRYPTO_ECB |
| 384 | select CRYPTO_CTR |
Tero Kristo | ad18cc9 | 2017-05-24 10:35:31 +0300 | [diff] [blame] | 385 | select CRYPTO_AEAD |
Dmitry Kasatkin | 537559a | 2010-09-03 19:16:02 +0800 | [diff] [blame] | 386 | help |
| 387 | OMAP processors have AES module accelerator. Select this if you |
| 388 | want to use the OMAP module for AES algorithms. |
| 389 | |
Joel Fernandes | 701d0f1 | 2014-02-14 10:49:47 -0600 | [diff] [blame] | 390 | config CRYPTO_DEV_OMAP_DES |
Peter Meerwald | 97ee7ed | 2016-03-13 16:15:37 +0100 | [diff] [blame] | 391 | tristate "Support for OMAP DES/3DES hw engine" |
Joel Fernandes | 701d0f1 | 2014-02-14 10:49:47 -0600 | [diff] [blame] | 392 | depends on ARCH_OMAP2PLUS |
Ard Biesheuvel | 04007b0 | 2019-08-15 12:01:09 +0300 | [diff] [blame] | 393 | select CRYPTO_LIB_DES |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 394 | select CRYPTO_SKCIPHER |
Baolin Wang | f1b77aa | 2016-04-28 14:11:51 +0800 | [diff] [blame] | 395 | select CRYPTO_ENGINE |
Joel Fernandes | 701d0f1 | 2014-02-14 10:49:47 -0600 | [diff] [blame] | 396 | help |
| 397 | OMAP processors have DES/3DES module accelerator. Select this if you |
| 398 | want to use the OMAP module for DES and 3DES algorithms. Currently |
Peter Meerwald | 97ee7ed | 2016-03-13 16:15:37 +0100 | [diff] [blame] | 399 | the ECB and CBC modes of operation are supported by the driver. Also |
| 400 | accesses made on unaligned boundaries are supported. |
Joel Fernandes | 701d0f1 | 2014-02-14 10:49:47 -0600 | [diff] [blame] | 401 | |
Tero Kristo | 74ed87e | 2017-05-24 10:35:26 +0300 | [diff] [blame] | 402 | endif # CRYPTO_DEV_OMAP |
| 403 | |
Jamie Iles | ce92136 | 2011-02-21 16:43:21 +1100 | [diff] [blame] | 404 | config CRYPTO_DEV_PICOXCELL |
| 405 | tristate "Support for picoXcell IPSEC and Layer2 crypto engines" |
Javier Martinez Canillas | 4f44d86 | 2017-01-02 14:06:57 -0300 | [diff] [blame] | 406 | depends on (ARCH_PICOXCELL || COMPILE_TEST) && HAVE_CLK |
Herbert Xu | 596103c | 2015-06-17 14:58:24 +0800 | [diff] [blame] | 407 | select CRYPTO_AEAD |
Jamie Iles | ce92136 | 2011-02-21 16:43:21 +1100 | [diff] [blame] | 408 | select CRYPTO_AES |
| 409 | select CRYPTO_AUTHENC |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 410 | select CRYPTO_SKCIPHER |
Ard Biesheuvel | 04007b0 | 2019-08-15 12:01:09 +0300 | [diff] [blame] | 411 | select CRYPTO_LIB_DES |
Jamie Iles | ce92136 | 2011-02-21 16:43:21 +1100 | [diff] [blame] | 412 | select CRYPTO_CBC |
| 413 | select CRYPTO_ECB |
| 414 | select CRYPTO_SEQIV |
| 415 | help |
| 416 | This option enables support for the hardware offload engines in the |
| 417 | Picochip picoXcell SoC devices. Select this for IPSEC ESP offload |
| 418 | and for 3gpp Layer 2 ciphering support. |
| 419 | |
Christophe JAILLET | 309b77e | 2019-08-19 07:18:33 +0200 | [diff] [blame] | 420 | Saying m here will build a module named picoxcell_crypto. |
Jamie Iles | ce92136 | 2011-02-21 16:43:21 +1100 | [diff] [blame] | 421 | |
Javier Martin | 5de8875 | 2013-03-01 12:37:53 +0100 | [diff] [blame] | 422 | config CRYPTO_DEV_SAHARA |
| 423 | tristate "Support for SAHARA crypto accelerator" |
Paul Bolle | 74d24d8 | 2013-05-12 13:57:19 +0200 | [diff] [blame] | 424 | depends on ARCH_MXC && OF |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 425 | select CRYPTO_SKCIPHER |
Javier Martin | 5de8875 | 2013-03-01 12:37:53 +0100 | [diff] [blame] | 426 | select CRYPTO_AES |
| 427 | select CRYPTO_ECB |
| 428 | help |
| 429 | This option enables support for the SAHARA HW crypto accelerator |
| 430 | found in some Freescale i.MX chips. |
| 431 | |
Krzysztof Kozlowski | c46ea13 | 2017-04-11 20:08:35 +0200 | [diff] [blame] | 432 | config CRYPTO_DEV_EXYNOS_RNG |
| 433 | tristate "EXYNOS HW pseudo random number generator support" |
| 434 | depends on ARCH_EXYNOS || COMPILE_TEST |
| 435 | depends on HAS_IOMEM |
| 436 | select CRYPTO_RNG |
| 437 | ---help--- |
| 438 | This driver provides kernel-side support through the |
| 439 | cryptographic API for the pseudo random number generator hardware |
| 440 | found on Exynos SoCs. |
| 441 | |
| 442 | To compile this driver as a module, choose M here: the |
| 443 | module will be called exynos-rng. |
| 444 | |
| 445 | If unsure, say Y. |
| 446 | |
Vladimir Zapolskiy | a49e490 | 2011-04-08 20:40:51 +0800 | [diff] [blame] | 447 | config CRYPTO_DEV_S5P |
Naveen Krishna Chatradhi | e922e96 | 2014-05-08 21:58:14 +0800 | [diff] [blame] | 448 | tristate "Support for Samsung S5PV210/Exynos crypto accelerator" |
Krzysztof Kozlowski | dc1d9de | 2016-03-14 13:20:18 +0900 | [diff] [blame] | 449 | depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST |
Geert Uytterhoeven | ee1b23d | 2018-04-17 19:49:03 +0200 | [diff] [blame] | 450 | depends on HAS_IOMEM |
Vladimir Zapolskiy | a49e490 | 2011-04-08 20:40:51 +0800 | [diff] [blame] | 451 | select CRYPTO_AES |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 452 | select CRYPTO_SKCIPHER |
Vladimir Zapolskiy | a49e490 | 2011-04-08 20:40:51 +0800 | [diff] [blame] | 453 | help |
| 454 | This option allows you to have support for S5P crypto acceleration. |
Naveen Krishna Chatradhi | e922e96 | 2014-05-08 21:58:14 +0800 | [diff] [blame] | 455 | Select this to offload Samsung S5PV210 or S5PC110, Exynos from AES |
Vladimir Zapolskiy | a49e490 | 2011-04-08 20:40:51 +0800 | [diff] [blame] | 456 | algorithms execution. |
| 457 | |
Kamil Konieczny | c2afad6 | 2017-10-25 17:27:35 +0200 | [diff] [blame] | 458 | config CRYPTO_DEV_EXYNOS_HASH |
| 459 | bool "Support for Samsung Exynos HASH accelerator" |
| 460 | depends on CRYPTO_DEV_S5P |
| 461 | depends on !CRYPTO_DEV_EXYNOS_RNG && CRYPTO_DEV_EXYNOS_RNG!=m |
| 462 | select CRYPTO_SHA1 |
| 463 | select CRYPTO_MD5 |
| 464 | select CRYPTO_SHA256 |
| 465 | help |
| 466 | Select this to offload Exynos from HASH MD5/SHA1/SHA256. |
| 467 | This will select software SHA1, MD5 and SHA256 as they are |
| 468 | needed for small and zero-size messages. |
| 469 | HASH algorithms will be disabled if EXYNOS_RNG |
| 470 | is enabled due to hw conflict. |
| 471 | |
Kent Yoder | aef7b31 | 2012-04-12 05:39:26 +0000 | [diff] [blame] | 472 | config CRYPTO_DEV_NX |
Dan Streetman | 7011a12 | 2015-05-07 13:49:17 -0400 | [diff] [blame] | 473 | bool "Support for IBM PowerPC Nest (NX) cryptographic acceleration" |
| 474 | depends on PPC64 |
Kent Yoder | aef7b31 | 2012-04-12 05:39:26 +0000 | [diff] [blame] | 475 | help |
Dan Streetman | 7011a12 | 2015-05-07 13:49:17 -0400 | [diff] [blame] | 476 | This enables support for the NX hardware cryptographic accelerator |
| 477 | coprocessor that is in IBM PowerPC P7+ or later processors. This |
| 478 | does not actually enable any drivers, it only allows you to select |
| 479 | which acceleration type (encryption and/or compression) to enable. |
Seth Jennings | 322cacc | 2012-07-19 09:42:38 -0500 | [diff] [blame] | 480 | |
| 481 | if CRYPTO_DEV_NX |
| 482 | source "drivers/crypto/nx/Kconfig" |
| 483 | endif |
Kent Yoder | aef7b31 | 2012-04-12 05:39:26 +0000 | [diff] [blame] | 484 | |
Andreas Westin | 2789c08 | 2012-04-30 10:11:17 +0200 | [diff] [blame] | 485 | config CRYPTO_DEV_UX500 |
| 486 | tristate "Driver for ST-Ericsson UX500 crypto hardware acceleration" |
| 487 | depends on ARCH_U8500 |
Andreas Westin | 2789c08 | 2012-04-30 10:11:17 +0200 | [diff] [blame] | 488 | help |
| 489 | Driver for ST-Ericsson UX500 crypto engine. |
| 490 | |
| 491 | if CRYPTO_DEV_UX500 |
| 492 | source "drivers/crypto/ux500/Kconfig" |
| 493 | endif # if CRYPTO_DEV_UX500 |
| 494 | |
Cyrille Pitchen | 89a82ef | 2017-01-26 17:07:56 +0100 | [diff] [blame] | 495 | config CRYPTO_DEV_ATMEL_AUTHENC |
YueHaibing | aee1f9f | 2019-11-13 17:55:50 +0800 | [diff] [blame] | 496 | bool "Support for Atmel IPSEC/SSL hw accelerator" |
Arnd Bergmann | ceb4afb | 2017-02-06 13:32:15 +0100 | [diff] [blame] | 497 | depends on ARCH_AT91 || COMPILE_TEST |
YueHaibing | aee1f9f | 2019-11-13 17:55:50 +0800 | [diff] [blame] | 498 | depends on CRYPTO_DEV_ATMEL_AES |
Cyrille Pitchen | 89a82ef | 2017-01-26 17:07:56 +0100 | [diff] [blame] | 499 | help |
| 500 | Some Atmel processors can combine the AES and SHA hw accelerators |
| 501 | to enhance support of IPSEC/SSL. |
| 502 | Select this if you want to use the Atmel modules for |
| 503 | authenc(hmac(shaX),Y(cbc)) algorithms. |
| 504 | |
Nicolas Royer | bd3c7b5 | 2012-07-01 19:19:44 +0200 | [diff] [blame] | 505 | config CRYPTO_DEV_ATMEL_AES |
| 506 | tristate "Support for Atmel AES hw accelerator" |
Arnd Bergmann | ceb4afb | 2017-02-06 13:32:15 +0100 | [diff] [blame] | 507 | depends on ARCH_AT91 || COMPILE_TEST |
Nicolas Royer | bd3c7b5 | 2012-07-01 19:19:44 +0200 | [diff] [blame] | 508 | select CRYPTO_AES |
Cyrille Pitchen | d441954 | 2015-12-17 18:13:07 +0100 | [diff] [blame] | 509 | select CRYPTO_AEAD |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 510 | select CRYPTO_SKCIPHER |
YueHaibing | aee1f9f | 2019-11-13 17:55:50 +0800 | [diff] [blame] | 511 | select CRYPTO_AUTHENC if CRYPTO_DEV_ATMEL_AUTHENC |
| 512 | select CRYPTO_DEV_ATMEL_SHA if CRYPTO_DEV_ATMEL_AUTHENC |
Nicolas Royer | bd3c7b5 | 2012-07-01 19:19:44 +0200 | [diff] [blame] | 513 | help |
| 514 | Some Atmel processors have AES hw accelerator. |
| 515 | Select this if you want to use the Atmel module for |
| 516 | AES algorithms. |
| 517 | |
| 518 | To compile this driver as a module, choose M here: the module |
| 519 | will be called atmel-aes. |
| 520 | |
Nicolas Royer | 1380200 | 2012-07-01 19:19:45 +0200 | [diff] [blame] | 521 | config CRYPTO_DEV_ATMEL_TDES |
| 522 | tristate "Support for Atmel DES/TDES hw accelerator" |
Arnd Bergmann | ceb4afb | 2017-02-06 13:32:15 +0100 | [diff] [blame] | 523 | depends on ARCH_AT91 || COMPILE_TEST |
Ard Biesheuvel | 04007b0 | 2019-08-15 12:01:09 +0300 | [diff] [blame] | 524 | select CRYPTO_LIB_DES |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 525 | select CRYPTO_SKCIPHER |
Nicolas Royer | 1380200 | 2012-07-01 19:19:45 +0200 | [diff] [blame] | 526 | help |
| 527 | Some Atmel processors have DES/TDES hw accelerator. |
| 528 | Select this if you want to use the Atmel module for |
| 529 | DES/TDES algorithms. |
| 530 | |
| 531 | To compile this driver as a module, choose M here: the module |
| 532 | will be called atmel-tdes. |
| 533 | |
Nicolas Royer | ebc82ef | 2012-07-01 19:19:46 +0200 | [diff] [blame] | 534 | config CRYPTO_DEV_ATMEL_SHA |
Nicolas Royer | d4905b3 | 2013-02-20 17:10:26 +0100 | [diff] [blame] | 535 | tristate "Support for Atmel SHA hw accelerator" |
Arnd Bergmann | ceb4afb | 2017-02-06 13:32:15 +0100 | [diff] [blame] | 536 | depends on ARCH_AT91 || COMPILE_TEST |
Herbert Xu | 596103c | 2015-06-17 14:58:24 +0800 | [diff] [blame] | 537 | select CRYPTO_HASH |
Nicolas Royer | ebc82ef | 2012-07-01 19:19:46 +0200 | [diff] [blame] | 538 | help |
Nicolas Royer | d4905b3 | 2013-02-20 17:10:26 +0100 | [diff] [blame] | 539 | Some Atmel processors have SHA1/SHA224/SHA256/SHA384/SHA512 |
| 540 | hw accelerator. |
Nicolas Royer | ebc82ef | 2012-07-01 19:19:46 +0200 | [diff] [blame] | 541 | Select this if you want to use the Atmel module for |
Nicolas Royer | d4905b3 | 2013-02-20 17:10:26 +0100 | [diff] [blame] | 542 | SHA1/SHA224/SHA256/SHA384/SHA512 algorithms. |
Nicolas Royer | ebc82ef | 2012-07-01 19:19:46 +0200 | [diff] [blame] | 543 | |
| 544 | To compile this driver as a module, choose M here: the module |
| 545 | will be called atmel-sha. |
| 546 | |
Ard Biesheuvel | c34a320 | 2019-05-24 18:26:48 +0200 | [diff] [blame] | 547 | config CRYPTO_DEV_ATMEL_I2C |
| 548 | tristate |
| 549 | |
Tudor-Dan Ambarus | 1110569 | 2017-07-05 13:07:59 +0300 | [diff] [blame] | 550 | config CRYPTO_DEV_ATMEL_ECC |
| 551 | tristate "Support for Microchip / Atmel ECC hw accelerator" |
Tudor-Dan Ambarus | 1110569 | 2017-07-05 13:07:59 +0300 | [diff] [blame] | 552 | depends on I2C |
Ard Biesheuvel | c34a320 | 2019-05-24 18:26:48 +0200 | [diff] [blame] | 553 | select CRYPTO_DEV_ATMEL_I2C |
Tudor-Dan Ambarus | 1110569 | 2017-07-05 13:07:59 +0300 | [diff] [blame] | 554 | select CRYPTO_ECDH |
| 555 | select CRC16 |
| 556 | help |
| 557 | Microhip / Atmel ECC hw accelerator. |
| 558 | Select this if you want to use the Microchip / Atmel module for |
| 559 | ECDH algorithm. |
| 560 | |
| 561 | To compile this driver as a module, choose M here: the module |
| 562 | will be called atmel-ecc. |
| 563 | |
Ard Biesheuvel | da001fb | 2019-05-24 18:26:49 +0200 | [diff] [blame] | 564 | config CRYPTO_DEV_ATMEL_SHA204A |
| 565 | tristate "Support for Microchip / Atmel SHA accelerator and RNG" |
| 566 | depends on I2C |
| 567 | select CRYPTO_DEV_ATMEL_I2C |
| 568 | select HW_RANDOM |
YueHaibing | 4bb02db | 2019-05-31 20:17:49 +0800 | [diff] [blame] | 569 | select CRC16 |
Ard Biesheuvel | da001fb | 2019-05-24 18:26:49 +0200 | [diff] [blame] | 570 | help |
| 571 | Microhip / Atmel SHA accelerator and RNG. |
| 572 | Select this if you want to use the Microchip / Atmel SHA204A |
| 573 | module as a random number generator. (Other functions of the |
| 574 | chip are currently not exposed by this driver) |
| 575 | |
| 576 | To compile this driver as a module, choose M here: the module |
| 577 | will be called atmel-sha204a. |
| 578 | |
Tom Lendacky | f114766 | 2013-11-12 11:46:51 -0600 | [diff] [blame] | 579 | config CRYPTO_DEV_CCP |
Brijesh Singh | 720419f | 2017-07-06 09:59:14 -0500 | [diff] [blame] | 580 | bool "Support for AMD Secure Processor" |
Tom Lendacky | 6c50634 | 2015-02-03 13:07:29 -0600 | [diff] [blame] | 581 | depends on ((X86 && PCI) || (ARM64 && (OF_ADDRESS || ACPI))) && HAS_IOMEM |
Tom Lendacky | f114766 | 2013-11-12 11:46:51 -0600 | [diff] [blame] | 582 | help |
Brijesh Singh | 720419f | 2017-07-06 09:59:14 -0500 | [diff] [blame] | 583 | The AMD Secure Processor provides support for the Cryptographic Coprocessor |
| 584 | (CCP) and the Platform Security Processor (PSP) devices. |
Tom Lendacky | f114766 | 2013-11-12 11:46:51 -0600 | [diff] [blame] | 585 | |
| 586 | if CRYPTO_DEV_CCP |
| 587 | source "drivers/crypto/ccp/Kconfig" |
| 588 | endif |
| 589 | |
Marek Vasut | 15b59e7 | 2013-12-10 20:26:21 +0100 | [diff] [blame] | 590 | config CRYPTO_DEV_MXS_DCP |
| 591 | tristate "Support for Freescale MXS DCP" |
Fabio Estevam | a2712e6 | 2015-09-02 12:05:18 -0300 | [diff] [blame] | 592 | depends on (ARCH_MXS || ARCH_MXC) |
Arnd Bergmann | dc97fa0 | 2015-10-12 15:52:34 +0200 | [diff] [blame] | 593 | select STMP_DEVICE |
Marek Vasut | 15b59e7 | 2013-12-10 20:26:21 +0100 | [diff] [blame] | 594 | select CRYPTO_CBC |
| 595 | select CRYPTO_ECB |
| 596 | select CRYPTO_AES |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 597 | select CRYPTO_SKCIPHER |
Herbert Xu | 596103c | 2015-06-17 14:58:24 +0800 | [diff] [blame] | 598 | select CRYPTO_HASH |
Marek Vasut | 15b59e7 | 2013-12-10 20:26:21 +0100 | [diff] [blame] | 599 | help |
| 600 | The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB |
| 601 | co-processor on the die. |
| 602 | |
| 603 | To compile this driver as a module, choose M here: the module |
| 604 | will be called mxs-dcp. |
| 605 | |
Tadeusz Struk | cea4001 | 2014-06-05 13:44:39 -0700 | [diff] [blame] | 606 | source "drivers/crypto/qat/Kconfig" |
George Cherian | 62ad8b5 | 2017-02-07 14:51:15 +0000 | [diff] [blame] | 607 | source "drivers/crypto/cavium/cpt/Kconfig" |
Srikanth Jampala | 14fa93c | 2017-05-30 17:28:01 +0530 | [diff] [blame] | 608 | source "drivers/crypto/cavium/nitrox/Kconfig" |
Stanimir Varbanov | c672752 | 2014-06-25 19:28:58 +0300 | [diff] [blame] | 609 | |
Mahipal Challa | 640035a | 2017-02-15 10:45:08 +0530 | [diff] [blame] | 610 | config CRYPTO_DEV_CAVIUM_ZIP |
| 611 | tristate "Cavium ZIP driver" |
| 612 | depends on PCI && 64BIT && (ARM64 || COMPILE_TEST) |
| 613 | ---help--- |
| 614 | Select this option if you want to enable compression/decompression |
| 615 | acceleration on Cavium's ARM based SoCs |
| 616 | |
Stanimir Varbanov | c672752 | 2014-06-25 19:28:58 +0300 | [diff] [blame] | 617 | config CRYPTO_DEV_QCE |
| 618 | tristate "Qualcomm crypto engine accelerator" |
Geert Uytterhoeven | ee1b23d | 2018-04-17 19:49:03 +0200 | [diff] [blame] | 619 | depends on ARCH_QCOM || COMPILE_TEST |
| 620 | depends on HAS_IOMEM |
Eneas U de Queiroz | 59e056c | 2019-12-20 16:02:18 -0300 | [diff] [blame] | 621 | help |
| 622 | This driver supports Qualcomm crypto engine accelerator |
| 623 | hardware. To compile this driver as a module, choose M here. The |
| 624 | module will be called qcrypto. |
| 625 | |
| 626 | config CRYPTO_DEV_QCE_SKCIPHER |
| 627 | bool |
| 628 | depends on CRYPTO_DEV_QCE |
Stanimir Varbanov | c672752 | 2014-06-25 19:28:58 +0300 | [diff] [blame] | 629 | select CRYPTO_AES |
Ard Biesheuvel | 04007b0 | 2019-08-15 12:01:09 +0300 | [diff] [blame] | 630 | select CRYPTO_LIB_DES |
Stanimir Varbanov | c672752 | 2014-06-25 19:28:58 +0300 | [diff] [blame] | 631 | select CRYPTO_ECB |
| 632 | select CRYPTO_CBC |
| 633 | select CRYPTO_XTS |
| 634 | select CRYPTO_CTR |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 635 | select CRYPTO_SKCIPHER |
Eneas U de Queiroz | 59e056c | 2019-12-20 16:02:18 -0300 | [diff] [blame] | 636 | |
| 637 | config CRYPTO_DEV_QCE_SHA |
| 638 | bool |
| 639 | depends on CRYPTO_DEV_QCE |
| 640 | |
| 641 | choice |
| 642 | prompt "Algorithms enabled for QCE acceleration" |
| 643 | default CRYPTO_DEV_QCE_ENABLE_ALL |
| 644 | depends on CRYPTO_DEV_QCE |
Stanimir Varbanov | c672752 | 2014-06-25 19:28:58 +0300 | [diff] [blame] | 645 | help |
Eneas U de Queiroz | 59e056c | 2019-12-20 16:02:18 -0300 | [diff] [blame] | 646 | This option allows to choose whether to build support for all algorihtms |
| 647 | (default), hashes-only, or skciphers-only. |
| 648 | |
| 649 | The QCE engine does not appear to scale as well as the CPU to handle |
| 650 | multiple crypto requests. While the ipq40xx chips have 4-core CPUs, the |
| 651 | QCE handles only 2 requests in parallel. |
| 652 | |
| 653 | Ipsec throughput seems to improve when disabling either family of |
| 654 | algorithms, sharing the load with the CPU. Enabling skciphers-only |
| 655 | appears to work best. |
| 656 | |
| 657 | config CRYPTO_DEV_QCE_ENABLE_ALL |
| 658 | bool "All supported algorithms" |
| 659 | select CRYPTO_DEV_QCE_SKCIPHER |
| 660 | select CRYPTO_DEV_QCE_SHA |
| 661 | help |
| 662 | Enable all supported algorithms: |
| 663 | - AES (CBC, CTR, ECB, XTS) |
| 664 | - 3DES (CBC, ECB) |
| 665 | - DES (CBC, ECB) |
| 666 | - SHA1, HMAC-SHA1 |
| 667 | - SHA256, HMAC-SHA256 |
| 668 | |
| 669 | config CRYPTO_DEV_QCE_ENABLE_SKCIPHER |
| 670 | bool "Symmetric-key ciphers only" |
| 671 | select CRYPTO_DEV_QCE_SKCIPHER |
| 672 | help |
| 673 | Enable symmetric-key ciphers only: |
| 674 | - AES (CBC, CTR, ECB, XTS) |
| 675 | - 3DES (ECB, CBC) |
| 676 | - DES (ECB, CBC) |
| 677 | |
| 678 | config CRYPTO_DEV_QCE_ENABLE_SHA |
| 679 | bool "Hash/HMAC only" |
| 680 | select CRYPTO_DEV_QCE_SHA |
| 681 | help |
| 682 | Enable hashes/HMAC algorithms only: |
| 683 | - SHA1, HMAC-SHA1 |
| 684 | - SHA256, HMAC-SHA256 |
| 685 | |
| 686 | endchoice |
Stanimir Varbanov | c672752 | 2014-06-25 19:28:58 +0300 | [diff] [blame] | 687 | |
Vinod Koul | ceec5f5 | 2018-07-16 11:20:24 +0530 | [diff] [blame] | 688 | config CRYPTO_DEV_QCOM_RNG |
| 689 | tristate "Qualcomm Random Number Generator Driver" |
| 690 | depends on ARCH_QCOM || COMPILE_TEST |
| 691 | select CRYPTO_RNG |
| 692 | help |
| 693 | This driver provides support for the Random Number |
| 694 | Generator hardware found on Qualcomm SoCs. |
| 695 | |
| 696 | To compile this driver as a module, choose M here. The |
Krzysztof Kozlowski | 2452cfd | 2019-11-21 04:20:48 +0100 | [diff] [blame] | 697 | module will be called qcom-rng. If unsure, say N. |
Vinod Koul | ceec5f5 | 2018-07-16 11:20:24 +0530 | [diff] [blame] | 698 | |
Leonidas S. Barbosa | d2e3ae6 | 2015-02-06 14:59:48 -0200 | [diff] [blame] | 699 | config CRYPTO_DEV_VMX |
| 700 | bool "Support for VMX cryptographic acceleration instructions" |
Michael Ellerman | f1ab428 | 2015-09-09 18:22:35 +1000 | [diff] [blame] | 701 | depends on PPC64 && VSX |
Leonidas S. Barbosa | d2e3ae6 | 2015-02-06 14:59:48 -0200 | [diff] [blame] | 702 | help |
| 703 | Support for VMX cryptographic acceleration instructions. |
| 704 | |
| 705 | source "drivers/crypto/vmx/Kconfig" |
| 706 | |
James Hartley | d358f1a | 2015-03-12 23:17:26 +0000 | [diff] [blame] | 707 | config CRYPTO_DEV_IMGTEC_HASH |
James Hartley | d358f1a | 2015-03-12 23:17:26 +0000 | [diff] [blame] | 708 | tristate "Imagination Technologies hardware hash accelerator" |
Geert Uytterhoeven | 8c98ebd | 2015-04-23 20:03:58 +0200 | [diff] [blame] | 709 | depends on MIPS || COMPILE_TEST |
James Hartley | d358f1a | 2015-03-12 23:17:26 +0000 | [diff] [blame] | 710 | select CRYPTO_MD5 |
| 711 | select CRYPTO_SHA1 |
James Hartley | d358f1a | 2015-03-12 23:17:26 +0000 | [diff] [blame] | 712 | select CRYPTO_SHA256 |
| 713 | select CRYPTO_HASH |
| 714 | help |
| 715 | This driver interfaces with the Imagination Technologies |
| 716 | hardware hash accelerator. Supporting MD5/SHA1/SHA224/SHA256 |
| 717 | hashing algorithms. |
| 718 | |
Zain Wang | 433cd2c | 2015-11-25 13:43:32 +0800 | [diff] [blame] | 719 | config CRYPTO_DEV_ROCKCHIP |
| 720 | tristate "Rockchip's Cryptographic Engine driver" |
| 721 | depends on OF && ARCH_ROCKCHIP |
| 722 | select CRYPTO_AES |
Ard Biesheuvel | 04007b0 | 2019-08-15 12:01:09 +0300 | [diff] [blame] | 723 | select CRYPTO_LIB_DES |
Zain Wang | bfd927f | 2016-02-16 10:15:01 +0800 | [diff] [blame] | 724 | select CRYPTO_MD5 |
| 725 | select CRYPTO_SHA1 |
| 726 | select CRYPTO_SHA256 |
| 727 | select CRYPTO_HASH |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 728 | select CRYPTO_SKCIPHER |
Zain Wang | 433cd2c | 2015-11-25 13:43:32 +0800 | [diff] [blame] | 729 | |
| 730 | help |
| 731 | This driver interfaces with the hardware crypto accelerator. |
| 732 | Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode. |
| 733 | |
Ryder Lee | 785e5c6 | 2016-12-19 10:20:44 +0800 | [diff] [blame] | 734 | config CRYPTO_DEV_MEDIATEK |
| 735 | tristate "MediaTek's EIP97 Cryptographic Engine driver" |
Arnd Bergmann | 7dee9f6 | 2017-01-11 14:50:19 +0100 | [diff] [blame] | 736 | depends on (ARM && ARCH_MEDIATEK) || COMPILE_TEST |
Ryder Lee | 785e5c6 | 2016-12-19 10:20:44 +0800 | [diff] [blame] | 737 | select CRYPTO_AES |
Ryder Lee | d03f7b0 | 2017-01-20 13:41:15 +0800 | [diff] [blame] | 738 | select CRYPTO_AEAD |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 739 | select CRYPTO_SKCIPHER |
Ryder Lee | d03f7b0 | 2017-01-20 13:41:15 +0800 | [diff] [blame] | 740 | select CRYPTO_CTR |
Arnd Bergmann | 7dee9f6 | 2017-01-11 14:50:19 +0100 | [diff] [blame] | 741 | select CRYPTO_SHA1 |
| 742 | select CRYPTO_SHA256 |
| 743 | select CRYPTO_SHA512 |
Ryder Lee | 785e5c6 | 2016-12-19 10:20:44 +0800 | [diff] [blame] | 744 | select CRYPTO_HMAC |
| 745 | help |
| 746 | This driver allows you to utilize the hardware crypto accelerator |
| 747 | EIP97 which can be found on the MT7623 MT2701, MT8521p, etc .... |
| 748 | Select this if you want to use it for AES/SHA1/SHA2 algorithms. |
| 749 | |
Hariprasad Shenai | 02038fd | 2016-08-17 12:33:06 +0530 | [diff] [blame] | 750 | source "drivers/crypto/chelsio/Kconfig" |
| 751 | |
Gonglei | dbaf062 | 2016-12-15 10:03:16 +0800 | [diff] [blame] | 752 | source "drivers/crypto/virtio/Kconfig" |
| 753 | |
Rob Rice | 9d12ba8 | 2017-02-03 12:55:33 -0500 | [diff] [blame] | 754 | config CRYPTO_DEV_BCM_SPU |
| 755 | tristate "Broadcom symmetric crypto/hash acceleration support" |
| 756 | depends on ARCH_BCM_IPROC |
raveendra padasalagi | efc856e | 2017-07-11 15:50:06 +0530 | [diff] [blame] | 757 | depends on MAILBOX |
Rob Rice | 9d12ba8 | 2017-02-03 12:55:33 -0500 | [diff] [blame] | 758 | default m |
Eric Biggers | ab57b33 | 2018-12-16 23:23:23 -0800 | [diff] [blame] | 759 | select CRYPTO_AUTHENC |
Ard Biesheuvel | 04007b0 | 2019-08-15 12:01:09 +0300 | [diff] [blame] | 760 | select CRYPTO_LIB_DES |
Rob Rice | 9d12ba8 | 2017-02-03 12:55:33 -0500 | [diff] [blame] | 761 | select CRYPTO_MD5 |
| 762 | select CRYPTO_SHA1 |
| 763 | select CRYPTO_SHA256 |
| 764 | select CRYPTO_SHA512 |
| 765 | help |
| 766 | This driver provides support for Broadcom crypto acceleration using the |
Ard Biesheuvel | a9c01cd | 2019-11-09 18:09:35 +0100 | [diff] [blame] | 767 | Secure Processing Unit (SPU). The SPU driver registers skcipher, |
Rob Rice | 9d12ba8 | 2017-02-03 12:55:33 -0500 | [diff] [blame] | 768 | ahash, and aead algorithms with the kernel cryptographic API. |
| 769 | |
Fabien DESSENNE | b51dbe9 | 2017-03-21 16:13:28 +0100 | [diff] [blame] | 770 | source "drivers/crypto/stm32/Kconfig" |
| 771 | |
Antoine Ténart | 1b44c5a | 2017-05-24 16:10:34 +0200 | [diff] [blame] | 772 | config CRYPTO_DEV_SAFEXCEL |
| 773 | tristate "Inside Secure's SafeXcel cryptographic engine driver" |
Brendan Higgins | 6dc0e31 | 2019-12-11 11:27:39 -0800 | [diff] [blame] | 774 | depends on (OF || PCI || COMPILE_TEST) && HAS_IOMEM |
Ard Biesheuvel | 363a90c | 2019-07-02 21:41:27 +0200 | [diff] [blame] | 775 | select CRYPTO_LIB_AES |
Antoine Tenart | f6beaea | 2018-05-14 15:11:02 +0200 | [diff] [blame] | 776 | select CRYPTO_AUTHENC |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 777 | select CRYPTO_SKCIPHER |
Ard Biesheuvel | 04007b0 | 2019-08-15 12:01:09 +0300 | [diff] [blame] | 778 | select CRYPTO_LIB_DES |
Antoine Ténart | 1b44c5a | 2017-05-24 16:10:34 +0200 | [diff] [blame] | 779 | select CRYPTO_HASH |
| 780 | select CRYPTO_HMAC |
Ofer Heifetz | 293f89c | 2018-06-28 17:21:53 +0200 | [diff] [blame] | 781 | select CRYPTO_MD5 |
Antoine Ténart | 1b44c5a | 2017-05-24 16:10:34 +0200 | [diff] [blame] | 782 | select CRYPTO_SHA1 |
| 783 | select CRYPTO_SHA256 |
| 784 | select CRYPTO_SHA512 |
Pascal van Leeuwen | fc0f82b | 2019-09-18 23:25:58 +0200 | [diff] [blame] | 785 | select CRYPTO_CHACHA20POLY1305 |
Pascal van Leeuwen | 1d448f2 | 2019-09-13 20:56:49 +0200 | [diff] [blame] | 786 | select CRYPTO_SHA3 |
Antoine Ténart | 1b44c5a | 2017-05-24 16:10:34 +0200 | [diff] [blame] | 787 | help |
Pascal van Leeuwen | 0f6e5c8 | 2019-08-19 16:40:23 +0200 | [diff] [blame] | 788 | This driver interfaces with the SafeXcel EIP-97 and EIP-197 cryptographic |
| 789 | engines designed by Inside Secure. It currently accelerates DES, 3DES and |
| 790 | AES block ciphers in ECB and CBC mode, as well as SHA1, SHA224, SHA256, |
| 791 | SHA384 and SHA512 hash algorithms for both basic hash and HMAC. |
| 792 | Additionally, it accelerates combined AES-CBC/HMAC-SHA AEAD operations. |
Antoine Ténart | 1b44c5a | 2017-05-24 16:10:34 +0200 | [diff] [blame] | 793 | |
Lars Persson | a21eb94 | 2017-08-10 14:53:53 +0200 | [diff] [blame] | 794 | config CRYPTO_DEV_ARTPEC6 |
| 795 | tristate "Support for Axis ARTPEC-6/7 hardware crypto acceleration." |
| 796 | depends on ARM && (ARCH_ARTPEC || COMPILE_TEST) |
Lars Persson | a21eb94 | 2017-08-10 14:53:53 +0200 | [diff] [blame] | 797 | depends on OF |
| 798 | select CRYPTO_AEAD |
| 799 | select CRYPTO_AES |
| 800 | select CRYPTO_ALGAPI |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 801 | select CRYPTO_SKCIPHER |
Lars Persson | a21eb94 | 2017-08-10 14:53:53 +0200 | [diff] [blame] | 802 | select CRYPTO_CTR |
| 803 | select CRYPTO_HASH |
| 804 | select CRYPTO_SHA1 |
| 805 | select CRYPTO_SHA256 |
Lars Persson | a21eb94 | 2017-08-10 14:53:53 +0200 | [diff] [blame] | 806 | select CRYPTO_SHA512 |
| 807 | help |
| 808 | Enables the driver for the on-chip crypto accelerator |
| 809 | of Axis ARTPEC SoCs. |
| 810 | |
| 811 | To compile this driver as a module, choose M here. |
| 812 | |
Gilad Ben-Yossef | 4c3f972 | 2018-01-22 09:27:00 +0000 | [diff] [blame] | 813 | config CRYPTO_DEV_CCREE |
| 814 | tristate "Support for ARM TrustZone CryptoCell family of security processors" |
| 815 | depends on CRYPTO && CRYPTO_HW && OF && HAS_DMA |
| 816 | default n |
| 817 | select CRYPTO_HASH |
Eric Biggers | b95bba5 | 2019-10-25 12:41:13 -0700 | [diff] [blame] | 818 | select CRYPTO_SKCIPHER |
Ard Biesheuvel | 04007b0 | 2019-08-15 12:01:09 +0300 | [diff] [blame] | 819 | select CRYPTO_LIB_DES |
Gilad Ben-Yossef | 4c3f972 | 2018-01-22 09:27:00 +0000 | [diff] [blame] | 820 | select CRYPTO_AEAD |
| 821 | select CRYPTO_AUTHENC |
| 822 | select CRYPTO_SHA1 |
| 823 | select CRYPTO_MD5 |
| 824 | select CRYPTO_SHA256 |
| 825 | select CRYPTO_SHA512 |
| 826 | select CRYPTO_HMAC |
| 827 | select CRYPTO_AES |
| 828 | select CRYPTO_CBC |
| 829 | select CRYPTO_ECB |
| 830 | select CRYPTO_CTR |
| 831 | select CRYPTO_XTS |
Gilad Ben-Yossef | 9b8d51f | 2018-10-29 09:50:14 +0000 | [diff] [blame] | 832 | select CRYPTO_SM4 |
Yael Chemla | 927574e | 2018-10-18 13:59:59 +0100 | [diff] [blame] | 833 | select CRYPTO_SM3 |
Gilad Ben-Yossef | 4c3f972 | 2018-01-22 09:27:00 +0000 | [diff] [blame] | 834 | help |
Gilad Ben-Yossef | 27b3b22 | 2018-02-19 14:51:23 +0000 | [diff] [blame] | 835 | Say 'Y' to enable a driver for the REE interface of the Arm |
| 836 | TrustZone CryptoCell family of processors. Currently the |
Gilad Ben-Yossef | 1c876a9 | 2018-11-13 09:40:35 +0000 | [diff] [blame] | 837 | CryptoCell 713, 703, 712, 710 and 630 are supported. |
Gilad Ben-Yossef | 4c3f972 | 2018-01-22 09:27:00 +0000 | [diff] [blame] | 838 | Choose this if you wish to use hardware acceleration of |
| 839 | cryptographic operations on the system REE. |
| 840 | If unsure say Y. |
| 841 | |
Jonathan Cameron | 915e4e8 | 2018-07-23 16:49:54 +0100 | [diff] [blame] | 842 | source "drivers/crypto/hisilicon/Kconfig" |
| 843 | |
Corentin Labbe | 48fe583 | 2019-10-17 05:06:25 +0000 | [diff] [blame] | 844 | source "drivers/crypto/amlogic/Kconfig" |
| 845 | |
Jan Engelhardt | b511431 | 2007-07-15 23:39:36 -0700 | [diff] [blame] | 846 | endif # CRYPTO_HW |