Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
Dan Williams | 685784a | 2007-07-09 11:56:42 -0700 | [diff] [blame] | 2 | # Generic algorithms support |
| 3 | # |
| 4 | config XOR_BLOCKS |
| 5 | tristate |
| 6 | |
| 7 | # |
Dan Williams | 9bc89cd | 2007-01-02 11:10:44 -0700 | [diff] [blame] | 8 | # async_tx api: hardware offloaded memory transfer/transform support |
| 9 | # |
| 10 | source "crypto/async_tx/Kconfig" |
| 11 | |
| 12 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | # Cryptographic API Configuration |
| 14 | # |
Jan Engelhardt | 2e290f4 | 2007-05-18 15:11:01 +1000 | [diff] [blame] | 15 | menuconfig CRYPTO |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | bool "Cryptographic API" |
| 17 | help |
| 18 | This option provides the core Cryptographic API. |
| 19 | |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 20 | if CRYPTO |
| 21 | |
| 22 | config CRYPTO_ALGAPI |
| 23 | tristate |
| 24 | help |
| 25 | This option provides the API for cryptographic algorithms. |
| 26 | |
Herbert Xu | 1ae9782 | 2007-08-30 15:36:14 +0800 | [diff] [blame] | 27 | config CRYPTO_AEAD |
| 28 | tristate |
| 29 | select CRYPTO_ALGAPI |
| 30 | |
Herbert Xu | 5cde0af | 2006-08-22 00:07:53 +1000 | [diff] [blame] | 31 | config CRYPTO_BLKCIPHER |
| 32 | tristate |
| 33 | select CRYPTO_ALGAPI |
| 34 | |
Herbert Xu | 055bcee | 2006-08-19 22:24:23 +1000 | [diff] [blame] | 35 | config CRYPTO_HASH |
| 36 | tristate |
| 37 | select CRYPTO_ALGAPI |
| 38 | |
Herbert Xu | 2b8c19d | 2006-09-21 11:31:44 +1000 | [diff] [blame] | 39 | config CRYPTO_MANAGER |
| 40 | tristate "Cryptographic algorithm manager" |
| 41 | select CRYPTO_ALGAPI |
Herbert Xu | 2b8c19d | 2006-09-21 11:31:44 +1000 | [diff] [blame] | 42 | help |
| 43 | Create default cryptographic template instantiations such as |
| 44 | cbc(aes). |
| 45 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | config CRYPTO_HMAC |
Herbert Xu | 8425165 | 2006-08-20 15:25:22 +1000 | [diff] [blame] | 47 | tristate "HMAC support" |
Herbert Xu | 0796ae0 | 2006-08-21 20:50:52 +1000 | [diff] [blame] | 48 | select CRYPTO_HASH |
Herbert Xu | 4351840 | 2006-10-16 21:28:58 +1000 | [diff] [blame] | 49 | select CRYPTO_MANAGER |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | help |
| 51 | HMAC: Keyed-Hashing for Message Authentication (RFC2104). |
| 52 | This is required for IPSec. |
| 53 | |
Kazunori MIYAZAWA | 333b0d7 | 2006-10-28 13:15:24 +1000 | [diff] [blame] | 54 | config CRYPTO_XCBC |
| 55 | tristate "XCBC support" |
| 56 | depends on EXPERIMENTAL |
| 57 | select CRYPTO_HASH |
| 58 | select CRYPTO_MANAGER |
| 59 | help |
| 60 | XCBC: Keyed-Hashing with encryption algorithm |
| 61 | http://www.ietf.org/rfc/rfc3566.txt |
| 62 | http://csrc.nist.gov/encryption/modes/proposedmodes/ |
| 63 | xcbc-mac/xcbc-mac-spec.pdf |
| 64 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 65 | config CRYPTO_NULL |
| 66 | tristate "Null algorithms" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 67 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 68 | help |
| 69 | These are 'Null' algorithms, used by IPsec, which do nothing. |
| 70 | |
| 71 | config CRYPTO_MD4 |
| 72 | tristate "MD4 digest algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 73 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 74 | help |
| 75 | MD4 message digest algorithm (RFC1320). |
| 76 | |
| 77 | config CRYPTO_MD5 |
| 78 | tristate "MD5 digest algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 79 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 80 | help |
| 81 | MD5 message digest algorithm (RFC1321). |
| 82 | |
| 83 | config CRYPTO_SHA1 |
| 84 | tristate "SHA1 digest algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 85 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 86 | help |
| 87 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). |
| 88 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 89 | config CRYPTO_SHA256 |
Jonathan Lynch | cd12fb90 | 2007-11-10 20:08:25 +0800 | [diff] [blame] | 90 | tristate "SHA224 and SHA256 digest algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 91 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 92 | help |
| 93 | SHA256 secure hash standard (DFIPS 180-2). |
| 94 | |
| 95 | This version of SHA implements a 256 bit hash with 128 bits of |
| 96 | security against collision attacks. |
| 97 | |
Jonathan Lynch | cd12fb90 | 2007-11-10 20:08:25 +0800 | [diff] [blame] | 98 | This code also includes SHA-224, a 224 bit hash with 112 bits |
| 99 | of security against collision attacks. |
| 100 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 101 | config CRYPTO_SHA512 |
| 102 | tristate "SHA384 and SHA512 digest algorithms" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 103 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 104 | help |
| 105 | SHA512 secure hash standard (DFIPS 180-2). |
| 106 | |
| 107 | This version of SHA implements a 512 bit hash with 256 bits of |
| 108 | security against collision attacks. |
| 109 | |
| 110 | This code also includes SHA-384, a 384 bit hash with 192 bits |
| 111 | of security against collision attacks. |
| 112 | |
| 113 | config CRYPTO_WP512 |
| 114 | tristate "Whirlpool digest algorithms" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 115 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 116 | help |
| 117 | Whirlpool hash algorithm 512, 384 and 256-bit hashes |
| 118 | |
| 119 | Whirlpool-512 is part of the NESSIE cryptographic primitives. |
| 120 | Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard |
| 121 | |
| 122 | See also: |
| 123 | <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html> |
| 124 | |
| 125 | config CRYPTO_TGR192 |
| 126 | tristate "Tiger digest algorithms" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 127 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 128 | help |
| 129 | Tiger hash algorithm 192, 160 and 128-bit hashes |
| 130 | |
| 131 | Tiger is a hash function optimized for 64-bit processors while |
| 132 | still having decent performance on 32-bit processors. |
| 133 | Tiger was developed by Ross Anderson and Eli Biham. |
| 134 | |
| 135 | See also: |
| 136 | <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. |
| 137 | |
Rik Snel | c494e07 | 2006-11-29 18:59:44 +1100 | [diff] [blame] | 138 | config CRYPTO_GF128MUL |
| 139 | tristate "GF(2^128) multiplication functions (EXPERIMENTAL)" |
| 140 | depends on EXPERIMENTAL |
| 141 | help |
| 142 | Efficient table driven implementation of multiplications in the |
| 143 | field GF(2^128). This is needed by some cypher modes. This |
| 144 | option will be selected automatically if you select such a |
| 145 | cipher mode. Only select this option by hand if you expect to load |
| 146 | an external module that requires these functions. |
| 147 | |
Herbert Xu | db131ef | 2006-09-21 11:44:08 +1000 | [diff] [blame] | 148 | config CRYPTO_ECB |
| 149 | tristate "ECB support" |
| 150 | select CRYPTO_BLKCIPHER |
Herbert Xu | 4351840 | 2006-10-16 21:28:58 +1000 | [diff] [blame] | 151 | select CRYPTO_MANAGER |
Herbert Xu | db131ef | 2006-09-21 11:44:08 +1000 | [diff] [blame] | 152 | help |
| 153 | ECB: Electronic CodeBook mode |
| 154 | This is the simplest block cipher algorithm. It simply encrypts |
| 155 | the input block by block. |
| 156 | |
| 157 | config CRYPTO_CBC |
| 158 | tristate "CBC support" |
| 159 | select CRYPTO_BLKCIPHER |
Herbert Xu | 4351840 | 2006-10-16 21:28:58 +1000 | [diff] [blame] | 160 | select CRYPTO_MANAGER |
Herbert Xu | db131ef | 2006-09-21 11:44:08 +1000 | [diff] [blame] | 161 | help |
| 162 | CBC: Cipher Block Chaining mode |
| 163 | This block cipher algorithm is required for IPSec. |
| 164 | |
David Howells | 91652be | 2006-12-16 12:09:02 +1100 | [diff] [blame] | 165 | config CRYPTO_PCBC |
| 166 | tristate "PCBC support" |
| 167 | select CRYPTO_BLKCIPHER |
| 168 | select CRYPTO_MANAGER |
David Howells | 91652be | 2006-12-16 12:09:02 +1100 | [diff] [blame] | 169 | help |
| 170 | PCBC: Propagating Cipher Block Chaining mode |
| 171 | This block cipher algorithm is required for RxRPC. |
| 172 | |
Rik Snel | 64470f1 | 2006-11-26 09:43:10 +1100 | [diff] [blame] | 173 | config CRYPTO_LRW |
| 174 | tristate "LRW support (EXPERIMENTAL)" |
| 175 | depends on EXPERIMENTAL |
| 176 | select CRYPTO_BLKCIPHER |
| 177 | select CRYPTO_MANAGER |
| 178 | select CRYPTO_GF128MUL |
| 179 | help |
| 180 | LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable |
| 181 | narrow block cipher mode for dm-crypt. Use it with cipher |
| 182 | specification string aes-lrw-benbi, the key must be 256, 320 or 384. |
| 183 | The first 128, 192 or 256 bits in the key are used for AES and the |
| 184 | rest is used to tie each cipher block to its logical position. |
| 185 | |
Rik Snel | f19f511 | 2007-09-19 20:23:13 +0800 | [diff] [blame] | 186 | config CRYPTO_XTS |
| 187 | tristate "XTS support (EXPERIMENTAL)" |
| 188 | depends on EXPERIMENTAL |
| 189 | select CRYPTO_BLKCIPHER |
| 190 | select CRYPTO_MANAGER |
| 191 | select CRYPTO_GF128MUL |
| 192 | help |
| 193 | XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, |
| 194 | key size 256, 384 or 512 bits. This implementation currently |
| 195 | can't handle a sectorsize which is not a multiple of 16 bytes. |
| 196 | |
Joy Latten | 23e353c | 2007-10-23 08:50:32 +0800 | [diff] [blame] | 197 | config CRYPTO_CTR |
| 198 | tristate "CTR support" |
| 199 | select CRYPTO_BLKCIPHER |
| 200 | select CRYPTO_MANAGER |
Joy Latten | 23e353c | 2007-10-23 08:50:32 +0800 | [diff] [blame] | 201 | help |
| 202 | CTR: Counter mode |
| 203 | This block cipher algorithm is required for IPSec. |
| 204 | |
Mikko Herranen | 28db8e3 | 2007-11-26 22:24:11 +0800 | [diff] [blame] | 205 | config CRYPTO_GCM |
| 206 | tristate "GCM/GMAC support" |
| 207 | select CRYPTO_CTR |
| 208 | select CRYPTO_AEAD |
| 209 | select CRYPTO_GF128MUL |
| 210 | help |
| 211 | Support for Galois/Counter Mode (GCM) and Galois Message |
| 212 | Authentication Code (GMAC). Required for IPSec. |
| 213 | |
Herbert Xu | 124b53d | 2007-04-16 20:49:20 +1000 | [diff] [blame] | 214 | config CRYPTO_CRYPTD |
| 215 | tristate "Software async crypto daemon" |
Herbert Xu | 653ebd9 | 2007-11-27 19:48:27 +0800 | [diff] [blame] | 216 | select CRYPTO_BLKCIPHER |
Herbert Xu | 124b53d | 2007-04-16 20:49:20 +1000 | [diff] [blame] | 217 | select CRYPTO_MANAGER |
| 218 | help |
| 219 | This is a generic software asynchronous crypto daemon that |
| 220 | converts an arbitrary synchronous software crypto algorithm |
| 221 | into an asynchronous algorithm that executes in a kernel thread. |
| 222 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 223 | config CRYPTO_DES |
| 224 | tristate "DES and Triple DES EDE cipher algorithms" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 225 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 226 | help |
| 227 | DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). |
| 228 | |
David Howells | 9083163 | 2006-12-16 12:13:14 +1100 | [diff] [blame] | 229 | config CRYPTO_FCRYPT |
| 230 | tristate "FCrypt cipher algorithm" |
| 231 | select CRYPTO_ALGAPI |
| 232 | select CRYPTO_BLKCIPHER |
| 233 | help |
| 234 | FCrypt algorithm used by RxRPC. |
| 235 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 236 | config CRYPTO_BLOWFISH |
| 237 | tristate "Blowfish cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 238 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 239 | help |
| 240 | Blowfish cipher algorithm, by Bruce Schneier. |
| 241 | |
| 242 | This is a variable key length cipher which can use keys from 32 |
| 243 | bits to 448 bits in length. It's fast, simple and specifically |
| 244 | designed for use on "large microprocessors". |
| 245 | |
| 246 | See also: |
| 247 | <http://www.schneier.com/blowfish.html> |
| 248 | |
| 249 | config CRYPTO_TWOFISH |
| 250 | tristate "Twofish cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 251 | select CRYPTO_ALGAPI |
Joachim Fritschi | 2729bb4 | 2006-06-20 20:37:23 +1000 | [diff] [blame] | 252 | select CRYPTO_TWOFISH_COMMON |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 253 | help |
| 254 | Twofish cipher algorithm. |
| 255 | |
| 256 | Twofish was submitted as an AES (Advanced Encryption Standard) |
| 257 | candidate cipher by researchers at CounterPane Systems. It is a |
| 258 | 16 round block cipher supporting key sizes of 128, 192, and 256 |
| 259 | bits. |
| 260 | |
| 261 | See also: |
| 262 | <http://www.schneier.com/twofish.html> |
| 263 | |
Joachim Fritschi | 2729bb4 | 2006-06-20 20:37:23 +1000 | [diff] [blame] | 264 | config CRYPTO_TWOFISH_COMMON |
| 265 | tristate |
Joachim Fritschi | 2729bb4 | 2006-06-20 20:37:23 +1000 | [diff] [blame] | 266 | help |
| 267 | Common parts of the Twofish cipher algorithm shared by the |
| 268 | generic c and the assembler implementations. |
| 269 | |
Joachim Fritschi | b9f535f | 2006-06-20 20:59:16 +1000 | [diff] [blame] | 270 | config CRYPTO_TWOFISH_586 |
| 271 | tristate "Twofish cipher algorithms (i586)" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 272 | depends on (X86 || UML_X86) && !64BIT |
| 273 | select CRYPTO_ALGAPI |
Joachim Fritschi | b9f535f | 2006-06-20 20:59:16 +1000 | [diff] [blame] | 274 | select CRYPTO_TWOFISH_COMMON |
| 275 | help |
| 276 | Twofish cipher algorithm. |
| 277 | |
| 278 | Twofish was submitted as an AES (Advanced Encryption Standard) |
| 279 | candidate cipher by researchers at CounterPane Systems. It is a |
| 280 | 16 round block cipher supporting key sizes of 128, 192, and 256 |
| 281 | bits. |
| 282 | |
| 283 | See also: |
| 284 | <http://www.schneier.com/twofish.html> |
| 285 | |
Joachim Fritschi | eaf4408 | 2006-06-20 21:12:02 +1000 | [diff] [blame] | 286 | config CRYPTO_TWOFISH_X86_64 |
| 287 | tristate "Twofish cipher algorithm (x86_64)" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 288 | depends on (X86 || UML_X86) && 64BIT |
| 289 | select CRYPTO_ALGAPI |
Joachim Fritschi | eaf4408 | 2006-06-20 21:12:02 +1000 | [diff] [blame] | 290 | select CRYPTO_TWOFISH_COMMON |
| 291 | help |
| 292 | Twofish cipher algorithm (x86_64). |
| 293 | |
| 294 | Twofish was submitted as an AES (Advanced Encryption Standard) |
| 295 | candidate cipher by researchers at CounterPane Systems. It is a |
| 296 | 16 round block cipher supporting key sizes of 128, 192, and 256 |
| 297 | bits. |
| 298 | |
| 299 | See also: |
| 300 | <http://www.schneier.com/twofish.html> |
| 301 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 302 | config CRYPTO_SERPENT |
| 303 | tristate "Serpent cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 304 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 305 | help |
| 306 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
| 307 | |
| 308 | Keys are allowed to be from 0 to 256 bits in length, in steps |
| 309 | of 8 bits. Also includes the 'Tnepres' algorithm, a reversed |
David Sterba | 3dde6ad | 2007-05-09 07:12:20 +0200 | [diff] [blame] | 310 | variant of Serpent for compatibility with old kerneli.org code. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 311 | |
| 312 | See also: |
| 313 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> |
| 314 | |
| 315 | config CRYPTO_AES |
| 316 | tristate "AES cipher algorithms" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 317 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 318 | help |
| 319 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
| 320 | algorithm. |
| 321 | |
| 322 | Rijndael appears to be consistently a very good performer in |
| 323 | both hardware and software across a wide range of computing |
| 324 | environments regardless of its use in feedback or non-feedback |
| 325 | modes. Its key setup time is excellent, and its key agility is |
| 326 | good. Rijndael's very low memory requirements make it very well |
| 327 | suited for restricted-space environments, in which it also |
| 328 | demonstrates excellent performance. Rijndael's operations are |
| 329 | among the easiest to defend against power and timing attacks. |
| 330 | |
| 331 | The AES specifies three key sizes: 128, 192 and 256 bits |
| 332 | |
| 333 | See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. |
| 334 | |
| 335 | config CRYPTO_AES_586 |
| 336 | tristate "AES cipher algorithms (i586)" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 337 | depends on (X86 || UML_X86) && !64BIT |
| 338 | select CRYPTO_ALGAPI |
Sebastian Siewior | 5157dea | 2007-11-10 19:07:16 +0800 | [diff] [blame] | 339 | select CRYPTO_AES |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 340 | help |
| 341 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
| 342 | algorithm. |
| 343 | |
| 344 | Rijndael appears to be consistently a very good performer in |
| 345 | both hardware and software across a wide range of computing |
| 346 | environments regardless of its use in feedback or non-feedback |
| 347 | modes. Its key setup time is excellent, and its key agility is |
| 348 | good. Rijndael's very low memory requirements make it very well |
| 349 | suited for restricted-space environments, in which it also |
| 350 | demonstrates excellent performance. Rijndael's operations are |
| 351 | among the easiest to defend against power and timing attacks. |
| 352 | |
| 353 | The AES specifies three key sizes: 128, 192 and 256 bits |
| 354 | |
| 355 | See <http://csrc.nist.gov/encryption/aes/> for more information. |
| 356 | |
Andreas Steinmetz | a2a892a | 2005-07-06 13:55:00 -0700 | [diff] [blame] | 357 | config CRYPTO_AES_X86_64 |
| 358 | tristate "AES cipher algorithms (x86_64)" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 359 | depends on (X86 || UML_X86) && 64BIT |
| 360 | select CRYPTO_ALGAPI |
Sebastian Siewior | 81190b3 | 2007-11-08 21:25:04 +0800 | [diff] [blame] | 361 | select CRYPTO_AES |
Andreas Steinmetz | a2a892a | 2005-07-06 13:55:00 -0700 | [diff] [blame] | 362 | help |
| 363 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
| 364 | algorithm. |
| 365 | |
| 366 | Rijndael appears to be consistently a very good performer in |
| 367 | both hardware and software across a wide range of computing |
| 368 | environments regardless of its use in feedback or non-feedback |
| 369 | modes. Its key setup time is excellent, and its key agility is |
| 370 | good. Rijndael's very low memory requirements make it very well |
| 371 | suited for restricted-space environments, in which it also |
| 372 | demonstrates excellent performance. Rijndael's operations are |
| 373 | among the easiest to defend against power and timing attacks. |
| 374 | |
| 375 | The AES specifies three key sizes: 128, 192 and 256 bits |
| 376 | |
| 377 | See <http://csrc.nist.gov/encryption/aes/> for more information. |
| 378 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 379 | config CRYPTO_CAST5 |
| 380 | tristate "CAST5 (CAST-128) cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 381 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 382 | help |
| 383 | The CAST5 encryption algorithm (synonymous with CAST-128) is |
| 384 | described in RFC2144. |
| 385 | |
| 386 | config CRYPTO_CAST6 |
| 387 | tristate "CAST6 (CAST-256) cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 388 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 389 | help |
| 390 | The CAST6 encryption algorithm (synonymous with CAST-256) is |
| 391 | described in RFC2612. |
| 392 | |
| 393 | config CRYPTO_TEA |
Aaron Grothe | fb4f10e | 2005-09-01 17:42:46 -0700 | [diff] [blame] | 394 | tristate "TEA, XTEA and XETA cipher algorithms" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 395 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 396 | help |
| 397 | TEA cipher algorithm. |
| 398 | |
| 399 | Tiny Encryption Algorithm is a simple cipher that uses |
| 400 | many rounds for security. It is very fast and uses |
| 401 | little memory. |
| 402 | |
| 403 | Xtendend Tiny Encryption Algorithm is a modification to |
| 404 | the TEA algorithm to address a potential key weakness |
| 405 | in the TEA algorithm. |
| 406 | |
Aaron Grothe | fb4f10e | 2005-09-01 17:42:46 -0700 | [diff] [blame] | 407 | Xtendend Encryption Tiny Algorithm is a mis-implementation |
| 408 | of the XTEA algorithm for compatibility purposes. |
| 409 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 410 | config CRYPTO_ARC4 |
| 411 | tristate "ARC4 cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 412 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 413 | help |
| 414 | ARC4 cipher algorithm. |
| 415 | |
| 416 | ARC4 is a stream cipher using keys ranging from 8 bits to 2048 |
| 417 | bits in length. This algorithm is required for driver-based |
| 418 | WEP, but it should not be for other purposes because of the |
| 419 | weakness of the algorithm. |
| 420 | |
| 421 | config CRYPTO_KHAZAD |
| 422 | tristate "Khazad cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 423 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 424 | help |
| 425 | Khazad cipher algorithm. |
| 426 | |
| 427 | Khazad was a finalist in the initial NESSIE competition. It is |
| 428 | an algorithm optimized for 64-bit processors with good performance |
| 429 | on 32-bit processors. Khazad uses an 128 bit key size. |
| 430 | |
| 431 | See also: |
| 432 | <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html> |
| 433 | |
| 434 | config CRYPTO_ANUBIS |
| 435 | tristate "Anubis cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 436 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 437 | help |
| 438 | Anubis cipher algorithm. |
| 439 | |
| 440 | Anubis is a variable key length cipher which can use keys from |
| 441 | 128 bits to 320 bits in length. It was evaluated as a entrant |
| 442 | in the NESSIE competition. |
| 443 | |
| 444 | See also: |
| 445 | <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/> |
| 446 | <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html> |
| 447 | |
Hye-Shik Chang | e2ee95b | 2007-08-21 20:01:03 +0800 | [diff] [blame] | 448 | config CRYPTO_SEED |
| 449 | tristate "SEED cipher algorithm" |
| 450 | select CRYPTO_ALGAPI |
| 451 | help |
| 452 | SEED cipher algorithm (RFC4269). |
| 453 | |
| 454 | SEED is a 128-bit symmetric key block cipher that has been |
| 455 | developed by KISA (Korea Information Security Agency) as a |
| 456 | national standard encryption algorithm of the Republic of Korea. |
| 457 | It is a 16 round block cipher with the key size of 128 bit. |
| 458 | |
| 459 | See also: |
| 460 | <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> |
| 461 | |
Tan Swee Heng | 2407d60 | 2007-11-23 19:45:00 +0800 | [diff] [blame] | 462 | config CRYPTO_SALSA20 |
| 463 | tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)" |
| 464 | depends on EXPERIMENTAL |
| 465 | select CRYPTO_BLKCIPHER |
| 466 | help |
| 467 | Salsa20 stream cipher algorithm. |
| 468 | |
| 469 | Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT |
| 470 | Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> |
| 471 | |
| 472 | The Salsa20 stream cipher algorithm is designed by Daniel J. |
| 473 | Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 474 | |
| 475 | config CRYPTO_DEFLATE |
| 476 | tristate "Deflate compression algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 477 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 478 | select ZLIB_INFLATE |
| 479 | select ZLIB_DEFLATE |
| 480 | help |
| 481 | This is the Deflate algorithm (RFC1951), specified for use in |
| 482 | IPSec with the IPCOMP protocol (RFC3173, RFC2394). |
| 483 | |
| 484 | You will most probably want this if using IPSec. |
| 485 | |
| 486 | config CRYPTO_MICHAEL_MIC |
| 487 | tristate "Michael MIC keyed digest algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 488 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 489 | help |
| 490 | Michael MIC is used for message integrity protection in TKIP |
| 491 | (IEEE 802.11i). This algorithm is required for TKIP, but it |
| 492 | should not be used for other purposes because of the weakness |
| 493 | of the algorithm. |
| 494 | |
| 495 | config CRYPTO_CRC32C |
| 496 | tristate "CRC32c CRC algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 497 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 498 | select LIBCRC32C |
| 499 | help |
| 500 | Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used |
| 501 | by iSCSI for header and data digests and by others. |
| 502 | See Castagnoli93. This implementation uses lib/libcrc32c. |
| 503 | Module will be crc32c. |
| 504 | |
Noriaki TAKAMIYA | 04ac7db | 2006-10-22 14:49:17 +1000 | [diff] [blame] | 505 | config CRYPTO_CAMELLIA |
| 506 | tristate "Camellia cipher algorithms" |
| 507 | depends on CRYPTO |
| 508 | select CRYPTO_ALGAPI |
| 509 | help |
| 510 | Camellia cipher algorithms module. |
| 511 | |
| 512 | Camellia is a symmetric key block cipher developed jointly |
| 513 | at NTT and Mitsubishi Electric Corporation. |
| 514 | |
| 515 | The Camellia specifies three key sizes: 128, 192 and 256 bits. |
| 516 | |
| 517 | See also: |
| 518 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
| 519 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 520 | config CRYPTO_TEST |
| 521 | tristate "Testing module" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 522 | depends on m |
| 523 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 524 | help |
| 525 | Quick & dirty crypto test module. |
| 526 | |
Herbert Xu | 3c09f17 | 2007-08-30 16:24:15 +0800 | [diff] [blame] | 527 | config CRYPTO_AUTHENC |
| 528 | tristate "Authenc support" |
| 529 | select CRYPTO_AEAD |
| 530 | select CRYPTO_MANAGER |
Borislav Petkov | 5e55311 | 2007-12-14 16:43:32 +0800 | [diff] [blame] | 531 | select CRYPTO_HASH |
Herbert Xu | 3c09f17 | 2007-08-30 16:24:15 +0800 | [diff] [blame] | 532 | help |
| 533 | Authenc: Combined mode wrapper for IPsec. |
| 534 | This is required for IPSec. |
| 535 | |
Zoltan Sogor | 0b77abb | 2007-12-07 16:53:23 +0800 | [diff] [blame] | 536 | config CRYPTO_LZO |
| 537 | tristate "LZO compression algorithm" |
| 538 | select CRYPTO_ALGAPI |
| 539 | select LZO_COMPRESS |
| 540 | select LZO_DECOMPRESS |
| 541 | help |
| 542 | This is the LZO algorithm. |
| 543 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 544 | source "drivers/crypto/Kconfig" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 545 | |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 546 | endif # if CRYPTO |