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