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