Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
Dan Williams | 685784a | 2007-07-09 11:56:42 -0700 | [diff] [blame] | 3 | # Generic algorithms support |
| 4 | # |
| 5 | config XOR_BLOCKS |
| 6 | tristate |
| 7 | |
| 8 | # |
Dan Williams | 9bc89cd | 2007-01-02 11:10:44 -0700 | [diff] [blame] | 9 | # async_tx api: hardware offloaded memory transfer/transform support |
| 10 | # |
| 11 | source "crypto/async_tx/Kconfig" |
| 12 | |
| 13 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | # Cryptographic API Configuration |
| 15 | # |
Jan Engelhardt | 2e290f4 | 2007-05-18 15:11:01 +1000 | [diff] [blame] | 16 | menuconfig CRYPTO |
Sebastian Siewior | c3715cb9 | 2008-03-30 16:36:09 +0800 | [diff] [blame] | 17 | tristate "Cryptographic API" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | help |
| 19 | This option provides the core Cryptographic API. |
| 20 | |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 21 | if CRYPTO |
| 22 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 23 | comment "Crypto core or helper" |
| 24 | |
Neil Horman | ccb778e | 2008-08-05 14:13:08 +0800 | [diff] [blame] | 25 | config CRYPTO_FIPS |
| 26 | bool "FIPS 200 compliance" |
Herbert Xu | f2c89a1 | 2014-07-04 22:15:08 +0800 | [diff] [blame] | 27 | depends on (CRYPTO_ANSI_CPRNG || CRYPTO_DRBG) && !CRYPTO_MANAGER_DISABLE_TESTS |
Alec Ari | 1f69609 | 2016-10-04 19:34:30 -0300 | [diff] [blame] | 28 | depends on (MODULE_SIG || !MODULES) |
Neil Horman | ccb778e | 2008-08-05 14:13:08 +0800 | [diff] [blame] | 29 | help |
| 30 | This options enables the fips boot option which is |
| 31 | required if you want to system to operate in a FIPS 200 |
| 32 | certification. You should say no unless you know what |
Chuck Ebbert | e84c548 | 2010-09-03 19:17:49 +0800 | [diff] [blame] | 33 | this is. |
Neil Horman | ccb778e | 2008-08-05 14:13:08 +0800 | [diff] [blame] | 34 | |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 35 | config CRYPTO_ALGAPI |
| 36 | tristate |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 37 | select CRYPTO_ALGAPI2 |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 38 | help |
| 39 | This option provides the API for cryptographic algorithms. |
| 40 | |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 41 | config CRYPTO_ALGAPI2 |
| 42 | tristate |
| 43 | |
Herbert Xu | 1ae9782 | 2007-08-30 15:36:14 +0800 | [diff] [blame] | 44 | config CRYPTO_AEAD |
| 45 | tristate |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 46 | select CRYPTO_AEAD2 |
Herbert Xu | 1ae9782 | 2007-08-30 15:36:14 +0800 | [diff] [blame] | 47 | select CRYPTO_ALGAPI |
| 48 | |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 49 | config CRYPTO_AEAD2 |
| 50 | tristate |
| 51 | select CRYPTO_ALGAPI2 |
Herbert Xu | 149a397 | 2015-08-13 17:28:58 +0800 | [diff] [blame] | 52 | select CRYPTO_NULL2 |
| 53 | select CRYPTO_RNG2 |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 54 | |
Herbert Xu | 5cde0af | 2006-08-22 00:07:53 +1000 | [diff] [blame] | 55 | config CRYPTO_BLKCIPHER |
| 56 | tristate |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 57 | select CRYPTO_BLKCIPHER2 |
Herbert Xu | 5cde0af | 2006-08-22 00:07:53 +1000 | [diff] [blame] | 58 | select CRYPTO_ALGAPI |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 59 | |
| 60 | config CRYPTO_BLKCIPHER2 |
| 61 | tristate |
| 62 | select CRYPTO_ALGAPI2 |
| 63 | select CRYPTO_RNG2 |
Huang Ying | 0a2e821 | 2009-02-19 14:44:02 +0800 | [diff] [blame] | 64 | select CRYPTO_WORKQUEUE |
Herbert Xu | 5cde0af | 2006-08-22 00:07:53 +1000 | [diff] [blame] | 65 | |
Herbert Xu | 055bcee | 2006-08-19 22:24:23 +1000 | [diff] [blame] | 66 | config CRYPTO_HASH |
| 67 | tristate |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 68 | select CRYPTO_HASH2 |
Herbert Xu | 055bcee | 2006-08-19 22:24:23 +1000 | [diff] [blame] | 69 | select CRYPTO_ALGAPI |
| 70 | |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 71 | config CRYPTO_HASH2 |
| 72 | tristate |
| 73 | select CRYPTO_ALGAPI2 |
| 74 | |
Neil Horman | 17f0f4a | 2008-08-14 22:15:52 +1000 | [diff] [blame] | 75 | config CRYPTO_RNG |
| 76 | tristate |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 77 | select CRYPTO_RNG2 |
Neil Horman | 17f0f4a | 2008-08-14 22:15:52 +1000 | [diff] [blame] | 78 | select CRYPTO_ALGAPI |
| 79 | |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 80 | config CRYPTO_RNG2 |
| 81 | tristate |
| 82 | select CRYPTO_ALGAPI2 |
| 83 | |
Herbert Xu | 401e423 | 2015-06-03 14:49:31 +0800 | [diff] [blame] | 84 | config CRYPTO_RNG_DEFAULT |
| 85 | tristate |
| 86 | select CRYPTO_DRBG_MENU |
| 87 | |
Tadeusz Struk | 3c339ab | 2015-06-16 10:30:55 -0700 | [diff] [blame] | 88 | config CRYPTO_AKCIPHER2 |
| 89 | tristate |
| 90 | select CRYPTO_ALGAPI2 |
| 91 | |
| 92 | config CRYPTO_AKCIPHER |
| 93 | tristate |
| 94 | select CRYPTO_AKCIPHER2 |
| 95 | select CRYPTO_ALGAPI |
| 96 | |
Salvatore Benedetto | 4e5f2c4 | 2016-06-22 17:49:13 +0100 | [diff] [blame] | 97 | config CRYPTO_KPP2 |
| 98 | tristate |
| 99 | select CRYPTO_ALGAPI2 |
| 100 | |
| 101 | config CRYPTO_KPP |
| 102 | tristate |
| 103 | select CRYPTO_ALGAPI |
| 104 | select CRYPTO_KPP2 |
| 105 | |
Giovanni Cabiddu | 2ebda74 | 2016-10-21 13:19:47 +0100 | [diff] [blame] | 106 | config CRYPTO_ACOMP2 |
| 107 | tristate |
| 108 | select CRYPTO_ALGAPI2 |
Bart Van Assche | 8cd579d | 2018-01-05 08:26:47 -0800 | [diff] [blame] | 109 | select SGL_ALLOC |
Giovanni Cabiddu | 2ebda74 | 2016-10-21 13:19:47 +0100 | [diff] [blame] | 110 | |
| 111 | config CRYPTO_ACOMP |
| 112 | tristate |
| 113 | select CRYPTO_ALGAPI |
| 114 | select CRYPTO_ACOMP2 |
| 115 | |
Tadeusz Struk | cfc2bb3 | 2015-06-16 10:31:01 -0700 | [diff] [blame] | 116 | config CRYPTO_RSA |
| 117 | tristate "RSA algorithm" |
Tadeusz Struk | 425e017 | 2015-06-19 10:27:39 -0700 | [diff] [blame] | 118 | select CRYPTO_AKCIPHER |
Tadeusz Struk | 58446fe | 2016-05-04 06:38:46 -0700 | [diff] [blame] | 119 | select CRYPTO_MANAGER |
Tadeusz Struk | cfc2bb3 | 2015-06-16 10:31:01 -0700 | [diff] [blame] | 120 | select MPILIB |
| 121 | select ASN1 |
| 122 | help |
| 123 | Generic implementation of the RSA public key algorithm. |
| 124 | |
Salvatore Benedetto | 802c7f1 | 2016-06-22 17:49:14 +0100 | [diff] [blame] | 125 | config CRYPTO_DH |
| 126 | tristate "Diffie-Hellman algorithm" |
| 127 | select CRYPTO_KPP |
| 128 | select MPILIB |
| 129 | help |
| 130 | Generic implementation of the Diffie-Hellman algorithm. |
| 131 | |
Salvatore Benedetto | 3c4b239 | 2016-06-22 17:49:15 +0100 | [diff] [blame] | 132 | config CRYPTO_ECDH |
| 133 | tristate "ECDH algorithm" |
Hauke Mehrtens | b5b9007 | 2017-11-26 00:16:46 +0100 | [diff] [blame] | 134 | select CRYPTO_KPP |
Tudor-Dan Ambarus | 6755fd2 | 2017-05-30 17:52:48 +0300 | [diff] [blame] | 135 | select CRYPTO_RNG_DEFAULT |
Salvatore Benedetto | 3c4b239 | 2016-06-22 17:49:15 +0100 | [diff] [blame] | 136 | help |
| 137 | Generic implementation of the ECDH algorithm |
Salvatore Benedetto | 802c7f1 | 2016-06-22 17:49:14 +0100 | [diff] [blame] | 138 | |
Herbert Xu | 2b8c19d | 2006-09-21 11:31:44 +1000 | [diff] [blame] | 139 | config CRYPTO_MANAGER |
| 140 | tristate "Cryptographic algorithm manager" |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 141 | select CRYPTO_MANAGER2 |
Herbert Xu | 2b8c19d | 2006-09-21 11:31:44 +1000 | [diff] [blame] | 142 | help |
| 143 | Create default cryptographic template instantiations such as |
| 144 | cbc(aes). |
| 145 | |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 146 | config CRYPTO_MANAGER2 |
| 147 | def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) |
| 148 | select CRYPTO_AEAD2 |
| 149 | select CRYPTO_HASH2 |
| 150 | select CRYPTO_BLKCIPHER2 |
Tadeusz Struk | 946cc46 | 2015-06-16 10:31:06 -0700 | [diff] [blame] | 151 | select CRYPTO_AKCIPHER2 |
Salvatore Benedetto | 4e5f2c4 | 2016-06-22 17:49:13 +0100 | [diff] [blame] | 152 | select CRYPTO_KPP2 |
Giovanni Cabiddu | 2ebda74 | 2016-10-21 13:19:47 +0100 | [diff] [blame] | 153 | select CRYPTO_ACOMP2 |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 154 | |
Steffen Klassert | a38f790 | 2011-09-27 07:23:50 +0200 | [diff] [blame] | 155 | config CRYPTO_USER |
| 156 | tristate "Userspace cryptographic algorithm configuration" |
Herbert Xu | 5db017a | 2011-11-01 12:12:43 +1100 | [diff] [blame] | 157 | depends on NET |
Steffen Klassert | a38f790 | 2011-09-27 07:23:50 +0200 | [diff] [blame] | 158 | select CRYPTO_MANAGER |
| 159 | help |
Valdis.Kletnieks@vt.edu | d19978f | 2011-11-09 01:29:20 -0500 | [diff] [blame] | 160 | Userspace configuration for cryptographic instantiations such as |
Steffen Klassert | a38f790 | 2011-09-27 07:23:50 +0200 | [diff] [blame] | 161 | cbc(aes). |
| 162 | |
Herbert Xu | 326a634 | 2010-08-06 09:40:28 +0800 | [diff] [blame] | 163 | config CRYPTO_MANAGER_DISABLE_TESTS |
| 164 | bool "Disable run-time self tests" |
Herbert Xu | 00ca28a | 2010-08-06 10:34:00 +0800 | [diff] [blame] | 165 | default y |
| 166 | depends on CRYPTO_MANAGER2 |
Alexander Shishkin | 0b767f9 | 2010-06-03 20:53:43 +1000 | [diff] [blame] | 167 | help |
Herbert Xu | 326a634 | 2010-08-06 09:40:28 +0800 | [diff] [blame] | 168 | Disable run-time self tests that normally take place at |
| 169 | algorithm registration. |
Alexander Shishkin | 0b767f9 | 2010-06-03 20:53:43 +1000 | [diff] [blame] | 170 | |
Rik Snel | c494e07 | 2006-11-29 18:59:44 +1100 | [diff] [blame] | 171 | config CRYPTO_GF128MUL |
Jussi Kivilinna | 08c70fc | 2011-12-13 12:53:22 +0200 | [diff] [blame] | 172 | tristate "GF(2^128) multiplication functions" |
Rik Snel | c494e07 | 2006-11-29 18:59:44 +1100 | [diff] [blame] | 173 | help |
| 174 | Efficient table driven implementation of multiplications in the |
| 175 | field GF(2^128). This is needed by some cypher modes. This |
| 176 | option will be selected automatically if you select such a |
| 177 | cipher mode. Only select this option by hand if you expect to load |
| 178 | an external module that requires these functions. |
| 179 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 180 | config CRYPTO_NULL |
| 181 | tristate "Null algorithms" |
Herbert Xu | 149a397 | 2015-08-13 17:28:58 +0800 | [diff] [blame] | 182 | select CRYPTO_NULL2 |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 183 | help |
| 184 | These are 'Null' algorithms, used by IPsec, which do nothing. |
| 185 | |
Herbert Xu | 149a397 | 2015-08-13 17:28:58 +0800 | [diff] [blame] | 186 | config CRYPTO_NULL2 |
Herbert Xu | dd43c4e | 2015-08-17 20:39:40 +0800 | [diff] [blame] | 187 | tristate |
Herbert Xu | 149a397 | 2015-08-13 17:28:58 +0800 | [diff] [blame] | 188 | select CRYPTO_ALGAPI2 |
| 189 | select CRYPTO_BLKCIPHER2 |
| 190 | select CRYPTO_HASH2 |
| 191 | |
Steffen Klassert | 5068c7a | 2010-01-07 15:57:19 +1100 | [diff] [blame] | 192 | config CRYPTO_PCRYPT |
Kees Cook | 3b4afaf | 2012-10-02 11:16:49 -0700 | [diff] [blame] | 193 | tristate "Parallel crypto engine" |
| 194 | depends on SMP |
Steffen Klassert | 5068c7a | 2010-01-07 15:57:19 +1100 | [diff] [blame] | 195 | select PADATA |
| 196 | select CRYPTO_MANAGER |
| 197 | select CRYPTO_AEAD |
| 198 | help |
| 199 | This converts an arbitrary crypto algorithm into a parallel |
| 200 | algorithm that executes in kernel threads. |
| 201 | |
Huang Ying | 25c38d3 | 2009-02-19 14:33:40 +0800 | [diff] [blame] | 202 | config CRYPTO_WORKQUEUE |
| 203 | tristate |
| 204 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 205 | config CRYPTO_CRYPTD |
| 206 | tristate "Software async crypto daemon" |
Herbert Xu | db131ef | 2006-09-21 11:44:08 +1000 | [diff] [blame] | 207 | select CRYPTO_BLKCIPHER |
Loc Ho | b8a2825 | 2008-05-14 21:23:00 +0800 | [diff] [blame] | 208 | select CRYPTO_HASH |
Herbert Xu | 4351840 | 2006-10-16 21:28:58 +1000 | [diff] [blame] | 209 | select CRYPTO_MANAGER |
Huang Ying | 254eff7 | 2009-02-19 14:42:19 +0800 | [diff] [blame] | 210 | select CRYPTO_WORKQUEUE |
Herbert Xu | db131ef | 2006-09-21 11:44:08 +1000 | [diff] [blame] | 211 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 212 | This is a generic software asynchronous crypto daemon that |
| 213 | converts an arbitrary synchronous software crypto algorithm |
| 214 | into an asynchronous algorithm that executes in a kernel thread. |
| 215 | |
| 216 | config CRYPTO_AUTHENC |
| 217 | tristate "Authenc support" |
| 218 | select CRYPTO_AEAD |
| 219 | select CRYPTO_BLKCIPHER |
| 220 | select CRYPTO_MANAGER |
| 221 | select CRYPTO_HASH |
Herbert Xu | e94c6a7 | 2015-08-04 21:23:14 +0800 | [diff] [blame] | 222 | select CRYPTO_NULL |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 223 | help |
| 224 | Authenc: Combined mode wrapper for IPsec. |
| 225 | This is required for IPSec. |
| 226 | |
| 227 | config CRYPTO_TEST |
| 228 | tristate "Testing module" |
| 229 | depends on m |
Herbert Xu | da7f033 | 2008-07-31 17:08:25 +0800 | [diff] [blame] | 230 | select CRYPTO_MANAGER |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 231 | help |
| 232 | Quick & dirty crypto test module. |
| 233 | |
Herbert Xu | 266d051 | 2016-11-22 20:08:25 +0800 | [diff] [blame] | 234 | config CRYPTO_SIMD |
| 235 | tristate |
| 236 | select CRYPTO_CRYPTD |
| 237 | |
Jussi Kivilinna | 596d875 | 2012-06-18 14:07:19 +0300 | [diff] [blame] | 238 | config CRYPTO_GLUE_HELPER_X86 |
| 239 | tristate |
| 240 | depends on X86 |
Herbert Xu | 065ce32 | 2016-11-22 20:08:29 +0800 | [diff] [blame] | 241 | select CRYPTO_BLKCIPHER |
Jussi Kivilinna | 596d875 | 2012-06-18 14:07:19 +0300 | [diff] [blame] | 242 | |
Baolin Wang | 735d37b | 2016-01-26 20:25:39 +0800 | [diff] [blame] | 243 | config CRYPTO_ENGINE |
| 244 | tristate |
| 245 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 246 | comment "Authenticated Encryption with Associated Data" |
| 247 | |
| 248 | config CRYPTO_CCM |
| 249 | tristate "CCM support" |
| 250 | select CRYPTO_CTR |
Ard Biesheuvel | f15f05b | 2017-02-03 14:49:36 +0000 | [diff] [blame] | 251 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 252 | select CRYPTO_AEAD |
| 253 | help |
| 254 | Support for Counter with CBC MAC. Required for IPsec. |
| 255 | |
| 256 | config CRYPTO_GCM |
| 257 | tristate "GCM/GMAC support" |
| 258 | select CRYPTO_CTR |
| 259 | select CRYPTO_AEAD |
Huang Ying | 9382d97 | 2009-08-06 15:34:26 +1000 | [diff] [blame] | 260 | select CRYPTO_GHASH |
Jussi Kivilinna | 9489667d | 2013-04-07 16:43:41 +0300 | [diff] [blame] | 261 | select CRYPTO_NULL |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 262 | help |
| 263 | Support for Galois/Counter Mode (GCM) and Galois Message |
| 264 | Authentication Code (GMAC). Required for IPSec. |
| 265 | |
Martin Willi | 71ebc4d | 2015-06-01 13:44:00 +0200 | [diff] [blame] | 266 | config CRYPTO_CHACHA20POLY1305 |
| 267 | tristate "ChaCha20-Poly1305 AEAD support" |
| 268 | select CRYPTO_CHACHA20 |
| 269 | select CRYPTO_POLY1305 |
| 270 | select CRYPTO_AEAD |
| 271 | help |
| 272 | ChaCha20-Poly1305 AEAD support, RFC7539. |
| 273 | |
| 274 | Support for the AEAD wrapper using the ChaCha20 stream cipher combined |
| 275 | with the Poly1305 authenticator. It is defined in RFC7539 for use in |
| 276 | IETF protocols. |
| 277 | |
Ondrej Mosnacek | f606a88 | 2018-05-11 14:12:49 +0200 | [diff] [blame] | 278 | config CRYPTO_AEGIS128 |
| 279 | tristate "AEGIS-128 AEAD algorithm" |
| 280 | select CRYPTO_AEAD |
| 281 | select CRYPTO_AES # for AES S-box tables |
| 282 | help |
| 283 | Support for the AEGIS-128 dedicated AEAD algorithm. |
| 284 | |
| 285 | config CRYPTO_AEGIS128L |
| 286 | tristate "AEGIS-128L AEAD algorithm" |
| 287 | select CRYPTO_AEAD |
| 288 | select CRYPTO_AES # for AES S-box tables |
| 289 | help |
| 290 | Support for the AEGIS-128L dedicated AEAD algorithm. |
| 291 | |
| 292 | config CRYPTO_AEGIS256 |
| 293 | tristate "AEGIS-256 AEAD algorithm" |
| 294 | select CRYPTO_AEAD |
| 295 | select CRYPTO_AES # for AES S-box tables |
| 296 | help |
| 297 | Support for the AEGIS-256 dedicated AEAD algorithm. |
| 298 | |
Ondrej Mosnacek | 1d373d4 | 2018-05-11 14:12:51 +0200 | [diff] [blame] | 299 | config CRYPTO_AEGIS128_AESNI_SSE2 |
| 300 | tristate "AEGIS-128 AEAD algorithm (x86_64 AESNI+SSE2 implementation)" |
| 301 | depends on X86 && 64BIT |
| 302 | select CRYPTO_AEAD |
| 303 | select CRYPTO_CRYPTD |
| 304 | help |
| 305 | AESNI+SSE2 implementation of the AEGSI-128 dedicated AEAD algorithm. |
| 306 | |
| 307 | config CRYPTO_AEGIS128L_AESNI_SSE2 |
| 308 | tristate "AEGIS-128L AEAD algorithm (x86_64 AESNI+SSE2 implementation)" |
| 309 | depends on X86 && 64BIT |
| 310 | select CRYPTO_AEAD |
| 311 | select CRYPTO_CRYPTD |
| 312 | help |
| 313 | AESNI+SSE2 implementation of the AEGSI-128L dedicated AEAD algorithm. |
| 314 | |
| 315 | config CRYPTO_AEGIS256_AESNI_SSE2 |
| 316 | tristate "AEGIS-256 AEAD algorithm (x86_64 AESNI+SSE2 implementation)" |
| 317 | depends on X86 && 64BIT |
| 318 | select CRYPTO_AEAD |
| 319 | select CRYPTO_CRYPTD |
| 320 | help |
| 321 | AESNI+SSE2 implementation of the AEGSI-256 dedicated AEAD algorithm. |
| 322 | |
Ondrej Mosnacek | 396be41 | 2018-05-11 14:19:09 +0200 | [diff] [blame] | 323 | config CRYPTO_MORUS640 |
| 324 | tristate "MORUS-640 AEAD algorithm" |
| 325 | select CRYPTO_AEAD |
| 326 | help |
| 327 | Support for the MORUS-640 dedicated AEAD algorithm. |
| 328 | |
Ondrej Mosnacek | 56e8e57 | 2018-05-11 14:19:11 +0200 | [diff] [blame] | 329 | config CRYPTO_MORUS640_GLUE |
Ondrej Mosnacek | 2808f17 | 2018-05-21 21:41:51 +0200 | [diff] [blame] | 330 | tristate |
| 331 | depends on X86 |
Ondrej Mosnacek | 56e8e57 | 2018-05-11 14:19:11 +0200 | [diff] [blame] | 332 | select CRYPTO_AEAD |
| 333 | select CRYPTO_CRYPTD |
| 334 | help |
| 335 | Common glue for SIMD optimizations of the MORUS-640 dedicated AEAD |
| 336 | algorithm. |
| 337 | |
Ondrej Mosnacek | 6ecc9d9 | 2018-05-11 14:19:12 +0200 | [diff] [blame] | 338 | config CRYPTO_MORUS640_SSE2 |
| 339 | tristate "MORUS-640 AEAD algorithm (x86_64 SSE2 implementation)" |
| 340 | depends on X86 && 64BIT |
| 341 | select CRYPTO_AEAD |
| 342 | select CRYPTO_MORUS640_GLUE |
| 343 | help |
| 344 | SSE2 implementation of the MORUS-640 dedicated AEAD algorithm. |
| 345 | |
Ondrej Mosnacek | 396be41 | 2018-05-11 14:19:09 +0200 | [diff] [blame] | 346 | config CRYPTO_MORUS1280 |
| 347 | tristate "MORUS-1280 AEAD algorithm" |
| 348 | select CRYPTO_AEAD |
| 349 | help |
| 350 | Support for the MORUS-1280 dedicated AEAD algorithm. |
| 351 | |
Ondrej Mosnacek | 56e8e57 | 2018-05-11 14:19:11 +0200 | [diff] [blame] | 352 | config CRYPTO_MORUS1280_GLUE |
Ondrej Mosnacek | 2808f17 | 2018-05-21 21:41:51 +0200 | [diff] [blame] | 353 | tristate |
| 354 | depends on X86 |
Ondrej Mosnacek | 56e8e57 | 2018-05-11 14:19:11 +0200 | [diff] [blame] | 355 | select CRYPTO_AEAD |
| 356 | select CRYPTO_CRYPTD |
| 357 | help |
| 358 | Common glue for SIMD optimizations of the MORUS-1280 dedicated AEAD |
| 359 | algorithm. |
| 360 | |
Ondrej Mosnacek | 6ecc9d9 | 2018-05-11 14:19:12 +0200 | [diff] [blame] | 361 | config CRYPTO_MORUS1280_SSE2 |
| 362 | tristate "MORUS-1280 AEAD algorithm (x86_64 SSE2 implementation)" |
| 363 | depends on X86 && 64BIT |
| 364 | select CRYPTO_AEAD |
| 365 | select CRYPTO_MORUS1280_GLUE |
| 366 | help |
| 367 | SSE2 optimizedimplementation of the MORUS-1280 dedicated AEAD |
| 368 | algorithm. |
| 369 | |
| 370 | config CRYPTO_MORUS1280_AVX2 |
| 371 | tristate "MORUS-1280 AEAD algorithm (x86_64 AVX2 implementation)" |
| 372 | depends on X86 && 64BIT |
| 373 | select CRYPTO_AEAD |
| 374 | select CRYPTO_MORUS1280_GLUE |
| 375 | help |
| 376 | AVX2 optimized implementation of the MORUS-1280 dedicated AEAD |
| 377 | algorithm. |
| 378 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 379 | config CRYPTO_SEQIV |
| 380 | tristate "Sequence Number IV Generator" |
| 381 | select CRYPTO_AEAD |
| 382 | select CRYPTO_BLKCIPHER |
Herbert Xu | 856e3f40 | 2015-05-21 15:11:13 +0800 | [diff] [blame] | 383 | select CRYPTO_NULL |
Herbert Xu | 401e423 | 2015-06-03 14:49:31 +0800 | [diff] [blame] | 384 | select CRYPTO_RNG_DEFAULT |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 385 | help |
| 386 | This IV generator generates an IV based on a sequence number by |
| 387 | xoring it with a salt. This algorithm is mainly useful for CTR |
| 388 | |
Herbert Xu | a10f554 | 2015-05-21 15:11:15 +0800 | [diff] [blame] | 389 | config CRYPTO_ECHAINIV |
| 390 | tristate "Encrypted Chain IV Generator" |
| 391 | select CRYPTO_AEAD |
| 392 | select CRYPTO_NULL |
Herbert Xu | 401e423 | 2015-06-03 14:49:31 +0800 | [diff] [blame] | 393 | select CRYPTO_RNG_DEFAULT |
Herbert Xu | 3491244 | 2015-06-03 14:49:29 +0800 | [diff] [blame] | 394 | default m |
Herbert Xu | a10f554 | 2015-05-21 15:11:15 +0800 | [diff] [blame] | 395 | help |
| 396 | This IV generator generates an IV based on the encryption of |
| 397 | a sequence number xored with a salt. This is the default |
| 398 | algorithm for CBC. |
| 399 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 400 | comment "Block modes" |
Herbert Xu | db131ef | 2006-09-21 11:44:08 +1000 | [diff] [blame] | 401 | |
| 402 | config CRYPTO_CBC |
| 403 | tristate "CBC support" |
| 404 | select CRYPTO_BLKCIPHER |
Herbert Xu | 4351840 | 2006-10-16 21:28:58 +1000 | [diff] [blame] | 405 | select CRYPTO_MANAGER |
Herbert Xu | db131ef | 2006-09-21 11:44:08 +1000 | [diff] [blame] | 406 | help |
| 407 | CBC: Cipher Block Chaining mode |
| 408 | This block cipher algorithm is required for IPSec. |
| 409 | |
James Bottomley | a7d85e0 | 2018-03-01 14:36:17 -0800 | [diff] [blame] | 410 | config CRYPTO_CFB |
| 411 | tristate "CFB support" |
| 412 | select CRYPTO_BLKCIPHER |
| 413 | select CRYPTO_MANAGER |
| 414 | help |
| 415 | CFB: Cipher FeedBack mode |
| 416 | This block cipher algorithm is required for TPM2 Cryptography. |
| 417 | |
Joy Latten | 23e353c | 2007-10-23 08:50:32 +0800 | [diff] [blame] | 418 | config CRYPTO_CTR |
| 419 | tristate "CTR support" |
| 420 | select CRYPTO_BLKCIPHER |
Herbert Xu | 0a27032 | 2007-11-30 21:38:37 +1100 | [diff] [blame] | 421 | select CRYPTO_SEQIV |
Joy Latten | 23e353c | 2007-10-23 08:50:32 +0800 | [diff] [blame] | 422 | select CRYPTO_MANAGER |
Joy Latten | 23e353c | 2007-10-23 08:50:32 +0800 | [diff] [blame] | 423 | help |
| 424 | CTR: Counter mode |
| 425 | This block cipher algorithm is required for IPSec. |
| 426 | |
Kevin Coffman | 76cb952 | 2008-03-24 21:26:16 +0800 | [diff] [blame] | 427 | config CRYPTO_CTS |
| 428 | tristate "CTS support" |
| 429 | select CRYPTO_BLKCIPHER |
| 430 | help |
| 431 | CTS: Cipher Text Stealing |
| 432 | This is the Cipher Text Stealing mode as described by |
Gilad Ben-Yossef | ecd6d5c | 2018-11-05 12:05:01 +0000 | [diff] [blame] | 433 | Section 8 of rfc2040 and referenced by rfc3962 |
| 434 | (rfc3962 includes errata information in its Appendix A) or |
| 435 | CBC-CS3 as defined by NIST in Sp800-38A addendum from Oct 2010. |
Kevin Coffman | 76cb952 | 2008-03-24 21:26:16 +0800 | [diff] [blame] | 436 | This mode is required for Kerberos gss mechanism support |
| 437 | for AES encryption. |
| 438 | |
Gilad Ben-Yossef | ecd6d5c | 2018-11-05 12:05:01 +0000 | [diff] [blame] | 439 | See: https://csrc.nist.gov/publications/detail/sp/800-38a/addendum/final |
| 440 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 441 | config CRYPTO_ECB |
| 442 | tristate "ECB support" |
Herbert Xu | 653ebd9c | 2007-11-27 19:48:27 +0800 | [diff] [blame] | 443 | select CRYPTO_BLKCIPHER |
Herbert Xu | 124b53d | 2007-04-16 20:49:20 +1000 | [diff] [blame] | 444 | select CRYPTO_MANAGER |
| 445 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 446 | ECB: Electronic CodeBook mode |
| 447 | This is the simplest block cipher algorithm. It simply encrypts |
| 448 | the input block by block. |
Herbert Xu | 124b53d | 2007-04-16 20:49:20 +1000 | [diff] [blame] | 449 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 450 | config CRYPTO_LRW |
Jussi Kivilinna | 2470a2b | 2011-12-13 12:52:51 +0200 | [diff] [blame] | 451 | tristate "LRW support" |
David Howells | 9083163 | 2006-12-16 12:13:14 +1100 | [diff] [blame] | 452 | select CRYPTO_BLKCIPHER |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 453 | select CRYPTO_MANAGER |
| 454 | select CRYPTO_GF128MUL |
David Howells | 9083163 | 2006-12-16 12:13:14 +1100 | [diff] [blame] | 455 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 456 | LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable |
| 457 | narrow block cipher mode for dm-crypt. Use it with cipher |
| 458 | specification string aes-lrw-benbi, the key must be 256, 320 or 384. |
| 459 | The first 128, 192 or 256 bits in the key are used for AES and the |
| 460 | rest is used to tie each cipher block to its logical position. |
David Howells | 9083163 | 2006-12-16 12:13:14 +1100 | [diff] [blame] | 461 | |
Gilad Ben-Yossef | e497c51 | 2018-09-20 14:18:39 +0100 | [diff] [blame] | 462 | config CRYPTO_OFB |
| 463 | tristate "OFB support" |
| 464 | select CRYPTO_BLKCIPHER |
| 465 | select CRYPTO_MANAGER |
| 466 | help |
| 467 | OFB: the Output Feedback mode makes a block cipher into a synchronous |
| 468 | stream cipher. It generates keystream blocks, which are then XORed |
| 469 | with the plaintext blocks to get the ciphertext. Flipping a bit in the |
| 470 | ciphertext produces a flipped bit in the plaintext at the same |
| 471 | location. This property allows many error correcting codes to function |
| 472 | normally even when applied before encryption. |
| 473 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 474 | config CRYPTO_PCBC |
| 475 | tristate "PCBC support" |
| 476 | select CRYPTO_BLKCIPHER |
| 477 | select CRYPTO_MANAGER |
| 478 | help |
| 479 | PCBC: Propagating Cipher Block Chaining mode |
| 480 | This block cipher algorithm is required for RxRPC. |
| 481 | |
| 482 | config CRYPTO_XTS |
Jussi Kivilinna | 5bcf8e6 | 2011-12-13 12:52:56 +0200 | [diff] [blame] | 483 | tristate "XTS support" |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 484 | select CRYPTO_BLKCIPHER |
| 485 | select CRYPTO_MANAGER |
Milan Broz | 12cb3a1 | 2017-02-23 08:38:26 +0100 | [diff] [blame] | 486 | select CRYPTO_ECB |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 487 | help |
| 488 | XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, |
| 489 | key size 256, 384 or 512 bits. This implementation currently |
| 490 | can't handle a sectorsize which is not a multiple of 16 bytes. |
| 491 | |
Stephan Mueller | 1c49678e | 2015-09-21 20:58:56 +0200 | [diff] [blame] | 492 | config CRYPTO_KEYWRAP |
| 493 | tristate "Key wrapping support" |
| 494 | select CRYPTO_BLKCIPHER |
| 495 | help |
| 496 | Support for key wrapping (NIST SP800-38F / RFC3394) without |
| 497 | padding. |
| 498 | |
Eric Biggers | 26609a2 | 2018-11-16 17:26:29 -0800 | [diff] [blame] | 499 | config CRYPTO_NHPOLY1305 |
| 500 | tristate |
| 501 | select CRYPTO_HASH |
| 502 | select CRYPTO_POLY1305 |
| 503 | |
Eric Biggers | 012c823 | 2018-12-04 22:20:00 -0800 | [diff] [blame] | 504 | config CRYPTO_NHPOLY1305_SSE2 |
| 505 | tristate "NHPoly1305 hash function (x86_64 SSE2 implementation)" |
| 506 | depends on X86 && 64BIT |
| 507 | select CRYPTO_NHPOLY1305 |
| 508 | help |
| 509 | SSE2 optimized implementation of the hash function used by the |
| 510 | Adiantum encryption mode. |
| 511 | |
Eric Biggers | 0f961f9 | 2018-12-04 22:20:01 -0800 | [diff] [blame^] | 512 | config CRYPTO_NHPOLY1305_AVX2 |
| 513 | tristate "NHPoly1305 hash function (x86_64 AVX2 implementation)" |
| 514 | depends on X86 && 64BIT |
| 515 | select CRYPTO_NHPOLY1305 |
| 516 | help |
| 517 | AVX2 optimized implementation of the hash function used by the |
| 518 | Adiantum encryption mode. |
| 519 | |
Eric Biggers | 059c2a4 | 2018-11-16 17:26:31 -0800 | [diff] [blame] | 520 | config CRYPTO_ADIANTUM |
| 521 | tristate "Adiantum support" |
| 522 | select CRYPTO_CHACHA20 |
| 523 | select CRYPTO_POLY1305 |
| 524 | select CRYPTO_NHPOLY1305 |
| 525 | help |
| 526 | Adiantum is a tweakable, length-preserving encryption mode |
| 527 | designed for fast and secure disk encryption, especially on |
| 528 | CPUs without dedicated crypto instructions. It encrypts |
| 529 | each sector using the XChaCha12 stream cipher, two passes of |
| 530 | an ε-almost-∆-universal hash function, and an invocation of |
| 531 | the AES-256 block cipher on a single 16-byte block. On CPUs |
| 532 | without AES instructions, Adiantum is much faster than |
| 533 | AES-XTS. |
| 534 | |
| 535 | Adiantum's security is provably reducible to that of its |
| 536 | underlying stream and block ciphers, subject to a security |
| 537 | bound. Unlike XTS, Adiantum is a true wide-block encryption |
| 538 | mode, so it actually provides an even stronger notion of |
| 539 | security than XTS, subject to the security bound. |
| 540 | |
| 541 | If unsure, say N. |
| 542 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 543 | comment "Hash modes" |
| 544 | |
Jussi Kivilinna | 93b5e86 | 2013-04-08 10:48:44 +0300 | [diff] [blame] | 545 | config CRYPTO_CMAC |
| 546 | tristate "CMAC support" |
| 547 | select CRYPTO_HASH |
| 548 | select CRYPTO_MANAGER |
| 549 | help |
| 550 | Cipher-based Message Authentication Code (CMAC) specified by |
| 551 | The National Institute of Standards and Technology (NIST). |
| 552 | |
| 553 | https://tools.ietf.org/html/rfc4493 |
| 554 | http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf |
| 555 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 556 | config CRYPTO_HMAC |
| 557 | tristate "HMAC support" |
| 558 | select CRYPTO_HASH |
| 559 | select CRYPTO_MANAGER |
| 560 | help |
| 561 | HMAC: Keyed-Hashing for Message Authentication (RFC2104). |
| 562 | This is required for IPSec. |
| 563 | |
| 564 | config CRYPTO_XCBC |
| 565 | tristate "XCBC support" |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 566 | select CRYPTO_HASH |
| 567 | select CRYPTO_MANAGER |
| 568 | help |
| 569 | XCBC: Keyed-Hashing with encryption algorithm |
| 570 | http://www.ietf.org/rfc/rfc3566.txt |
| 571 | http://csrc.nist.gov/encryption/modes/proposedmodes/ |
| 572 | xcbc-mac/xcbc-mac-spec.pdf |
| 573 | |
Shane Wang | f1939f7 | 2009-09-02 20:05:22 +1000 | [diff] [blame] | 574 | config CRYPTO_VMAC |
| 575 | tristate "VMAC support" |
Shane Wang | f1939f7 | 2009-09-02 20:05:22 +1000 | [diff] [blame] | 576 | select CRYPTO_HASH |
| 577 | select CRYPTO_MANAGER |
| 578 | help |
| 579 | VMAC is a message authentication algorithm designed for |
| 580 | very high speed on 64-bit architectures. |
| 581 | |
| 582 | See also: |
| 583 | <http://fastcrypto.org/vmac> |
| 584 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 585 | comment "Digest" |
| 586 | |
| 587 | config CRYPTO_CRC32C |
| 588 | tristate "CRC32c CRC algorithm" |
Herbert Xu | 5773a3e | 2008-07-08 20:54:28 +0800 | [diff] [blame] | 589 | select CRYPTO_HASH |
Darrick J. Wong | 6a0962b | 2012-03-23 15:02:25 -0700 | [diff] [blame] | 590 | select CRC32 |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 591 | help |
| 592 | Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used |
| 593 | by iSCSI for header and data digests and by others. |
Herbert Xu | 69c35ef | 2008-11-07 15:11:47 +0800 | [diff] [blame] | 594 | See Castagnoli93. Module will be crc32c. |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 595 | |
Austin Zhang | 8cb51ba | 2008-08-07 09:57:03 +0800 | [diff] [blame] | 596 | config CRYPTO_CRC32C_INTEL |
| 597 | tristate "CRC32c INTEL hardware acceleration" |
| 598 | depends on X86 |
| 599 | select CRYPTO_HASH |
| 600 | help |
| 601 | In Intel processor with SSE4.2 supported, the processor will |
| 602 | support CRC32C implementation using hardware accelerated CRC32 |
| 603 | instruction. This option will create 'crc32c-intel' module, |
| 604 | which will enable any routine to use the CRC32 instruction to |
| 605 | gain performance compared with software implementation. |
| 606 | Module will be crc32c-intel. |
| 607 | |
Jean Delvare | 7cf3186 | 2016-11-22 10:32:44 +0100 | [diff] [blame] | 608 | config CRYPTO_CRC32C_VPMSUM |
Anton Blanchard | 6dd7a82 | 2016-07-01 08:19:45 +1000 | [diff] [blame] | 609 | tristate "CRC32c CRC algorithm (powerpc64)" |
Michael Ellerman | c12abf3 | 2016-08-09 08:46:15 +1000 | [diff] [blame] | 610 | depends on PPC64 && ALTIVEC |
Anton Blanchard | 6dd7a82 | 2016-07-01 08:19:45 +1000 | [diff] [blame] | 611 | select CRYPTO_HASH |
| 612 | select CRC32 |
| 613 | help |
| 614 | CRC32c algorithm implemented using vector polynomial multiply-sum |
| 615 | (vpmsum) instructions, introduced in POWER8. Enable on POWER8 |
| 616 | and newer processors for improved performance. |
| 617 | |
| 618 | |
David S. Miller | 442a7c4 | 2012-08-22 20:47:36 -0700 | [diff] [blame] | 619 | config CRYPTO_CRC32C_SPARC64 |
| 620 | tristate "CRC32c CRC algorithm (SPARC64)" |
| 621 | depends on SPARC64 |
| 622 | select CRYPTO_HASH |
| 623 | select CRC32 |
| 624 | help |
| 625 | CRC32c CRC algorithm implemented using sparc64 crypto instructions, |
| 626 | when available. |
| 627 | |
Alexander Boyko | 78c37d1 | 2013-01-10 18:54:59 +0400 | [diff] [blame] | 628 | config CRYPTO_CRC32 |
| 629 | tristate "CRC32 CRC algorithm" |
| 630 | select CRYPTO_HASH |
| 631 | select CRC32 |
| 632 | help |
| 633 | CRC-32-IEEE 802.3 cyclic redundancy-check algorithm. |
| 634 | Shash crypto api wrappers to crc32_le function. |
| 635 | |
| 636 | config CRYPTO_CRC32_PCLMUL |
| 637 | tristate "CRC32 PCLMULQDQ hardware acceleration" |
| 638 | depends on X86 |
| 639 | select CRYPTO_HASH |
| 640 | select CRC32 |
| 641 | help |
| 642 | From Intel Westmere and AMD Bulldozer processor with SSE4.2 |
| 643 | and PCLMULQDQ supported, the processor will support |
| 644 | CRC32 PCLMULQDQ implementation using hardware accelerated PCLMULQDQ |
| 645 | instruction. This option will create 'crc32-plcmul' module, |
| 646 | which will enable any routine to use the CRC-32-IEEE 802.3 checksum |
| 647 | and gain better performance as compared with the table implementation. |
| 648 | |
Marcin Nowakowski | 4a5dc51 | 2018-02-09 22:11:06 +0000 | [diff] [blame] | 649 | config CRYPTO_CRC32_MIPS |
| 650 | tristate "CRC32c and CRC32 CRC algorithm (MIPS)" |
| 651 | depends on MIPS_CRC_SUPPORT |
| 652 | select CRYPTO_HASH |
| 653 | help |
| 654 | CRC32c and CRC32 CRC algorithms implemented using mips crypto |
| 655 | instructions, when available. |
| 656 | |
| 657 | |
Herbert Xu | 68411521 | 2013-09-07 12:56:26 +1000 | [diff] [blame] | 658 | config CRYPTO_CRCT10DIF |
| 659 | tristate "CRCT10DIF algorithm" |
| 660 | select CRYPTO_HASH |
| 661 | help |
| 662 | CRC T10 Data Integrity Field computation is being cast as |
| 663 | a crypto transform. This allows for faster crc t10 diff |
| 664 | transforms to be used if they are available. |
| 665 | |
| 666 | config CRYPTO_CRCT10DIF_PCLMUL |
| 667 | tristate "CRCT10DIF PCLMULQDQ hardware acceleration" |
| 668 | depends on X86 && 64BIT && CRC_T10DIF |
| 669 | select CRYPTO_HASH |
| 670 | help |
| 671 | For x86_64 processors with SSE4.2 and PCLMULQDQ supported, |
| 672 | CRC T10 DIF PCLMULQDQ computation can be hardware |
| 673 | accelerated PCLMULQDQ instruction. This option will create |
| 674 | 'crct10dif-plcmul' module, which is faster when computing the |
| 675 | crct10dif checksum as compared with the generic table implementation. |
| 676 | |
Daniel Axtens | b01df1c | 2017-03-15 23:37:36 +1100 | [diff] [blame] | 677 | config CRYPTO_CRCT10DIF_VPMSUM |
| 678 | tristate "CRC32T10DIF powerpc64 hardware acceleration" |
| 679 | depends on PPC64 && ALTIVEC && CRC_T10DIF |
| 680 | select CRYPTO_HASH |
| 681 | help |
| 682 | CRC10T10DIF algorithm implemented using vector polynomial |
| 683 | multiply-sum (vpmsum) instructions, introduced in POWER8. Enable on |
| 684 | POWER8 and newer processors for improved performance. |
| 685 | |
Daniel Axtens | 146c868 | 2017-03-15 23:37:37 +1100 | [diff] [blame] | 686 | config CRYPTO_VPMSUM_TESTER |
| 687 | tristate "Powerpc64 vpmsum hardware acceleration tester" |
| 688 | depends on CRYPTO_CRCT10DIF_VPMSUM && CRYPTO_CRC32C_VPMSUM |
| 689 | help |
| 690 | Stress test for CRC32c and CRC-T10DIF algorithms implemented with |
| 691 | POWER8 vpmsum instructions. |
| 692 | Unless you are testing these algorithms, you don't need this. |
| 693 | |
Huang Ying | 2cdc689 | 2009-08-06 15:32:38 +1000 | [diff] [blame] | 694 | config CRYPTO_GHASH |
| 695 | tristate "GHASH digest algorithm" |
Huang Ying | 2cdc689 | 2009-08-06 15:32:38 +1000 | [diff] [blame] | 696 | select CRYPTO_GF128MUL |
Arnd Bergmann | 578c60f | 2016-01-25 17:51:21 +0100 | [diff] [blame] | 697 | select CRYPTO_HASH |
Huang Ying | 2cdc689 | 2009-08-06 15:32:38 +1000 | [diff] [blame] | 698 | help |
| 699 | GHASH is message digest algorithm for GCM (Galois/Counter Mode). |
| 700 | |
Martin Willi | f979e01 | 2015-06-01 13:43:58 +0200 | [diff] [blame] | 701 | config CRYPTO_POLY1305 |
| 702 | tristate "Poly1305 authenticator algorithm" |
Arnd Bergmann | 578c60f | 2016-01-25 17:51:21 +0100 | [diff] [blame] | 703 | select CRYPTO_HASH |
Martin Willi | f979e01 | 2015-06-01 13:43:58 +0200 | [diff] [blame] | 704 | help |
| 705 | Poly1305 authenticator algorithm, RFC7539. |
| 706 | |
| 707 | Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein. |
| 708 | It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use |
| 709 | in IETF protocols. This is the portable C implementation of Poly1305. |
| 710 | |
Martin Willi | c70f4ab | 2015-07-16 19:14:06 +0200 | [diff] [blame] | 711 | config CRYPTO_POLY1305_X86_64 |
Martin Willi | b1ccc8f | 2015-07-16 19:14:08 +0200 | [diff] [blame] | 712 | tristate "Poly1305 authenticator algorithm (x86_64/SSE2/AVX2)" |
Martin Willi | c70f4ab | 2015-07-16 19:14:06 +0200 | [diff] [blame] | 713 | depends on X86 && 64BIT |
| 714 | select CRYPTO_POLY1305 |
| 715 | help |
| 716 | Poly1305 authenticator algorithm, RFC7539. |
| 717 | |
| 718 | Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein. |
| 719 | It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use |
| 720 | in IETF protocols. This is the x86_64 assembler implementation using SIMD |
| 721 | instructions. |
| 722 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 723 | config CRYPTO_MD4 |
| 724 | tristate "MD4 digest algorithm" |
Adrian-Ken Rueegsegger | 808a176 | 2008-12-03 19:55:27 +0800 | [diff] [blame] | 725 | select CRYPTO_HASH |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 726 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 727 | MD4 message digest algorithm (RFC1320). |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 728 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 729 | config CRYPTO_MD5 |
| 730 | tristate "MD5 digest algorithm" |
Adrian-Ken Rueegsegger | 14b75ba | 2008-12-03 19:57:12 +0800 | [diff] [blame] | 731 | select CRYPTO_HASH |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 732 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 733 | MD5 message digest algorithm (RFC1321). |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 734 | |
Aaro Koskinen | d69e75d | 2014-12-21 22:54:02 +0200 | [diff] [blame] | 735 | config CRYPTO_MD5_OCTEON |
| 736 | tristate "MD5 digest algorithm (OCTEON)" |
| 737 | depends on CPU_CAVIUM_OCTEON |
| 738 | select CRYPTO_MD5 |
| 739 | select CRYPTO_HASH |
| 740 | help |
| 741 | MD5 message digest algorithm (RFC1321) implemented |
| 742 | using OCTEON crypto instructions, when available. |
| 743 | |
Markus Stockhausen | e8e5995 | 2015-03-01 19:30:46 +0100 | [diff] [blame] | 744 | config CRYPTO_MD5_PPC |
| 745 | tristate "MD5 digest algorithm (PPC)" |
| 746 | depends on PPC |
| 747 | select CRYPTO_HASH |
| 748 | help |
| 749 | MD5 message digest algorithm (RFC1321) implemented |
| 750 | in PPC assembler. |
| 751 | |
David S. Miller | fa4dfed | 2012-08-19 21:51:26 -0700 | [diff] [blame] | 752 | config CRYPTO_MD5_SPARC64 |
| 753 | tristate "MD5 digest algorithm (SPARC64)" |
| 754 | depends on SPARC64 |
| 755 | select CRYPTO_MD5 |
| 756 | select CRYPTO_HASH |
| 757 | help |
| 758 | MD5 message digest algorithm (RFC1321) implemented |
| 759 | using sparc64 crypto instructions, when available. |
| 760 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 761 | config CRYPTO_MICHAEL_MIC |
| 762 | tristate "Michael MIC keyed digest algorithm" |
Adrian-Ken Rueegsegger | 19e2bf1 | 2008-12-07 19:35:38 +0800 | [diff] [blame] | 763 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 764 | help |
| 765 | Michael MIC is used for message integrity protection in TKIP |
| 766 | (IEEE 802.11i). This algorithm is required for TKIP, but it |
| 767 | should not be used for other purposes because of the weakness |
| 768 | of the algorithm. |
| 769 | |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 770 | config CRYPTO_RMD128 |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 771 | tristate "RIPEMD-128 digest algorithm" |
Herbert Xu | 7c4468b | 2008-11-08 09:10:40 +0800 | [diff] [blame] | 772 | select CRYPTO_HASH |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 773 | help |
| 774 | RIPEMD-128 (ISO/IEC 10118-3:2004). |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 775 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 776 | RIPEMD-128 is a 128-bit cryptographic hash function. It should only |
Michael Witten | 35ed4b3 | 2011-07-09 04:02:31 +0000 | [diff] [blame] | 777 | be used as a secure replacement for RIPEMD. For other use cases, |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 778 | RIPEMD-160 should be used. |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 779 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 780 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
Justin P. Mattock | 6d8de74 | 2010-09-12 10:42:47 +0800 | [diff] [blame] | 781 | See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 782 | |
| 783 | config CRYPTO_RMD160 |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 784 | tristate "RIPEMD-160 digest algorithm" |
Herbert Xu | e5835fb | 2008-11-08 09:18:51 +0800 | [diff] [blame] | 785 | select CRYPTO_HASH |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 786 | help |
| 787 | RIPEMD-160 (ISO/IEC 10118-3:2004). |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 788 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 789 | RIPEMD-160 is a 160-bit cryptographic hash function. It is intended |
| 790 | to be used as a secure replacement for the 128-bit hash functions |
| 791 | MD4, MD5 and it's predecessor RIPEMD |
| 792 | (not to be confused with RIPEMD-128). |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 793 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 794 | It's speed is comparable to SHA1 and there are no known attacks |
| 795 | against RIPEMD-160. |
Adrian-Ken Rueegsegger | 534fe2c1 | 2008-05-09 21:30:27 +0800 | [diff] [blame] | 796 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 797 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
Justin P. Mattock | 6d8de74 | 2010-09-12 10:42:47 +0800 | [diff] [blame] | 798 | See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
Adrian-Ken Rueegsegger | 534fe2c1 | 2008-05-09 21:30:27 +0800 | [diff] [blame] | 799 | |
| 800 | config CRYPTO_RMD256 |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 801 | tristate "RIPEMD-256 digest algorithm" |
Herbert Xu | d8a5e2e | 2008-11-08 09:58:10 +0800 | [diff] [blame] | 802 | select CRYPTO_HASH |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 803 | help |
| 804 | RIPEMD-256 is an optional extension of RIPEMD-128 with a |
| 805 | 256 bit hash. It is intended for applications that require |
| 806 | longer hash-results, without needing a larger security level |
| 807 | (than RIPEMD-128). |
Adrian-Ken Rueegsegger | 534fe2c1 | 2008-05-09 21:30:27 +0800 | [diff] [blame] | 808 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 809 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
Justin P. Mattock | 6d8de74 | 2010-09-12 10:42:47 +0800 | [diff] [blame] | 810 | See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
Adrian-Ken Rueegsegger | 534fe2c1 | 2008-05-09 21:30:27 +0800 | [diff] [blame] | 811 | |
| 812 | config CRYPTO_RMD320 |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 813 | tristate "RIPEMD-320 digest algorithm" |
Herbert Xu | 3b8efb4 | 2008-11-08 10:11:09 +0800 | [diff] [blame] | 814 | select CRYPTO_HASH |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 815 | help |
| 816 | RIPEMD-320 is an optional extension of RIPEMD-160 with a |
| 817 | 320 bit hash. It is intended for applications that require |
| 818 | longer hash-results, without needing a larger security level |
| 819 | (than RIPEMD-160). |
Adrian-Ken Rueegsegger | 534fe2c1 | 2008-05-09 21:30:27 +0800 | [diff] [blame] | 820 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 821 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
Justin P. Mattock | 6d8de74 | 2010-09-12 10:42:47 +0800 | [diff] [blame] | 822 | See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 823 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 824 | config CRYPTO_SHA1 |
| 825 | tristate "SHA1 digest algorithm" |
Adrian-Ken Rueegsegger | 54ccb36 | 2008-12-02 21:08:20 +0800 | [diff] [blame] | 826 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 827 | help |
| 828 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). |
| 829 | |
Mathias Krause | 66be895 | 2011-08-04 20:19:25 +0200 | [diff] [blame] | 830 | config CRYPTO_SHA1_SSSE3 |
tim | e38b6b7f | 2015-09-10 15:27:26 -0700 | [diff] [blame] | 831 | tristate "SHA1 digest algorithm (SSSE3/AVX/AVX2/SHA-NI)" |
Mathias Krause | 66be895 | 2011-08-04 20:19:25 +0200 | [diff] [blame] | 832 | depends on X86 && 64BIT |
| 833 | select CRYPTO_SHA1 |
| 834 | select CRYPTO_HASH |
| 835 | help |
| 836 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented |
| 837 | using Supplemental SSE3 (SSSE3) instructions or Advanced Vector |
tim | e38b6b7f | 2015-09-10 15:27:26 -0700 | [diff] [blame] | 838 | Extensions (AVX/AVX2) or SHA-NI(SHA Extensions New Instructions), |
| 839 | when available. |
Mathias Krause | 66be895 | 2011-08-04 20:19:25 +0200 | [diff] [blame] | 840 | |
Tim Chen | 8275d1a | 2013-03-26 13:59:17 -0700 | [diff] [blame] | 841 | config CRYPTO_SHA256_SSSE3 |
tim | e38b6b7f | 2015-09-10 15:27:26 -0700 | [diff] [blame] | 842 | tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2/SHA-NI)" |
Tim Chen | 8275d1a | 2013-03-26 13:59:17 -0700 | [diff] [blame] | 843 | depends on X86 && 64BIT |
| 844 | select CRYPTO_SHA256 |
| 845 | select CRYPTO_HASH |
| 846 | help |
| 847 | SHA-256 secure hash standard (DFIPS 180-2) implemented |
| 848 | using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector |
| 849 | Extensions version 1 (AVX1), or Advanced Vector Extensions |
tim | e38b6b7f | 2015-09-10 15:27:26 -0700 | [diff] [blame] | 850 | version 2 (AVX2) instructions, or SHA-NI (SHA Extensions New |
| 851 | Instructions) when available. |
Tim Chen | 8275d1a | 2013-03-26 13:59:17 -0700 | [diff] [blame] | 852 | |
Tim Chen | 87de457 | 2013-03-26 14:00:02 -0700 | [diff] [blame] | 853 | config CRYPTO_SHA512_SSSE3 |
| 854 | tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)" |
| 855 | depends on X86 && 64BIT |
| 856 | select CRYPTO_SHA512 |
| 857 | select CRYPTO_HASH |
| 858 | help |
| 859 | SHA-512 secure hash standard (DFIPS 180-2) implemented |
| 860 | using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector |
| 861 | Extensions version 1 (AVX1), or Advanced Vector Extensions |
| 862 | version 2 (AVX2) instructions, when available. |
| 863 | |
Aaro Koskinen | efdb6f6 | 2015-03-08 22:07:47 +0200 | [diff] [blame] | 864 | config CRYPTO_SHA1_OCTEON |
| 865 | tristate "SHA1 digest algorithm (OCTEON)" |
| 866 | depends on CPU_CAVIUM_OCTEON |
| 867 | select CRYPTO_SHA1 |
| 868 | select CRYPTO_HASH |
| 869 | help |
| 870 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented |
| 871 | using OCTEON crypto instructions, when available. |
| 872 | |
David S. Miller | 4ff28d4 | 2012-08-19 15:41:53 -0700 | [diff] [blame] | 873 | config CRYPTO_SHA1_SPARC64 |
| 874 | tristate "SHA1 digest algorithm (SPARC64)" |
| 875 | depends on SPARC64 |
| 876 | select CRYPTO_SHA1 |
| 877 | select CRYPTO_HASH |
| 878 | help |
| 879 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented |
| 880 | using sparc64 crypto instructions, when available. |
| 881 | |
Michael Ellerman | 323a6bf | 2012-09-13 23:00:49 +0000 | [diff] [blame] | 882 | config CRYPTO_SHA1_PPC |
| 883 | tristate "SHA1 digest algorithm (powerpc)" |
| 884 | depends on PPC |
| 885 | help |
| 886 | This is the powerpc hardware accelerated implementation of the |
| 887 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). |
| 888 | |
Markus Stockhausen | d9850fc | 2015-02-24 20:36:50 +0100 | [diff] [blame] | 889 | config CRYPTO_SHA1_PPC_SPE |
| 890 | tristate "SHA1 digest algorithm (PPC SPE)" |
| 891 | depends on PPC && SPE |
| 892 | help |
| 893 | SHA-1 secure hash standard (DFIPS 180-4) implemented |
| 894 | using powerpc SPE SIMD instruction set. |
| 895 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 896 | config CRYPTO_SHA256 |
| 897 | tristate "SHA224 and SHA256 digest algorithm" |
Adrian-Ken Rueegsegger | 50e109b5 | 2008-12-03 19:57:49 +0800 | [diff] [blame] | 898 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 899 | help |
| 900 | SHA256 secure hash standard (DFIPS 180-2). |
| 901 | |
| 902 | This version of SHA implements a 256 bit hash with 128 bits of |
| 903 | security against collision attacks. |
| 904 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 905 | This code also includes SHA-224, a 224 bit hash with 112 bits |
| 906 | of security against collision attacks. |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 907 | |
Markus Stockhausen | 2ecc1e9 | 2015-01-30 15:39:34 +0100 | [diff] [blame] | 908 | config CRYPTO_SHA256_PPC_SPE |
| 909 | tristate "SHA224 and SHA256 digest algorithm (PPC SPE)" |
| 910 | depends on PPC && SPE |
| 911 | select CRYPTO_SHA256 |
| 912 | select CRYPTO_HASH |
| 913 | help |
| 914 | SHA224 and SHA256 secure hash standard (DFIPS 180-2) |
| 915 | implemented using powerpc SPE SIMD instruction set. |
| 916 | |
Aaro Koskinen | efdb6f6 | 2015-03-08 22:07:47 +0200 | [diff] [blame] | 917 | config CRYPTO_SHA256_OCTEON |
| 918 | tristate "SHA224 and SHA256 digest algorithm (OCTEON)" |
| 919 | depends on CPU_CAVIUM_OCTEON |
| 920 | select CRYPTO_SHA256 |
| 921 | select CRYPTO_HASH |
| 922 | help |
| 923 | SHA-256 secure hash standard (DFIPS 180-2) implemented |
| 924 | using OCTEON crypto instructions, when available. |
| 925 | |
David S. Miller | 86c93b2 | 2012-08-19 17:11:37 -0700 | [diff] [blame] | 926 | config CRYPTO_SHA256_SPARC64 |
| 927 | tristate "SHA224 and SHA256 digest algorithm (SPARC64)" |
| 928 | depends on SPARC64 |
| 929 | select CRYPTO_SHA256 |
| 930 | select CRYPTO_HASH |
| 931 | help |
| 932 | SHA-256 secure hash standard (DFIPS 180-2) implemented |
| 933 | using sparc64 crypto instructions, when available. |
| 934 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 935 | config CRYPTO_SHA512 |
| 936 | tristate "SHA384 and SHA512 digest algorithms" |
Adrian-Ken Rueegsegger | bd9d20d | 2008-12-17 16:49:02 +1100 | [diff] [blame] | 937 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 938 | help |
| 939 | SHA512 secure hash standard (DFIPS 180-2). |
| 940 | |
| 941 | This version of SHA implements a 512 bit hash with 256 bits of |
| 942 | security against collision attacks. |
| 943 | |
| 944 | This code also includes SHA-384, a 384 bit hash with 192 bits |
| 945 | of security against collision attacks. |
| 946 | |
Aaro Koskinen | efdb6f6 | 2015-03-08 22:07:47 +0200 | [diff] [blame] | 947 | config CRYPTO_SHA512_OCTEON |
| 948 | tristate "SHA384 and SHA512 digest algorithms (OCTEON)" |
| 949 | depends on CPU_CAVIUM_OCTEON |
| 950 | select CRYPTO_SHA512 |
| 951 | select CRYPTO_HASH |
| 952 | help |
| 953 | SHA-512 secure hash standard (DFIPS 180-2) implemented |
| 954 | using OCTEON crypto instructions, when available. |
| 955 | |
David S. Miller | 775e0c6 | 2012-08-19 17:37:56 -0700 | [diff] [blame] | 956 | config CRYPTO_SHA512_SPARC64 |
| 957 | tristate "SHA384 and SHA512 digest algorithm (SPARC64)" |
| 958 | depends on SPARC64 |
| 959 | select CRYPTO_SHA512 |
| 960 | select CRYPTO_HASH |
| 961 | help |
| 962 | SHA-512 secure hash standard (DFIPS 180-2) implemented |
| 963 | using sparc64 crypto instructions, when available. |
| 964 | |
Jeff Garzik | 53964b9 | 2016-06-17 10:30:35 +0530 | [diff] [blame] | 965 | config CRYPTO_SHA3 |
| 966 | tristate "SHA3 digest algorithm" |
| 967 | select CRYPTO_HASH |
| 968 | help |
| 969 | SHA-3 secure hash standard (DFIPS 202). It's based on |
| 970 | cryptographic sponge function family called Keccak. |
| 971 | |
| 972 | References: |
| 973 | http://keccak.noekeon.org/ |
| 974 | |
Gilad Ben-Yossef | 4f0fc16 | 2017-08-21 13:51:28 +0300 | [diff] [blame] | 975 | config CRYPTO_SM3 |
| 976 | tristate "SM3 digest algorithm" |
| 977 | select CRYPTO_HASH |
| 978 | help |
| 979 | SM3 secure hash function as defined by OSCCA GM/T 0004-2012 SM3). |
| 980 | It is part of the Chinese Commercial Cryptography suite. |
| 981 | |
| 982 | References: |
| 983 | http://www.oscca.gov.cn/UpFile/20101222141857786.pdf |
| 984 | https://datatracker.ietf.org/doc/html/draft-shen-sm3-hash |
| 985 | |
Vitaly Chikunov | fe18957 | 2018-11-07 00:00:01 +0300 | [diff] [blame] | 986 | config CRYPTO_STREEBOG |
| 987 | tristate "Streebog Hash Function" |
| 988 | select CRYPTO_HASH |
| 989 | help |
| 990 | Streebog Hash Function (GOST R 34.11-2012, RFC 6986) is one of the Russian |
| 991 | cryptographic standard algorithms (called GOST algorithms). |
| 992 | This setting enables two hash algorithms with 256 and 512 bits output. |
| 993 | |
| 994 | References: |
| 995 | https://tc26.ru/upload/iblock/fed/feddbb4d26b685903faa2ba11aea43f6.pdf |
| 996 | https://tools.ietf.org/html/rfc6986 |
| 997 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 998 | config CRYPTO_TGR192 |
| 999 | tristate "Tiger digest algorithms" |
Adrian-Ken Rueegsegger | f63fbd3 | 2008-12-03 19:58:32 +0800 | [diff] [blame] | 1000 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1001 | help |
| 1002 | Tiger hash algorithm 192, 160 and 128-bit hashes |
| 1003 | |
| 1004 | Tiger is a hash function optimized for 64-bit processors while |
| 1005 | still having decent performance on 32-bit processors. |
| 1006 | Tiger was developed by Ross Anderson and Eli Biham. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1007 | |
| 1008 | See also: |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1009 | <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. |
| 1010 | |
| 1011 | config CRYPTO_WP512 |
| 1012 | tristate "Whirlpool digest algorithms" |
Adrian-Ken Rueegsegger | 4946510 | 2008-12-07 19:34:37 +0800 | [diff] [blame] | 1013 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1014 | help |
| 1015 | Whirlpool hash algorithm 512, 384 and 256-bit hashes |
| 1016 | |
| 1017 | Whirlpool-512 is part of the NESSIE cryptographic primitives. |
| 1018 | Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard |
| 1019 | |
| 1020 | See also: |
Justin P. Mattock | 6d8de74 | 2010-09-12 10:42:47 +0800 | [diff] [blame] | 1021 | <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html> |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1022 | |
Huang Ying | 0e1227d | 2009-10-19 11:53:06 +0900 | [diff] [blame] | 1023 | config CRYPTO_GHASH_CLMUL_NI_INTEL |
| 1024 | tristate "GHASH digest algorithm (CLMUL-NI accelerated)" |
Richard Weinberger | 8af0086 | 2011-06-08 20:56:29 +0800 | [diff] [blame] | 1025 | depends on X86 && 64BIT |
Huang Ying | 0e1227d | 2009-10-19 11:53:06 +0900 | [diff] [blame] | 1026 | select CRYPTO_CRYPTD |
| 1027 | help |
| 1028 | GHASH is message digest algorithm for GCM (Galois/Counter Mode). |
| 1029 | The implementation is accelerated by CLMUL-NI of Intel. |
| 1030 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1031 | comment "Ciphers" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1032 | |
| 1033 | config CRYPTO_AES |
| 1034 | tristate "AES cipher algorithms" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 1035 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1036 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1037 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1038 | algorithm. |
| 1039 | |
| 1040 | Rijndael appears to be consistently a very good performer in |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1041 | both hardware and software across a wide range of computing |
| 1042 | environments regardless of its use in feedback or non-feedback |
| 1043 | modes. Its key setup time is excellent, and its key agility is |
| 1044 | good. Rijndael's very low memory requirements make it very well |
| 1045 | suited for restricted-space environments, in which it also |
| 1046 | demonstrates excellent performance. Rijndael's operations are |
| 1047 | among the easiest to defend against power and timing attacks. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1048 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1049 | The AES specifies three key sizes: 128, 192 and 256 bits |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1050 | |
| 1051 | See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. |
| 1052 | |
Ard Biesheuvel | b5e0b03 | 2017-02-02 16:37:40 +0000 | [diff] [blame] | 1053 | config CRYPTO_AES_TI |
| 1054 | tristate "Fixed time AES cipher" |
| 1055 | select CRYPTO_ALGAPI |
| 1056 | help |
| 1057 | This is a generic implementation of AES that attempts to eliminate |
| 1058 | data dependent latencies as much as possible without affecting |
| 1059 | performance too much. It is intended for use by the generic CCM |
| 1060 | and GCM drivers, and other CTR or CMAC/XCBC based modes that rely |
| 1061 | solely on encryption (although decryption is supported as well, but |
| 1062 | with a more dramatic performance hit) |
| 1063 | |
| 1064 | Instead of using 16 lookup tables of 1 KB each, (8 for encryption and |
| 1065 | 8 for decryption), this implementation only uses just two S-boxes of |
| 1066 | 256 bytes each, and attempts to eliminate data dependent latencies by |
| 1067 | prefetching the entire table into the cache at the start of each |
Eric Biggers | 0a6a40c | 2018-10-17 21:37:58 -0700 | [diff] [blame] | 1068 | block. Interrupts are also disabled to avoid races where cachelines |
| 1069 | are evicted when the CPU is interrupted to do something else. |
Ard Biesheuvel | b5e0b03 | 2017-02-02 16:37:40 +0000 | [diff] [blame] | 1070 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1071 | config CRYPTO_AES_586 |
| 1072 | tristate "AES cipher algorithms (i586)" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 1073 | depends on (X86 || UML_X86) && !64BIT |
| 1074 | select CRYPTO_ALGAPI |
Sebastian Siewior | 5157dea | 2007-11-10 19:07:16 +0800 | [diff] [blame] | 1075 | select CRYPTO_AES |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1076 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1077 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1078 | algorithm. |
| 1079 | |
| 1080 | Rijndael appears to be consistently a very good performer in |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1081 | both hardware and software across a wide range of computing |
| 1082 | environments regardless of its use in feedback or non-feedback |
| 1083 | modes. Its key setup time is excellent, and its key agility is |
| 1084 | good. Rijndael's very low memory requirements make it very well |
| 1085 | suited for restricted-space environments, in which it also |
| 1086 | demonstrates excellent performance. Rijndael's operations are |
| 1087 | among the easiest to defend against power and timing attacks. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1088 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1089 | The AES specifies three key sizes: 128, 192 and 256 bits |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1090 | |
| 1091 | See <http://csrc.nist.gov/encryption/aes/> for more information. |
| 1092 | |
Andreas Steinmetz | a2a892a | 2005-07-06 13:55:00 -0700 | [diff] [blame] | 1093 | config CRYPTO_AES_X86_64 |
| 1094 | tristate "AES cipher algorithms (x86_64)" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 1095 | depends on (X86 || UML_X86) && 64BIT |
| 1096 | select CRYPTO_ALGAPI |
Sebastian Siewior | 81190b3 | 2007-11-08 21:25:04 +0800 | [diff] [blame] | 1097 | select CRYPTO_AES |
Andreas Steinmetz | a2a892a | 2005-07-06 13:55:00 -0700 | [diff] [blame] | 1098 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1099 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
Andreas Steinmetz | a2a892a | 2005-07-06 13:55:00 -0700 | [diff] [blame] | 1100 | algorithm. |
| 1101 | |
| 1102 | Rijndael appears to be consistently a very good performer in |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1103 | both hardware and software across a wide range of computing |
| 1104 | environments regardless of its use in feedback or non-feedback |
| 1105 | modes. Its key setup time is excellent, and its key agility is |
| 1106 | good. Rijndael's very low memory requirements make it very well |
| 1107 | suited for restricted-space environments, in which it also |
| 1108 | demonstrates excellent performance. Rijndael's operations are |
| 1109 | among the easiest to defend against power and timing attacks. |
Andreas Steinmetz | a2a892a | 2005-07-06 13:55:00 -0700 | [diff] [blame] | 1110 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1111 | The AES specifies three key sizes: 128, 192 and 256 bits |
Andreas Steinmetz | a2a892a | 2005-07-06 13:55:00 -0700 | [diff] [blame] | 1112 | |
| 1113 | See <http://csrc.nist.gov/encryption/aes/> for more information. |
| 1114 | |
Huang Ying | 54b6a1b | 2009-01-18 16:28:34 +1100 | [diff] [blame] | 1115 | config CRYPTO_AES_NI_INTEL |
| 1116 | tristate "AES cipher algorithms (AES-NI)" |
Richard Weinberger | 8af0086 | 2011-06-08 20:56:29 +0800 | [diff] [blame] | 1117 | depends on X86 |
Herbert Xu | 8567186 | 2016-11-22 20:08:33 +0800 | [diff] [blame] | 1118 | select CRYPTO_AEAD |
Mathias Krause | 0d258ef | 2010-11-27 16:34:46 +0800 | [diff] [blame] | 1119 | select CRYPTO_AES_X86_64 if 64BIT |
| 1120 | select CRYPTO_AES_586 if !64BIT |
Huang Ying | 54b6a1b | 2009-01-18 16:28:34 +1100 | [diff] [blame] | 1121 | select CRYPTO_ALGAPI |
Herbert Xu | 8567186 | 2016-11-22 20:08:33 +0800 | [diff] [blame] | 1122 | select CRYPTO_BLKCIPHER |
Jussi Kivilinna | 7643a11 | 2013-04-10 18:39:20 +0300 | [diff] [blame] | 1123 | select CRYPTO_GLUE_HELPER_X86 if 64BIT |
Herbert Xu | 8567186 | 2016-11-22 20:08:33 +0800 | [diff] [blame] | 1124 | select CRYPTO_SIMD |
Huang Ying | 54b6a1b | 2009-01-18 16:28:34 +1100 | [diff] [blame] | 1125 | help |
| 1126 | Use Intel AES-NI instructions for AES algorithm. |
| 1127 | |
| 1128 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
| 1129 | algorithm. |
| 1130 | |
| 1131 | Rijndael appears to be consistently a very good performer in |
| 1132 | both hardware and software across a wide range of computing |
| 1133 | environments regardless of its use in feedback or non-feedback |
| 1134 | modes. Its key setup time is excellent, and its key agility is |
| 1135 | good. Rijndael's very low memory requirements make it very well |
| 1136 | suited for restricted-space environments, in which it also |
| 1137 | demonstrates excellent performance. Rijndael's operations are |
| 1138 | among the easiest to defend against power and timing attacks. |
| 1139 | |
| 1140 | The AES specifies three key sizes: 128, 192 and 256 bits |
| 1141 | |
| 1142 | See <http://csrc.nist.gov/encryption/aes/> for more information. |
| 1143 | |
Mathias Krause | 0d258ef | 2010-11-27 16:34:46 +0800 | [diff] [blame] | 1144 | In addition to AES cipher algorithm support, the acceleration |
| 1145 | for some popular block cipher mode is supported too, including |
Ard Biesheuvel | 944585a | 2018-09-24 14:48:16 +0200 | [diff] [blame] | 1146 | ECB, CBC, LRW, XTS. The 64 bit version has additional |
Mathias Krause | 0d258ef | 2010-11-27 16:34:46 +0800 | [diff] [blame] | 1147 | acceleration for CTR. |
Huang Ying | 2cf4ac8 | 2009-03-29 15:41:20 +0800 | [diff] [blame] | 1148 | |
David S. Miller | 9bf4852 | 2012-08-21 03:58:13 -0700 | [diff] [blame] | 1149 | config CRYPTO_AES_SPARC64 |
| 1150 | tristate "AES cipher algorithms (SPARC64)" |
| 1151 | depends on SPARC64 |
| 1152 | select CRYPTO_CRYPTD |
| 1153 | select CRYPTO_ALGAPI |
| 1154 | help |
| 1155 | Use SPARC64 crypto opcodes for AES algorithm. |
| 1156 | |
| 1157 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
| 1158 | algorithm. |
| 1159 | |
| 1160 | Rijndael appears to be consistently a very good performer in |
| 1161 | both hardware and software across a wide range of computing |
| 1162 | environments regardless of its use in feedback or non-feedback |
| 1163 | modes. Its key setup time is excellent, and its key agility is |
| 1164 | good. Rijndael's very low memory requirements make it very well |
| 1165 | suited for restricted-space environments, in which it also |
| 1166 | demonstrates excellent performance. Rijndael's operations are |
| 1167 | among the easiest to defend against power and timing attacks. |
| 1168 | |
| 1169 | The AES specifies three key sizes: 128, 192 and 256 bits |
| 1170 | |
| 1171 | See <http://csrc.nist.gov/encryption/aes/> for more information. |
| 1172 | |
| 1173 | In addition to AES cipher algorithm support, the acceleration |
| 1174 | for some popular block cipher mode is supported too, including |
| 1175 | ECB and CBC. |
| 1176 | |
Markus Stockhausen | 504c614 | 2015-02-22 10:00:10 +0100 | [diff] [blame] | 1177 | config CRYPTO_AES_PPC_SPE |
| 1178 | tristate "AES cipher algorithms (PPC SPE)" |
| 1179 | depends on PPC && SPE |
| 1180 | help |
| 1181 | AES cipher algorithms (FIPS-197). Additionally the acceleration |
| 1182 | for popular block cipher modes ECB, CBC, CTR and XTS is supported. |
| 1183 | This module should only be used for low power (router) devices |
| 1184 | without hardware AES acceleration (e.g. caam crypto). It reduces the |
| 1185 | size of the AES tables from 16KB to 8KB + 256 bytes and mitigates |
| 1186 | timining attacks. Nevertheless it might be not as secure as other |
| 1187 | architecture specific assembler implementations that work on 1KB |
| 1188 | tables or 256 bytes S-boxes. |
| 1189 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1190 | config CRYPTO_ANUBIS |
| 1191 | tristate "Anubis cipher algorithm" |
| 1192 | select CRYPTO_ALGAPI |
| 1193 | help |
| 1194 | Anubis cipher algorithm. |
| 1195 | |
| 1196 | Anubis is a variable key length cipher which can use keys from |
| 1197 | 128 bits to 320 bits in length. It was evaluated as a entrant |
| 1198 | in the NESSIE competition. |
| 1199 | |
| 1200 | See also: |
Justin P. Mattock | 6d8de74 | 2010-09-12 10:42:47 +0800 | [diff] [blame] | 1201 | <https://www.cosic.esat.kuleuven.be/nessie/reports/> |
| 1202 | <http://www.larc.usp.br/~pbarreto/AnubisPage.html> |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1203 | |
| 1204 | config CRYPTO_ARC4 |
| 1205 | tristate "ARC4 cipher algorithm" |
Sebastian Andrzej Siewior | b9b0f08 | 2012-06-26 18:13:46 +0200 | [diff] [blame] | 1206 | select CRYPTO_BLKCIPHER |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1207 | help |
| 1208 | ARC4 cipher algorithm. |
| 1209 | |
| 1210 | ARC4 is a stream cipher using keys ranging from 8 bits to 2048 |
| 1211 | bits in length. This algorithm is required for driver-based |
| 1212 | WEP, but it should not be for other purposes because of the |
| 1213 | weakness of the algorithm. |
| 1214 | |
| 1215 | config CRYPTO_BLOWFISH |
| 1216 | tristate "Blowfish cipher algorithm" |
| 1217 | select CRYPTO_ALGAPI |
Jussi Kivilinna | 52ba867 | 2011-09-02 01:45:07 +0300 | [diff] [blame] | 1218 | select CRYPTO_BLOWFISH_COMMON |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1219 | help |
| 1220 | Blowfish cipher algorithm, by Bruce Schneier. |
| 1221 | |
| 1222 | This is a variable key length cipher which can use keys from 32 |
| 1223 | bits to 448 bits in length. It's fast, simple and specifically |
| 1224 | designed for use on "large microprocessors". |
| 1225 | |
| 1226 | See also: |
| 1227 | <http://www.schneier.com/blowfish.html> |
| 1228 | |
Jussi Kivilinna | 52ba867 | 2011-09-02 01:45:07 +0300 | [diff] [blame] | 1229 | config CRYPTO_BLOWFISH_COMMON |
| 1230 | tristate |
| 1231 | help |
| 1232 | Common parts of the Blowfish cipher algorithm shared by the |
| 1233 | generic c and the assembler implementations. |
| 1234 | |
| 1235 | See also: |
| 1236 | <http://www.schneier.com/blowfish.html> |
| 1237 | |
Jussi Kivilinna | 64b94ce | 2011-09-02 01:45:22 +0300 | [diff] [blame] | 1238 | config CRYPTO_BLOWFISH_X86_64 |
| 1239 | tristate "Blowfish cipher algorithm (x86_64)" |
Al Viro | f21a7c1 | 2012-04-08 20:31:22 -0400 | [diff] [blame] | 1240 | depends on X86 && 64BIT |
Eric Biggers | c167917 | 2018-02-19 23:48:16 -0800 | [diff] [blame] | 1241 | select CRYPTO_BLKCIPHER |
Jussi Kivilinna | 64b94ce | 2011-09-02 01:45:22 +0300 | [diff] [blame] | 1242 | select CRYPTO_BLOWFISH_COMMON |
| 1243 | help |
| 1244 | Blowfish cipher algorithm (x86_64), by Bruce Schneier. |
| 1245 | |
| 1246 | This is a variable key length cipher which can use keys from 32 |
| 1247 | bits to 448 bits in length. It's fast, simple and specifically |
| 1248 | designed for use on "large microprocessors". |
| 1249 | |
| 1250 | See also: |
| 1251 | <http://www.schneier.com/blowfish.html> |
| 1252 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1253 | config CRYPTO_CAMELLIA |
| 1254 | tristate "Camellia cipher algorithms" |
| 1255 | depends on CRYPTO |
| 1256 | select CRYPTO_ALGAPI |
| 1257 | help |
| 1258 | Camellia cipher algorithms module. |
| 1259 | |
| 1260 | Camellia is a symmetric key block cipher developed jointly |
| 1261 | at NTT and Mitsubishi Electric Corporation. |
| 1262 | |
| 1263 | The Camellia specifies three key sizes: 128, 192 and 256 bits. |
| 1264 | |
| 1265 | See also: |
| 1266 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
| 1267 | |
Jussi Kivilinna | 0b95ec5 | 2012-03-05 20:26:47 +0200 | [diff] [blame] | 1268 | config CRYPTO_CAMELLIA_X86_64 |
| 1269 | tristate "Camellia cipher algorithm (x86_64)" |
Al Viro | f21a7c1 | 2012-04-08 20:31:22 -0400 | [diff] [blame] | 1270 | depends on X86 && 64BIT |
Jussi Kivilinna | 0b95ec5 | 2012-03-05 20:26:47 +0200 | [diff] [blame] | 1271 | depends on CRYPTO |
Eric Biggers | 1af6d03 | 2018-02-19 23:48:22 -0800 | [diff] [blame] | 1272 | select CRYPTO_BLKCIPHER |
Jussi Kivilinna | 964263a | 2012-06-18 14:07:29 +0300 | [diff] [blame] | 1273 | select CRYPTO_GLUE_HELPER_X86 |
Jussi Kivilinna | 0b95ec5 | 2012-03-05 20:26:47 +0200 | [diff] [blame] | 1274 | help |
| 1275 | Camellia cipher algorithm module (x86_64). |
| 1276 | |
| 1277 | Camellia is a symmetric key block cipher developed jointly |
| 1278 | at NTT and Mitsubishi Electric Corporation. |
| 1279 | |
| 1280 | The Camellia specifies three key sizes: 128, 192 and 256 bits. |
| 1281 | |
| 1282 | See also: |
| 1283 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
| 1284 | |
Jussi Kivilinna | d9b1d2e | 2012-10-26 14:49:01 +0300 | [diff] [blame] | 1285 | config CRYPTO_CAMELLIA_AESNI_AVX_X86_64 |
| 1286 | tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)" |
| 1287 | depends on X86 && 64BIT |
| 1288 | depends on CRYPTO |
Eric Biggers | 44893bc | 2018-02-19 23:48:23 -0800 | [diff] [blame] | 1289 | select CRYPTO_BLKCIPHER |
Jussi Kivilinna | d9b1d2e | 2012-10-26 14:49:01 +0300 | [diff] [blame] | 1290 | select CRYPTO_CAMELLIA_X86_64 |
Eric Biggers | 44893bc | 2018-02-19 23:48:23 -0800 | [diff] [blame] | 1291 | select CRYPTO_GLUE_HELPER_X86 |
| 1292 | select CRYPTO_SIMD |
Jussi Kivilinna | d9b1d2e | 2012-10-26 14:49:01 +0300 | [diff] [blame] | 1293 | select CRYPTO_XTS |
| 1294 | help |
| 1295 | Camellia cipher algorithm module (x86_64/AES-NI/AVX). |
| 1296 | |
| 1297 | Camellia is a symmetric key block cipher developed jointly |
| 1298 | at NTT and Mitsubishi Electric Corporation. |
| 1299 | |
| 1300 | The Camellia specifies three key sizes: 128, 192 and 256 bits. |
| 1301 | |
| 1302 | See also: |
| 1303 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
| 1304 | |
Jussi Kivilinna | f3f935a | 2013-04-13 13:47:00 +0300 | [diff] [blame] | 1305 | config CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 |
| 1306 | tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX2)" |
| 1307 | depends on X86 && 64BIT |
| 1308 | depends on CRYPTO |
Jussi Kivilinna | f3f935a | 2013-04-13 13:47:00 +0300 | [diff] [blame] | 1309 | select CRYPTO_CAMELLIA_AESNI_AVX_X86_64 |
Jussi Kivilinna | f3f935a | 2013-04-13 13:47:00 +0300 | [diff] [blame] | 1310 | help |
| 1311 | Camellia cipher algorithm module (x86_64/AES-NI/AVX2). |
| 1312 | |
| 1313 | Camellia is a symmetric key block cipher developed jointly |
| 1314 | at NTT and Mitsubishi Electric Corporation. |
| 1315 | |
| 1316 | The Camellia specifies three key sizes: 128, 192 and 256 bits. |
| 1317 | |
| 1318 | See also: |
| 1319 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
| 1320 | |
David S. Miller | 81658ad | 2012-08-28 12:05:54 -0700 | [diff] [blame] | 1321 | config CRYPTO_CAMELLIA_SPARC64 |
| 1322 | tristate "Camellia cipher algorithm (SPARC64)" |
| 1323 | depends on SPARC64 |
| 1324 | depends on CRYPTO |
| 1325 | select CRYPTO_ALGAPI |
| 1326 | help |
| 1327 | Camellia cipher algorithm module (SPARC64). |
| 1328 | |
| 1329 | Camellia is a symmetric key block cipher developed jointly |
| 1330 | at NTT and Mitsubishi Electric Corporation. |
| 1331 | |
| 1332 | The Camellia specifies three key sizes: 128, 192 and 256 bits. |
| 1333 | |
| 1334 | See also: |
| 1335 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
| 1336 | |
Jussi Kivilinna | 044ab52 | 2012-11-13 11:43:14 +0200 | [diff] [blame] | 1337 | config CRYPTO_CAST_COMMON |
| 1338 | tristate |
| 1339 | help |
| 1340 | Common parts of the CAST cipher algorithms shared by the |
| 1341 | generic c and the assembler implementations. |
| 1342 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1343 | config CRYPTO_CAST5 |
| 1344 | tristate "CAST5 (CAST-128) cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 1345 | select CRYPTO_ALGAPI |
Jussi Kivilinna | 044ab52 | 2012-11-13 11:43:14 +0200 | [diff] [blame] | 1346 | select CRYPTO_CAST_COMMON |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1347 | help |
| 1348 | The CAST5 encryption algorithm (synonymous with CAST-128) is |
| 1349 | described in RFC2144. |
| 1350 | |
Johannes Goetzfried | 4d6d6a2 | 2012-07-11 19:37:37 +0200 | [diff] [blame] | 1351 | config CRYPTO_CAST5_AVX_X86_64 |
| 1352 | tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)" |
| 1353 | depends on X86 && 64BIT |
Eric Biggers | 1e63183 | 2018-02-19 23:48:13 -0800 | [diff] [blame] | 1354 | select CRYPTO_BLKCIPHER |
Johannes Goetzfried | 4d6d6a2 | 2012-07-11 19:37:37 +0200 | [diff] [blame] | 1355 | select CRYPTO_CAST5 |
Eric Biggers | 1e63183 | 2018-02-19 23:48:13 -0800 | [diff] [blame] | 1356 | select CRYPTO_CAST_COMMON |
| 1357 | select CRYPTO_SIMD |
Johannes Goetzfried | 4d6d6a2 | 2012-07-11 19:37:37 +0200 | [diff] [blame] | 1358 | help |
| 1359 | The CAST5 encryption algorithm (synonymous with CAST-128) is |
| 1360 | described in RFC2144. |
| 1361 | |
| 1362 | This module provides the Cast5 cipher algorithm that processes |
| 1363 | sixteen blocks parallel using the AVX instruction set. |
| 1364 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1365 | config CRYPTO_CAST6 |
| 1366 | tristate "CAST6 (CAST-256) cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 1367 | select CRYPTO_ALGAPI |
Jussi Kivilinna | 044ab52 | 2012-11-13 11:43:14 +0200 | [diff] [blame] | 1368 | select CRYPTO_CAST_COMMON |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1369 | help |
| 1370 | The CAST6 encryption algorithm (synonymous with CAST-256) is |
| 1371 | described in RFC2612. |
| 1372 | |
Johannes Goetzfried | 4ea1277 | 2012-07-11 19:38:57 +0200 | [diff] [blame] | 1373 | config CRYPTO_CAST6_AVX_X86_64 |
| 1374 | tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)" |
| 1375 | depends on X86 && 64BIT |
Eric Biggers | 4bd9692 | 2018-02-19 23:48:15 -0800 | [diff] [blame] | 1376 | select CRYPTO_BLKCIPHER |
Johannes Goetzfried | 4ea1277 | 2012-07-11 19:38:57 +0200 | [diff] [blame] | 1377 | select CRYPTO_CAST6 |
Eric Biggers | 4bd9692 | 2018-02-19 23:48:15 -0800 | [diff] [blame] | 1378 | select CRYPTO_CAST_COMMON |
| 1379 | select CRYPTO_GLUE_HELPER_X86 |
| 1380 | select CRYPTO_SIMD |
Johannes Goetzfried | 4ea1277 | 2012-07-11 19:38:57 +0200 | [diff] [blame] | 1381 | select CRYPTO_XTS |
| 1382 | help |
| 1383 | The CAST6 encryption algorithm (synonymous with CAST-256) is |
| 1384 | described in RFC2612. |
| 1385 | |
| 1386 | This module provides the Cast6 cipher algorithm that processes |
| 1387 | eight blocks parallel using the AVX instruction set. |
| 1388 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1389 | config CRYPTO_DES |
| 1390 | tristate "DES and Triple DES EDE cipher algorithms" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 1391 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1392 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1393 | DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1394 | |
David S. Miller | c5aac2d | 2012-08-25 22:37:23 -0700 | [diff] [blame] | 1395 | config CRYPTO_DES_SPARC64 |
| 1396 | tristate "DES and Triple DES EDE cipher algorithms (SPARC64)" |
Dave Jones | 97da37b | 2012-10-02 17:13:20 -0400 | [diff] [blame] | 1397 | depends on SPARC64 |
David S. Miller | c5aac2d | 2012-08-25 22:37:23 -0700 | [diff] [blame] | 1398 | select CRYPTO_ALGAPI |
| 1399 | select CRYPTO_DES |
| 1400 | help |
| 1401 | DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3), |
| 1402 | optimized using SPARC64 crypto opcodes. |
| 1403 | |
Jussi Kivilinna | 6574e6c | 2014-06-09 20:59:54 +0300 | [diff] [blame] | 1404 | config CRYPTO_DES3_EDE_X86_64 |
| 1405 | tristate "Triple DES EDE cipher algorithm (x86-64)" |
| 1406 | depends on X86 && 64BIT |
Eric Biggers | 09c0f03 | 2018-02-19 23:48:17 -0800 | [diff] [blame] | 1407 | select CRYPTO_BLKCIPHER |
Jussi Kivilinna | 6574e6c | 2014-06-09 20:59:54 +0300 | [diff] [blame] | 1408 | select CRYPTO_DES |
| 1409 | help |
| 1410 | Triple DES EDE (FIPS 46-3) algorithm. |
| 1411 | |
| 1412 | This module provides implementation of the Triple DES EDE cipher |
| 1413 | algorithm that is optimized for x86-64 processors. Two versions of |
| 1414 | algorithm are provided; regular processing one input block and |
| 1415 | one that processes three blocks parallel. |
| 1416 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1417 | config CRYPTO_FCRYPT |
| 1418 | tristate "FCrypt cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 1419 | select CRYPTO_ALGAPI |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1420 | select CRYPTO_BLKCIPHER |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1421 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1422 | FCrypt algorithm used by RxRPC. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1423 | |
| 1424 | config CRYPTO_KHAZAD |
| 1425 | tristate "Khazad cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 1426 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1427 | help |
| 1428 | Khazad cipher algorithm. |
| 1429 | |
| 1430 | Khazad was a finalist in the initial NESSIE competition. It is |
| 1431 | an algorithm optimized for 64-bit processors with good performance |
| 1432 | on 32-bit processors. Khazad uses an 128 bit key size. |
| 1433 | |
| 1434 | See also: |
Justin P. Mattock | 6d8de74 | 2010-09-12 10:42:47 +0800 | [diff] [blame] | 1435 | <http://www.larc.usp.br/~pbarreto/KhazadPage.html> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1436 | |
Tan Swee Heng | 2407d60 | 2007-11-23 19:45:00 +0800 | [diff] [blame] | 1437 | config CRYPTO_SALSA20 |
Kees Cook | 3b4afaf | 2012-10-02 11:16:49 -0700 | [diff] [blame] | 1438 | tristate "Salsa20 stream cipher algorithm" |
Tan Swee Heng | 2407d60 | 2007-11-23 19:45:00 +0800 | [diff] [blame] | 1439 | select CRYPTO_BLKCIPHER |
| 1440 | help |
| 1441 | Salsa20 stream cipher algorithm. |
| 1442 | |
| 1443 | Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT |
| 1444 | Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> |
| 1445 | |
| 1446 | The Salsa20 stream cipher algorithm is designed by Daniel J. |
| 1447 | Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1448 | |
Martin Willi | c08d0e6 | 2015-06-01 13:43:56 +0200 | [diff] [blame] | 1449 | config CRYPTO_CHACHA20 |
Eric Biggers | aa76240 | 2018-11-16 17:26:22 -0800 | [diff] [blame] | 1450 | tristate "ChaCha stream cipher algorithms" |
Martin Willi | c08d0e6 | 2015-06-01 13:43:56 +0200 | [diff] [blame] | 1451 | select CRYPTO_BLKCIPHER |
| 1452 | help |
Eric Biggers | aa76240 | 2018-11-16 17:26:22 -0800 | [diff] [blame] | 1453 | The ChaCha20, XChaCha20, and XChaCha12 stream cipher algorithms. |
Martin Willi | c08d0e6 | 2015-06-01 13:43:56 +0200 | [diff] [blame] | 1454 | |
| 1455 | ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J. |
| 1456 | Bernstein and further specified in RFC7539 for use in IETF protocols. |
Eric Biggers | de61d7a | 2018-11-16 17:26:20 -0800 | [diff] [blame] | 1457 | This is the portable C implementation of ChaCha20. See also: |
Martin Willi | c08d0e6 | 2015-06-01 13:43:56 +0200 | [diff] [blame] | 1458 | <http://cr.yp.to/chacha/chacha-20080128.pdf> |
| 1459 | |
Eric Biggers | de61d7a | 2018-11-16 17:26:20 -0800 | [diff] [blame] | 1460 | XChaCha20 is the application of the XSalsa20 construction to ChaCha20 |
| 1461 | rather than to Salsa20. XChaCha20 extends ChaCha20's nonce length |
| 1462 | from 64 bits (or 96 bits using the RFC7539 convention) to 192 bits, |
| 1463 | while provably retaining ChaCha20's security. See also: |
| 1464 | <https://cr.yp.to/snuffle/xsalsa-20081128.pdf> |
| 1465 | |
Eric Biggers | aa76240 | 2018-11-16 17:26:22 -0800 | [diff] [blame] | 1466 | XChaCha12 is XChaCha20 reduced to 12 rounds, with correspondingly |
| 1467 | reduced security margin but increased performance. It can be needed |
| 1468 | in some performance-sensitive scenarios. |
| 1469 | |
Martin Willi | c9320b6 | 2015-07-16 19:14:01 +0200 | [diff] [blame] | 1470 | config CRYPTO_CHACHA20_X86_64 |
Martin Willi | 3d1e93c | 2015-07-16 19:14:03 +0200 | [diff] [blame] | 1471 | tristate "ChaCha20 cipher algorithm (x86_64/SSSE3/AVX2)" |
Martin Willi | c9320b6 | 2015-07-16 19:14:01 +0200 | [diff] [blame] | 1472 | depends on X86 && 64BIT |
| 1473 | select CRYPTO_BLKCIPHER |
| 1474 | select CRYPTO_CHACHA20 |
| 1475 | help |
| 1476 | ChaCha20 cipher algorithm, RFC7539. |
| 1477 | |
| 1478 | ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J. |
| 1479 | Bernstein and further specified in RFC7539 for use in IETF protocols. |
| 1480 | This is the x86_64 assembler implementation using SIMD instructions. |
| 1481 | |
| 1482 | See also: |
| 1483 | <http://cr.yp.to/chacha/chacha-20080128.pdf> |
| 1484 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1485 | config CRYPTO_SEED |
| 1486 | tristate "SEED cipher algorithm" |
| 1487 | select CRYPTO_ALGAPI |
| 1488 | help |
| 1489 | SEED cipher algorithm (RFC4269). |
| 1490 | |
| 1491 | SEED is a 128-bit symmetric key block cipher that has been |
| 1492 | developed by KISA (Korea Information Security Agency) as a |
| 1493 | national standard encryption algorithm of the Republic of Korea. |
| 1494 | It is a 16 round block cipher with the key size of 128 bit. |
| 1495 | |
| 1496 | See also: |
| 1497 | <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> |
| 1498 | |
| 1499 | config CRYPTO_SERPENT |
| 1500 | tristate "Serpent cipher algorithm" |
| 1501 | select CRYPTO_ALGAPI |
| 1502 | help |
| 1503 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
| 1504 | |
| 1505 | Keys are allowed to be from 0 to 256 bits in length, in steps |
| 1506 | of 8 bits. Also includes the 'Tnepres' algorithm, a reversed |
| 1507 | variant of Serpent for compatibility with old kerneli.org code. |
| 1508 | |
| 1509 | See also: |
| 1510 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> |
| 1511 | |
Jussi Kivilinna | 937c30d | 2011-11-09 16:26:25 +0200 | [diff] [blame] | 1512 | config CRYPTO_SERPENT_SSE2_X86_64 |
| 1513 | tristate "Serpent cipher algorithm (x86_64/SSE2)" |
| 1514 | depends on X86 && 64BIT |
Eric Biggers | e0f409d | 2018-02-19 23:48:03 -0800 | [diff] [blame] | 1515 | select CRYPTO_BLKCIPHER |
Jussi Kivilinna | 596d875 | 2012-06-18 14:07:19 +0300 | [diff] [blame] | 1516 | select CRYPTO_GLUE_HELPER_X86 |
Jussi Kivilinna | 937c30d | 2011-11-09 16:26:25 +0200 | [diff] [blame] | 1517 | select CRYPTO_SERPENT |
Eric Biggers | e0f409d | 2018-02-19 23:48:03 -0800 | [diff] [blame] | 1518 | select CRYPTO_SIMD |
Jussi Kivilinna | 937c30d | 2011-11-09 16:26:25 +0200 | [diff] [blame] | 1519 | help |
| 1520 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
| 1521 | |
| 1522 | Keys are allowed to be from 0 to 256 bits in length, in steps |
| 1523 | of 8 bits. |
| 1524 | |
Masanari Iida | 1e6232f | 2015-04-04 00:20:30 +0900 | [diff] [blame] | 1525 | This module provides Serpent cipher algorithm that processes eight |
Jussi Kivilinna | 937c30d | 2011-11-09 16:26:25 +0200 | [diff] [blame] | 1526 | blocks parallel using SSE2 instruction set. |
| 1527 | |
| 1528 | See also: |
| 1529 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> |
| 1530 | |
Jussi Kivilinna | 251496d | 2011-11-09 16:26:31 +0200 | [diff] [blame] | 1531 | config CRYPTO_SERPENT_SSE2_586 |
| 1532 | tristate "Serpent cipher algorithm (i586/SSE2)" |
| 1533 | depends on X86 && !64BIT |
Eric Biggers | e0f409d | 2018-02-19 23:48:03 -0800 | [diff] [blame] | 1534 | select CRYPTO_BLKCIPHER |
Jussi Kivilinna | 596d875 | 2012-06-18 14:07:19 +0300 | [diff] [blame] | 1535 | select CRYPTO_GLUE_HELPER_X86 |
Jussi Kivilinna | 251496d | 2011-11-09 16:26:31 +0200 | [diff] [blame] | 1536 | select CRYPTO_SERPENT |
Eric Biggers | e0f409d | 2018-02-19 23:48:03 -0800 | [diff] [blame] | 1537 | select CRYPTO_SIMD |
Jussi Kivilinna | 251496d | 2011-11-09 16:26:31 +0200 | [diff] [blame] | 1538 | help |
| 1539 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
| 1540 | |
| 1541 | Keys are allowed to be from 0 to 256 bits in length, in steps |
| 1542 | of 8 bits. |
| 1543 | |
| 1544 | This module provides Serpent cipher algorithm that processes four |
| 1545 | blocks parallel using SSE2 instruction set. |
| 1546 | |
| 1547 | See also: |
| 1548 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> |
| 1549 | |
Johannes Goetzfried | 7efe407 | 2012-06-12 16:47:43 +0800 | [diff] [blame] | 1550 | config CRYPTO_SERPENT_AVX_X86_64 |
| 1551 | tristate "Serpent cipher algorithm (x86_64/AVX)" |
| 1552 | depends on X86 && 64BIT |
Eric Biggers | e16bf97 | 2018-02-19 23:48:06 -0800 | [diff] [blame] | 1553 | select CRYPTO_BLKCIPHER |
Jussi Kivilinna | 1d0debb | 2012-06-18 14:07:24 +0300 | [diff] [blame] | 1554 | select CRYPTO_GLUE_HELPER_X86 |
Johannes Goetzfried | 7efe407 | 2012-06-12 16:47:43 +0800 | [diff] [blame] | 1555 | select CRYPTO_SERPENT |
Eric Biggers | e16bf97 | 2018-02-19 23:48:06 -0800 | [diff] [blame] | 1556 | select CRYPTO_SIMD |
Johannes Goetzfried | 7efe407 | 2012-06-12 16:47:43 +0800 | [diff] [blame] | 1557 | select CRYPTO_XTS |
| 1558 | help |
| 1559 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
| 1560 | |
| 1561 | Keys are allowed to be from 0 to 256 bits in length, in steps |
| 1562 | of 8 bits. |
| 1563 | |
| 1564 | This module provides the Serpent cipher algorithm that processes |
| 1565 | eight blocks parallel using the AVX instruction set. |
| 1566 | |
| 1567 | See also: |
| 1568 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> |
| 1569 | |
Jussi Kivilinna | 56d76c9 | 2013-04-13 13:46:55 +0300 | [diff] [blame] | 1570 | config CRYPTO_SERPENT_AVX2_X86_64 |
| 1571 | tristate "Serpent cipher algorithm (x86_64/AVX2)" |
| 1572 | depends on X86 && 64BIT |
Jussi Kivilinna | 56d76c9 | 2013-04-13 13:46:55 +0300 | [diff] [blame] | 1573 | select CRYPTO_SERPENT_AVX_X86_64 |
Jussi Kivilinna | 56d76c9 | 2013-04-13 13:46:55 +0300 | [diff] [blame] | 1574 | help |
| 1575 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
| 1576 | |
| 1577 | Keys are allowed to be from 0 to 256 bits in length, in steps |
| 1578 | of 8 bits. |
| 1579 | |
| 1580 | This module provides Serpent cipher algorithm that processes 16 |
| 1581 | blocks parallel using AVX2 instruction set. |
| 1582 | |
| 1583 | See also: |
| 1584 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> |
| 1585 | |
Gilad Ben-Yossef | 747c8ce | 2018-03-06 09:44:42 +0000 | [diff] [blame] | 1586 | config CRYPTO_SM4 |
| 1587 | tristate "SM4 cipher algorithm" |
| 1588 | select CRYPTO_ALGAPI |
| 1589 | help |
| 1590 | SM4 cipher algorithms (OSCCA GB/T 32907-2016). |
| 1591 | |
| 1592 | SM4 (GBT.32907-2016) is a cryptographic standard issued by the |
| 1593 | Organization of State Commercial Administration of China (OSCCA) |
| 1594 | as an authorized cryptographic algorithms for the use within China. |
| 1595 | |
| 1596 | SMS4 was originally created for use in protecting wireless |
| 1597 | networks, and is mandated in the Chinese National Standard for |
| 1598 | Wireless LAN WAPI (Wired Authentication and Privacy Infrastructure) |
| 1599 | (GB.15629.11-2003). |
| 1600 | |
| 1601 | The latest SM4 standard (GBT.32907-2016) was proposed by OSCCA and |
| 1602 | standardized through TC 260 of the Standardization Administration |
| 1603 | of the People's Republic of China (SAC). |
| 1604 | |
| 1605 | The input, output, and key of SMS4 are each 128 bits. |
| 1606 | |
| 1607 | See also: <https://eprint.iacr.org/2008/329.pdf> |
| 1608 | |
| 1609 | If unsure, say N. |
| 1610 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1611 | config CRYPTO_TEA |
| 1612 | tristate "TEA, XTEA and XETA cipher algorithms" |
| 1613 | select CRYPTO_ALGAPI |
| 1614 | help |
| 1615 | TEA cipher algorithm. |
| 1616 | |
| 1617 | Tiny Encryption Algorithm is a simple cipher that uses |
| 1618 | many rounds for security. It is very fast and uses |
| 1619 | little memory. |
| 1620 | |
| 1621 | Xtendend Tiny Encryption Algorithm is a modification to |
| 1622 | the TEA algorithm to address a potential key weakness |
| 1623 | in the TEA algorithm. |
| 1624 | |
| 1625 | Xtendend Encryption Tiny Algorithm is a mis-implementation |
| 1626 | of the XTEA algorithm for compatibility purposes. |
| 1627 | |
| 1628 | config CRYPTO_TWOFISH |
| 1629 | tristate "Twofish cipher algorithm" |
| 1630 | select CRYPTO_ALGAPI |
| 1631 | select CRYPTO_TWOFISH_COMMON |
| 1632 | help |
| 1633 | Twofish cipher algorithm. |
| 1634 | |
| 1635 | Twofish was submitted as an AES (Advanced Encryption Standard) |
| 1636 | candidate cipher by researchers at CounterPane Systems. It is a |
| 1637 | 16 round block cipher supporting key sizes of 128, 192, and 256 |
| 1638 | bits. |
| 1639 | |
| 1640 | See also: |
| 1641 | <http://www.schneier.com/twofish.html> |
| 1642 | |
| 1643 | config CRYPTO_TWOFISH_COMMON |
| 1644 | tristate |
| 1645 | help |
| 1646 | Common parts of the Twofish cipher algorithm shared by the |
| 1647 | generic c and the assembler implementations. |
| 1648 | |
| 1649 | config CRYPTO_TWOFISH_586 |
| 1650 | tristate "Twofish cipher algorithms (i586)" |
| 1651 | depends on (X86 || UML_X86) && !64BIT |
| 1652 | select CRYPTO_ALGAPI |
| 1653 | select CRYPTO_TWOFISH_COMMON |
| 1654 | help |
| 1655 | Twofish cipher algorithm. |
| 1656 | |
| 1657 | Twofish was submitted as an AES (Advanced Encryption Standard) |
| 1658 | candidate cipher by researchers at CounterPane Systems. It is a |
| 1659 | 16 round block cipher supporting key sizes of 128, 192, and 256 |
| 1660 | bits. |
| 1661 | |
| 1662 | See also: |
| 1663 | <http://www.schneier.com/twofish.html> |
| 1664 | |
| 1665 | config CRYPTO_TWOFISH_X86_64 |
| 1666 | tristate "Twofish cipher algorithm (x86_64)" |
| 1667 | depends on (X86 || UML_X86) && 64BIT |
| 1668 | select CRYPTO_ALGAPI |
| 1669 | select CRYPTO_TWOFISH_COMMON |
| 1670 | help |
| 1671 | Twofish cipher algorithm (x86_64). |
| 1672 | |
| 1673 | Twofish was submitted as an AES (Advanced Encryption Standard) |
| 1674 | candidate cipher by researchers at CounterPane Systems. It is a |
| 1675 | 16 round block cipher supporting key sizes of 128, 192, and 256 |
| 1676 | bits. |
| 1677 | |
| 1678 | See also: |
| 1679 | <http://www.schneier.com/twofish.html> |
| 1680 | |
Jussi Kivilinna | 8280daa | 2011-09-26 16:47:25 +0300 | [diff] [blame] | 1681 | config CRYPTO_TWOFISH_X86_64_3WAY |
| 1682 | tristate "Twofish cipher algorithm (x86_64, 3-way parallel)" |
Al Viro | f21a7c1 | 2012-04-08 20:31:22 -0400 | [diff] [blame] | 1683 | depends on X86 && 64BIT |
Eric Biggers | 37992fa | 2018-02-19 23:48:09 -0800 | [diff] [blame] | 1684 | select CRYPTO_BLKCIPHER |
Jussi Kivilinna | 8280daa | 2011-09-26 16:47:25 +0300 | [diff] [blame] | 1685 | select CRYPTO_TWOFISH_COMMON |
| 1686 | select CRYPTO_TWOFISH_X86_64 |
Jussi Kivilinna | 414cb5e | 2012-06-18 14:07:34 +0300 | [diff] [blame] | 1687 | select CRYPTO_GLUE_HELPER_X86 |
Jussi Kivilinna | 8280daa | 2011-09-26 16:47:25 +0300 | [diff] [blame] | 1688 | help |
| 1689 | Twofish cipher algorithm (x86_64, 3-way parallel). |
| 1690 | |
| 1691 | Twofish was submitted as an AES (Advanced Encryption Standard) |
| 1692 | candidate cipher by researchers at CounterPane Systems. It is a |
| 1693 | 16 round block cipher supporting key sizes of 128, 192, and 256 |
| 1694 | bits. |
| 1695 | |
| 1696 | This module provides Twofish cipher algorithm that processes three |
| 1697 | blocks parallel, utilizing resources of out-of-order CPUs better. |
| 1698 | |
| 1699 | See also: |
| 1700 | <http://www.schneier.com/twofish.html> |
| 1701 | |
Johannes Goetzfried | 107778b5 | 2012-05-28 15:54:24 +0200 | [diff] [blame] | 1702 | config CRYPTO_TWOFISH_AVX_X86_64 |
| 1703 | tristate "Twofish cipher algorithm (x86_64/AVX)" |
| 1704 | depends on X86 && 64BIT |
Eric Biggers | 0e6ab46 | 2018-02-19 23:48:11 -0800 | [diff] [blame] | 1705 | select CRYPTO_BLKCIPHER |
Jussi Kivilinna | a7378d4 | 2012-06-18 14:07:39 +0300 | [diff] [blame] | 1706 | select CRYPTO_GLUE_HELPER_X86 |
Eric Biggers | 0e6ab46 | 2018-02-19 23:48:11 -0800 | [diff] [blame] | 1707 | select CRYPTO_SIMD |
Johannes Goetzfried | 107778b5 | 2012-05-28 15:54:24 +0200 | [diff] [blame] | 1708 | select CRYPTO_TWOFISH_COMMON |
| 1709 | select CRYPTO_TWOFISH_X86_64 |
| 1710 | select CRYPTO_TWOFISH_X86_64_3WAY |
Johannes Goetzfried | 107778b5 | 2012-05-28 15:54:24 +0200 | [diff] [blame] | 1711 | help |
| 1712 | Twofish cipher algorithm (x86_64/AVX). |
| 1713 | |
| 1714 | Twofish was submitted as an AES (Advanced Encryption Standard) |
| 1715 | candidate cipher by researchers at CounterPane Systems. It is a |
| 1716 | 16 round block cipher supporting key sizes of 128, 192, and 256 |
| 1717 | bits. |
| 1718 | |
| 1719 | This module provides the Twofish cipher algorithm that processes |
| 1720 | eight blocks parallel using the AVX Instruction Set. |
| 1721 | |
| 1722 | See also: |
| 1723 | <http://www.schneier.com/twofish.html> |
| 1724 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1725 | comment "Compression" |
| 1726 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1727 | config CRYPTO_DEFLATE |
| 1728 | tristate "Deflate compression algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 1729 | select CRYPTO_ALGAPI |
Giovanni Cabiddu | f6ded09 | 2016-10-21 13:19:53 +0100 | [diff] [blame] | 1730 | select CRYPTO_ACOMP2 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1731 | select ZLIB_INFLATE |
| 1732 | select ZLIB_DEFLATE |
| 1733 | help |
| 1734 | This is the Deflate algorithm (RFC1951), specified for use in |
| 1735 | IPSec with the IPCOMP protocol (RFC3173, RFC2394). |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 1736 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1737 | You will most probably want this if using IPSec. |
| 1738 | |
Zoltan Sogor | 0b77abb | 2007-12-07 16:53:23 +0800 | [diff] [blame] | 1739 | config CRYPTO_LZO |
| 1740 | tristate "LZO compression algorithm" |
| 1741 | select CRYPTO_ALGAPI |
Giovanni Cabiddu | ac9d2c4 | 2016-10-21 13:19:49 +0100 | [diff] [blame] | 1742 | select CRYPTO_ACOMP2 |
Zoltan Sogor | 0b77abb | 2007-12-07 16:53:23 +0800 | [diff] [blame] | 1743 | select LZO_COMPRESS |
| 1744 | select LZO_DECOMPRESS |
| 1745 | help |
| 1746 | This is the LZO algorithm. |
| 1747 | |
Seth Jennings | 35a1fc1 | 2012-07-19 09:42:41 -0500 | [diff] [blame] | 1748 | config CRYPTO_842 |
| 1749 | tristate "842 compression algorithm" |
Dan Streetman | 2062c5b | 2015-05-07 13:49:15 -0400 | [diff] [blame] | 1750 | select CRYPTO_ALGAPI |
Giovanni Cabiddu | 6a8de3a | 2016-10-21 13:19:52 +0100 | [diff] [blame] | 1751 | select CRYPTO_ACOMP2 |
Dan Streetman | 2062c5b | 2015-05-07 13:49:15 -0400 | [diff] [blame] | 1752 | select 842_COMPRESS |
| 1753 | select 842_DECOMPRESS |
Seth Jennings | 35a1fc1 | 2012-07-19 09:42:41 -0500 | [diff] [blame] | 1754 | help |
| 1755 | This is the 842 algorithm. |
| 1756 | |
Chanho Min | 0ea8530 | 2013-07-08 16:01:51 -0700 | [diff] [blame] | 1757 | config CRYPTO_LZ4 |
| 1758 | tristate "LZ4 compression algorithm" |
| 1759 | select CRYPTO_ALGAPI |
Giovanni Cabiddu | 8cd9330 | 2016-10-21 13:19:50 +0100 | [diff] [blame] | 1760 | select CRYPTO_ACOMP2 |
Chanho Min | 0ea8530 | 2013-07-08 16:01:51 -0700 | [diff] [blame] | 1761 | select LZ4_COMPRESS |
| 1762 | select LZ4_DECOMPRESS |
| 1763 | help |
| 1764 | This is the LZ4 algorithm. |
| 1765 | |
| 1766 | config CRYPTO_LZ4HC |
| 1767 | tristate "LZ4HC compression algorithm" |
| 1768 | select CRYPTO_ALGAPI |
Giovanni Cabiddu | 91d53d9 | 2016-10-21 13:19:51 +0100 | [diff] [blame] | 1769 | select CRYPTO_ACOMP2 |
Chanho Min | 0ea8530 | 2013-07-08 16:01:51 -0700 | [diff] [blame] | 1770 | select LZ4HC_COMPRESS |
| 1771 | select LZ4_DECOMPRESS |
| 1772 | help |
| 1773 | This is the LZ4 high compression mode algorithm. |
| 1774 | |
Nick Terrell | d28fc3d | 2018-03-30 12:14:53 -0700 | [diff] [blame] | 1775 | config CRYPTO_ZSTD |
| 1776 | tristate "Zstd compression algorithm" |
| 1777 | select CRYPTO_ALGAPI |
| 1778 | select CRYPTO_ACOMP2 |
| 1779 | select ZSTD_COMPRESS |
| 1780 | select ZSTD_DECOMPRESS |
| 1781 | help |
| 1782 | This is the zstd algorithm. |
| 1783 | |
Neil Horman | 17f0f4a | 2008-08-14 22:15:52 +1000 | [diff] [blame] | 1784 | comment "Random Number Generation" |
| 1785 | |
| 1786 | config CRYPTO_ANSI_CPRNG |
| 1787 | tristate "Pseudo Random Number Generation for Cryptographic modules" |
| 1788 | select CRYPTO_AES |
| 1789 | select CRYPTO_RNG |
Neil Horman | 17f0f4a | 2008-08-14 22:15:52 +1000 | [diff] [blame] | 1790 | help |
| 1791 | This option enables the generic pseudo random number generator |
| 1792 | for cryptographic modules. Uses the Algorithm specified in |
Jiri Kosina | 7dd607e | 2010-01-27 01:00:10 +0100 | [diff] [blame] | 1793 | ANSI X9.31 A.2.4. Note that this option must be enabled if |
| 1794 | CRYPTO_FIPS is selected |
Neil Horman | 17f0f4a | 2008-08-14 22:15:52 +1000 | [diff] [blame] | 1795 | |
Herbert Xu | f2c89a1 | 2014-07-04 22:15:08 +0800 | [diff] [blame] | 1796 | menuconfig CRYPTO_DRBG_MENU |
Stephan Mueller | 419090c | 2014-05-31 17:22:31 +0200 | [diff] [blame] | 1797 | tristate "NIST SP800-90A DRBG" |
Stephan Mueller | 419090c | 2014-05-31 17:22:31 +0200 | [diff] [blame] | 1798 | help |
| 1799 | NIST SP800-90A compliant DRBG. In the following submenu, one or |
| 1800 | more of the DRBG types must be selected. |
| 1801 | |
Herbert Xu | f2c89a1 | 2014-07-04 22:15:08 +0800 | [diff] [blame] | 1802 | if CRYPTO_DRBG_MENU |
Stephan Mueller | 419090c | 2014-05-31 17:22:31 +0200 | [diff] [blame] | 1803 | |
| 1804 | config CRYPTO_DRBG_HMAC |
Herbert Xu | 401e423 | 2015-06-03 14:49:31 +0800 | [diff] [blame] | 1805 | bool |
Stephan Mueller | 419090c | 2014-05-31 17:22:31 +0200 | [diff] [blame] | 1806 | default y |
Stephan Mueller | 419090c | 2014-05-31 17:22:31 +0200 | [diff] [blame] | 1807 | select CRYPTO_HMAC |
Herbert Xu | 826775b | 2015-06-11 08:55:10 +0800 | [diff] [blame] | 1808 | select CRYPTO_SHA256 |
Stephan Mueller | 419090c | 2014-05-31 17:22:31 +0200 | [diff] [blame] | 1809 | |
| 1810 | config CRYPTO_DRBG_HASH |
| 1811 | bool "Enable Hash DRBG" |
Herbert Xu | 826775b | 2015-06-11 08:55:10 +0800 | [diff] [blame] | 1812 | select CRYPTO_SHA256 |
Stephan Mueller | 419090c | 2014-05-31 17:22:31 +0200 | [diff] [blame] | 1813 | help |
| 1814 | Enable the Hash DRBG variant as defined in NIST SP800-90A. |
| 1815 | |
| 1816 | config CRYPTO_DRBG_CTR |
| 1817 | bool "Enable CTR DRBG" |
Stephan Mueller | 419090c | 2014-05-31 17:22:31 +0200 | [diff] [blame] | 1818 | select CRYPTO_AES |
Stephan Mueller | 3559128 | 2016-06-14 07:34:13 +0200 | [diff] [blame] | 1819 | depends on CRYPTO_CTR |
Stephan Mueller | 419090c | 2014-05-31 17:22:31 +0200 | [diff] [blame] | 1820 | help |
| 1821 | Enable the CTR DRBG variant as defined in NIST SP800-90A. |
| 1822 | |
Herbert Xu | f2c89a1 | 2014-07-04 22:15:08 +0800 | [diff] [blame] | 1823 | config CRYPTO_DRBG |
| 1824 | tristate |
Herbert Xu | 401e423 | 2015-06-03 14:49:31 +0800 | [diff] [blame] | 1825 | default CRYPTO_DRBG_MENU |
Herbert Xu | f2c89a1 | 2014-07-04 22:15:08 +0800 | [diff] [blame] | 1826 | select CRYPTO_RNG |
Stephan Mueller | bb5530e | 2015-05-25 15:10:20 +0200 | [diff] [blame] | 1827 | select CRYPTO_JITTERENTROPY |
Herbert Xu | f2c89a1 | 2014-07-04 22:15:08 +0800 | [diff] [blame] | 1828 | |
| 1829 | endif # if CRYPTO_DRBG_MENU |
Stephan Mueller | 419090c | 2014-05-31 17:22:31 +0200 | [diff] [blame] | 1830 | |
Stephan Mueller | bb5530e | 2015-05-25 15:10:20 +0200 | [diff] [blame] | 1831 | config CRYPTO_JITTERENTROPY |
| 1832 | tristate "Jitterentropy Non-Deterministic Random Number Generator" |
Arnd Bergmann | 2f313e0 | 2016-01-26 14:47:10 +0100 | [diff] [blame] | 1833 | select CRYPTO_RNG |
Stephan Mueller | bb5530e | 2015-05-25 15:10:20 +0200 | [diff] [blame] | 1834 | help |
| 1835 | The Jitterentropy RNG is a noise that is intended |
| 1836 | to provide seed to another RNG. The RNG does not |
| 1837 | perform any cryptographic whitening of the generated |
| 1838 | random numbers. This Jitterentropy RNG registers with |
| 1839 | the kernel crypto API and can be used by any caller. |
| 1840 | |
Herbert Xu | 03c8efc | 2010-10-19 21:12:39 +0800 | [diff] [blame] | 1841 | config CRYPTO_USER_API |
| 1842 | tristate |
| 1843 | |
Herbert Xu | fe869cd | 2010-10-19 21:23:00 +0800 | [diff] [blame] | 1844 | config CRYPTO_USER_API_HASH |
| 1845 | tristate "User-space interface for hash algorithms" |
Herbert Xu | 7451708 | 2010-11-29 22:56:03 +0800 | [diff] [blame] | 1846 | depends on NET |
Herbert Xu | fe869cd | 2010-10-19 21:23:00 +0800 | [diff] [blame] | 1847 | select CRYPTO_HASH |
| 1848 | select CRYPTO_USER_API |
| 1849 | help |
| 1850 | This option enables the user-spaces interface for hash |
| 1851 | algorithms. |
| 1852 | |
Herbert Xu | 8ff5909 | 2010-10-19 21:31:55 +0800 | [diff] [blame] | 1853 | config CRYPTO_USER_API_SKCIPHER |
| 1854 | tristate "User-space interface for symmetric key cipher algorithms" |
Herbert Xu | 7451708 | 2010-11-29 22:56:03 +0800 | [diff] [blame] | 1855 | depends on NET |
Herbert Xu | 8ff5909 | 2010-10-19 21:31:55 +0800 | [diff] [blame] | 1856 | select CRYPTO_BLKCIPHER |
| 1857 | select CRYPTO_USER_API |
| 1858 | help |
| 1859 | This option enables the user-spaces interface for symmetric |
| 1860 | key cipher algorithms. |
| 1861 | |
Stephan Mueller | 2f375538 | 2014-12-25 23:00:39 +0100 | [diff] [blame] | 1862 | config CRYPTO_USER_API_RNG |
| 1863 | tristate "User-space interface for random number generator algorithms" |
| 1864 | depends on NET |
| 1865 | select CRYPTO_RNG |
| 1866 | select CRYPTO_USER_API |
| 1867 | help |
| 1868 | This option enables the user-spaces interface for random |
| 1869 | number generator algorithms. |
| 1870 | |
Herbert Xu | b64a2d9 | 2015-05-28 11:30:35 +0800 | [diff] [blame] | 1871 | config CRYPTO_USER_API_AEAD |
| 1872 | tristate "User-space interface for AEAD cipher algorithms" |
| 1873 | depends on NET |
| 1874 | select CRYPTO_AEAD |
Stephan Mueller | 72548b0 | 2017-07-30 14:32:58 +0200 | [diff] [blame] | 1875 | select CRYPTO_BLKCIPHER |
| 1876 | select CRYPTO_NULL |
Herbert Xu | b64a2d9 | 2015-05-28 11:30:35 +0800 | [diff] [blame] | 1877 | select CRYPTO_USER_API |
| 1878 | help |
| 1879 | This option enables the user-spaces interface for AEAD |
| 1880 | cipher algorithms. |
| 1881 | |
Corentin Labbe | cac5818 | 2018-09-19 10:10:54 +0000 | [diff] [blame] | 1882 | config CRYPTO_STATS |
| 1883 | bool "Crypto usage statistics for User-space" |
Corentin Labbe | a6a3138 | 2018-11-29 14:42:17 +0000 | [diff] [blame] | 1884 | depends on CRYPTO_USER |
Corentin Labbe | cac5818 | 2018-09-19 10:10:54 +0000 | [diff] [blame] | 1885 | help |
| 1886 | This option enables the gathering of crypto stats. |
| 1887 | This will collect: |
| 1888 | - encrypt/decrypt size and numbers of symmeric operations |
| 1889 | - compress/decompress size and numbers of compress operations |
| 1890 | - size and numbers of hash operations |
| 1891 | - encrypt/decrypt/sign/verify numbers for asymmetric operations |
| 1892 | - generate/seed numbers for rng operations |
| 1893 | |
Dmitry Kasatkin | ee08997 | 2013-05-06 15:40:01 +0300 | [diff] [blame] | 1894 | config CRYPTO_HASH_INFO |
| 1895 | bool |
| 1896 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1897 | source "drivers/crypto/Kconfig" |
David Howells | 964f3b3 | 2012-09-13 15:17:21 +0100 | [diff] [blame] | 1898 | source crypto/asymmetric_keys/Kconfig |
David Howells | cfc411e | 2015-08-14 15:20:41 +0100 | [diff] [blame] | 1899 | source certs/Kconfig |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1900 | |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 1901 | endif # if CRYPTO |