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 |
Sebastian Siewior | c3715cb9 | 2008-03-30 16:36:09 +0800 | [diff] [blame] | 16 | tristate "Cryptographic API" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 22 | comment "Crypto core or helper" |
| 23 | |
Neil Horman | ccb778e | 2008-08-05 14:13:08 +0800 | [diff] [blame] | 24 | config CRYPTO_FIPS |
| 25 | bool "FIPS 200 compliance" |
Neil Horman | 4e4ed83 | 2009-08-20 17:54:16 +1000 | [diff] [blame] | 26 | depends on CRYPTO_ANSI_CPRNG |
Neil Horman | ccb778e | 2008-08-05 14:13:08 +0800 | [diff] [blame] | 27 | help |
| 28 | This options enables the fips boot option which is |
| 29 | required if you want to system to operate in a FIPS 200 |
| 30 | certification. You should say no unless you know what |
Gilles Espinasse | f77f13e | 2010-03-29 15:41:47 +0200 | [diff] [blame] | 31 | this is. Note that CRYPTO_ANSI_CPRNG is required if this |
Neil Horman | 4e4ed83 | 2009-08-20 17:54:16 +1000 | [diff] [blame] | 32 | option is selected |
Neil Horman | ccb778e | 2008-08-05 14:13:08 +0800 | [diff] [blame] | 33 | |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 34 | config CRYPTO_ALGAPI |
| 35 | tristate |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 36 | select CRYPTO_ALGAPI2 |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 37 | help |
| 38 | This option provides the API for cryptographic algorithms. |
| 39 | |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 40 | config CRYPTO_ALGAPI2 |
| 41 | tristate |
| 42 | |
Herbert Xu | 1ae9782 | 2007-08-30 15:36:14 +0800 | [diff] [blame] | 43 | config CRYPTO_AEAD |
| 44 | tristate |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 45 | select CRYPTO_AEAD2 |
Herbert Xu | 1ae9782 | 2007-08-30 15:36:14 +0800 | [diff] [blame] | 46 | select CRYPTO_ALGAPI |
| 47 | |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 48 | config CRYPTO_AEAD2 |
| 49 | tristate |
| 50 | select CRYPTO_ALGAPI2 |
| 51 | |
Herbert Xu | 5cde0af | 2006-08-22 00:07:53 +1000 | [diff] [blame] | 52 | config CRYPTO_BLKCIPHER |
| 53 | tristate |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 54 | select CRYPTO_BLKCIPHER2 |
Herbert Xu | 5cde0af | 2006-08-22 00:07:53 +1000 | [diff] [blame] | 55 | select CRYPTO_ALGAPI |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 56 | |
| 57 | config CRYPTO_BLKCIPHER2 |
| 58 | tristate |
| 59 | select CRYPTO_ALGAPI2 |
| 60 | select CRYPTO_RNG2 |
Huang Ying | 0a2e821 | 2009-02-19 14:44:02 +0800 | [diff] [blame] | 61 | select CRYPTO_WORKQUEUE |
Herbert Xu | 5cde0af | 2006-08-22 00:07:53 +1000 | [diff] [blame] | 62 | |
Herbert Xu | 055bcee | 2006-08-19 22:24:23 +1000 | [diff] [blame] | 63 | config CRYPTO_HASH |
| 64 | tristate |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 65 | select CRYPTO_HASH2 |
Herbert Xu | 055bcee | 2006-08-19 22:24:23 +1000 | [diff] [blame] | 66 | select CRYPTO_ALGAPI |
| 67 | |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 68 | config CRYPTO_HASH2 |
| 69 | tristate |
| 70 | select CRYPTO_ALGAPI2 |
| 71 | |
Neil Horman | 17f0f4a | 2008-08-14 22:15:52 +1000 | [diff] [blame] | 72 | config CRYPTO_RNG |
| 73 | tristate |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 74 | select CRYPTO_RNG2 |
Neil Horman | 17f0f4a | 2008-08-14 22:15:52 +1000 | [diff] [blame] | 75 | select CRYPTO_ALGAPI |
| 76 | |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 77 | config CRYPTO_RNG2 |
| 78 | tristate |
| 79 | select CRYPTO_ALGAPI2 |
| 80 | |
Geert Uytterhoeven | a1d2f09 | 2009-03-04 15:05:33 +0800 | [diff] [blame] | 81 | config CRYPTO_PCOMP |
| 82 | tristate |
| 83 | select CRYPTO_ALGAPI2 |
| 84 | |
Herbert Xu | 2b8c19d | 2006-09-21 11:31:44 +1000 | [diff] [blame] | 85 | config CRYPTO_MANAGER |
| 86 | tristate "Cryptographic algorithm manager" |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 87 | select CRYPTO_MANAGER2 |
Herbert Xu | 2b8c19d | 2006-09-21 11:31:44 +1000 | [diff] [blame] | 88 | help |
| 89 | Create default cryptographic template instantiations such as |
| 90 | cbc(aes). |
| 91 | |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 92 | config CRYPTO_MANAGER2 |
| 93 | def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) |
| 94 | select CRYPTO_AEAD2 |
| 95 | select CRYPTO_HASH2 |
| 96 | select CRYPTO_BLKCIPHER2 |
Geert Uytterhoeven | 0c01aed | 2009-03-04 15:42:15 +0800 | [diff] [blame] | 97 | select CRYPTO_PCOMP |
Herbert Xu | 6a0fcbb | 2008-12-10 23:29:44 +1100 | [diff] [blame] | 98 | |
Rik Snel | c494e07 | 2006-11-29 18:59:44 +1100 | [diff] [blame] | 99 | config CRYPTO_GF128MUL |
| 100 | tristate "GF(2^128) multiplication functions (EXPERIMENTAL)" |
| 101 | depends on EXPERIMENTAL |
| 102 | help |
| 103 | Efficient table driven implementation of multiplications in the |
| 104 | field GF(2^128). This is needed by some cypher modes. This |
| 105 | option will be selected automatically if you select such a |
| 106 | cipher mode. Only select this option by hand if you expect to load |
| 107 | an external module that requires these functions. |
| 108 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 109 | config CRYPTO_NULL |
| 110 | tristate "Null algorithms" |
| 111 | select CRYPTO_ALGAPI |
| 112 | select CRYPTO_BLKCIPHER |
Herbert Xu | d35d245 | 2008-11-08 08:09:56 +0800 | [diff] [blame] | 113 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 114 | help |
| 115 | These are 'Null' algorithms, used by IPsec, which do nothing. |
| 116 | |
Steffen Klassert | 5068c7a | 2010-01-07 15:57:19 +1100 | [diff] [blame] | 117 | config CRYPTO_PCRYPT |
| 118 | tristate "Parallel crypto engine (EXPERIMENTAL)" |
| 119 | depends on SMP && EXPERIMENTAL |
| 120 | select PADATA |
| 121 | select CRYPTO_MANAGER |
| 122 | select CRYPTO_AEAD |
| 123 | help |
| 124 | This converts an arbitrary crypto algorithm into a parallel |
| 125 | algorithm that executes in kernel threads. |
| 126 | |
Huang Ying | 25c38d3 | 2009-02-19 14:33:40 +0800 | [diff] [blame] | 127 | config CRYPTO_WORKQUEUE |
| 128 | tristate |
| 129 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 130 | config CRYPTO_CRYPTD |
| 131 | tristate "Software async crypto daemon" |
Herbert Xu | db131ef | 2006-09-21 11:44:08 +1000 | [diff] [blame] | 132 | select CRYPTO_BLKCIPHER |
Loc Ho | b8a2825 | 2008-05-14 21:23:00 +0800 | [diff] [blame] | 133 | select CRYPTO_HASH |
Herbert Xu | 4351840 | 2006-10-16 21:28:58 +1000 | [diff] [blame] | 134 | select CRYPTO_MANAGER |
Huang Ying | 254eff7 | 2009-02-19 14:42:19 +0800 | [diff] [blame] | 135 | select CRYPTO_WORKQUEUE |
Herbert Xu | db131ef | 2006-09-21 11:44:08 +1000 | [diff] [blame] | 136 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 137 | This is a generic software asynchronous crypto daemon that |
| 138 | converts an arbitrary synchronous software crypto algorithm |
| 139 | into an asynchronous algorithm that executes in a kernel thread. |
| 140 | |
| 141 | config CRYPTO_AUTHENC |
| 142 | tristate "Authenc support" |
| 143 | select CRYPTO_AEAD |
| 144 | select CRYPTO_BLKCIPHER |
| 145 | select CRYPTO_MANAGER |
| 146 | select CRYPTO_HASH |
| 147 | help |
| 148 | Authenc: Combined mode wrapper for IPsec. |
| 149 | This is required for IPSec. |
| 150 | |
| 151 | config CRYPTO_TEST |
| 152 | tristate "Testing module" |
| 153 | depends on m |
Herbert Xu | da7f033 | 2008-07-31 17:08:25 +0800 | [diff] [blame] | 154 | select CRYPTO_MANAGER |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 155 | help |
| 156 | Quick & dirty crypto test module. |
| 157 | |
| 158 | comment "Authenticated Encryption with Associated Data" |
| 159 | |
| 160 | config CRYPTO_CCM |
| 161 | tristate "CCM support" |
| 162 | select CRYPTO_CTR |
| 163 | select CRYPTO_AEAD |
| 164 | help |
| 165 | Support for Counter with CBC MAC. Required for IPsec. |
| 166 | |
| 167 | config CRYPTO_GCM |
| 168 | tristate "GCM/GMAC support" |
| 169 | select CRYPTO_CTR |
| 170 | select CRYPTO_AEAD |
Huang Ying | 9382d97 | 2009-08-06 15:34:26 +1000 | [diff] [blame] | 171 | select CRYPTO_GHASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 172 | help |
| 173 | Support for Galois/Counter Mode (GCM) and Galois Message |
| 174 | Authentication Code (GMAC). Required for IPSec. |
| 175 | |
| 176 | config CRYPTO_SEQIV |
| 177 | tristate "Sequence Number IV Generator" |
| 178 | select CRYPTO_AEAD |
| 179 | select CRYPTO_BLKCIPHER |
Herbert Xu | a0f000e | 2008-08-14 22:21:31 +1000 | [diff] [blame] | 180 | select CRYPTO_RNG |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 181 | help |
| 182 | This IV generator generates an IV based on a sequence number by |
| 183 | xoring it with a salt. This algorithm is mainly useful for CTR |
| 184 | |
| 185 | comment "Block modes" |
Herbert Xu | db131ef | 2006-09-21 11:44:08 +1000 | [diff] [blame] | 186 | |
| 187 | config CRYPTO_CBC |
| 188 | tristate "CBC support" |
| 189 | select CRYPTO_BLKCIPHER |
Herbert Xu | 4351840 | 2006-10-16 21:28:58 +1000 | [diff] [blame] | 190 | select CRYPTO_MANAGER |
Herbert Xu | db131ef | 2006-09-21 11:44:08 +1000 | [diff] [blame] | 191 | help |
| 192 | CBC: Cipher Block Chaining mode |
| 193 | This block cipher algorithm is required for IPSec. |
| 194 | |
Joy Latten | 23e353c | 2007-10-23 08:50:32 +0800 | [diff] [blame] | 195 | config CRYPTO_CTR |
| 196 | tristate "CTR support" |
| 197 | select CRYPTO_BLKCIPHER |
Herbert Xu | 0a27032 | 2007-11-30 21:38:37 +1100 | [diff] [blame] | 198 | select CRYPTO_SEQIV |
Joy Latten | 23e353c | 2007-10-23 08:50:32 +0800 | [diff] [blame] | 199 | select CRYPTO_MANAGER |
Joy Latten | 23e353c | 2007-10-23 08:50:32 +0800 | [diff] [blame] | 200 | help |
| 201 | CTR: Counter mode |
| 202 | This block cipher algorithm is required for IPSec. |
| 203 | |
Kevin Coffman | 76cb952 | 2008-03-24 21:26:16 +0800 | [diff] [blame] | 204 | config CRYPTO_CTS |
| 205 | tristate "CTS support" |
| 206 | select CRYPTO_BLKCIPHER |
| 207 | help |
| 208 | CTS: Cipher Text Stealing |
| 209 | This is the Cipher Text Stealing mode as described by |
| 210 | Section 8 of rfc2040 and referenced by rfc3962. |
| 211 | (rfc3962 includes errata information in its Appendix A) |
| 212 | This mode is required for Kerberos gss mechanism support |
| 213 | for AES encryption. |
| 214 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 215 | config CRYPTO_ECB |
| 216 | tristate "ECB support" |
Herbert Xu | 653ebd9 | 2007-11-27 19:48:27 +0800 | [diff] [blame] | 217 | select CRYPTO_BLKCIPHER |
Herbert Xu | 124b53d | 2007-04-16 20:49:20 +1000 | [diff] [blame] | 218 | select CRYPTO_MANAGER |
| 219 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 220 | ECB: Electronic CodeBook mode |
| 221 | This is the simplest block cipher algorithm. It simply encrypts |
| 222 | the input block by block. |
Herbert Xu | 124b53d | 2007-04-16 20:49:20 +1000 | [diff] [blame] | 223 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 224 | config CRYPTO_LRW |
| 225 | tristate "LRW support (EXPERIMENTAL)" |
| 226 | depends on EXPERIMENTAL |
David Howells | 9083163 | 2006-12-16 12:13:14 +1100 | [diff] [blame] | 227 | select CRYPTO_BLKCIPHER |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 228 | select CRYPTO_MANAGER |
| 229 | select CRYPTO_GF128MUL |
David Howells | 9083163 | 2006-12-16 12:13:14 +1100 | [diff] [blame] | 230 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 231 | LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable |
| 232 | narrow block cipher mode for dm-crypt. Use it with cipher |
| 233 | specification string aes-lrw-benbi, the key must be 256, 320 or 384. |
| 234 | The first 128, 192 or 256 bits in the key are used for AES and the |
| 235 | rest is used to tie each cipher block to its logical position. |
David Howells | 9083163 | 2006-12-16 12:13:14 +1100 | [diff] [blame] | 236 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 237 | config CRYPTO_PCBC |
| 238 | tristate "PCBC support" |
| 239 | select CRYPTO_BLKCIPHER |
| 240 | select CRYPTO_MANAGER |
| 241 | help |
| 242 | PCBC: Propagating Cipher Block Chaining mode |
| 243 | This block cipher algorithm is required for RxRPC. |
| 244 | |
| 245 | config CRYPTO_XTS |
| 246 | tristate "XTS support (EXPERIMENTAL)" |
| 247 | depends on EXPERIMENTAL |
| 248 | select CRYPTO_BLKCIPHER |
| 249 | select CRYPTO_MANAGER |
| 250 | select CRYPTO_GF128MUL |
| 251 | help |
| 252 | XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, |
| 253 | key size 256, 384 or 512 bits. This implementation currently |
| 254 | can't handle a sectorsize which is not a multiple of 16 bytes. |
| 255 | |
Huang Ying | 150c7e8 | 2009-03-29 15:39:02 +0800 | [diff] [blame] | 256 | config CRYPTO_FPU |
| 257 | tristate |
| 258 | select CRYPTO_BLKCIPHER |
| 259 | select CRYPTO_MANAGER |
| 260 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 261 | comment "Hash modes" |
| 262 | |
| 263 | config CRYPTO_HMAC |
| 264 | tristate "HMAC support" |
| 265 | select CRYPTO_HASH |
| 266 | select CRYPTO_MANAGER |
| 267 | help |
| 268 | HMAC: Keyed-Hashing for Message Authentication (RFC2104). |
| 269 | This is required for IPSec. |
| 270 | |
| 271 | config CRYPTO_XCBC |
| 272 | tristate "XCBC support" |
| 273 | depends on EXPERIMENTAL |
| 274 | select CRYPTO_HASH |
| 275 | select CRYPTO_MANAGER |
| 276 | help |
| 277 | XCBC: Keyed-Hashing with encryption algorithm |
| 278 | http://www.ietf.org/rfc/rfc3566.txt |
| 279 | http://csrc.nist.gov/encryption/modes/proposedmodes/ |
| 280 | xcbc-mac/xcbc-mac-spec.pdf |
| 281 | |
Shane Wang | f1939f7 | 2009-09-02 20:05:22 +1000 | [diff] [blame] | 282 | config CRYPTO_VMAC |
| 283 | tristate "VMAC support" |
| 284 | depends on EXPERIMENTAL |
| 285 | select CRYPTO_HASH |
| 286 | select CRYPTO_MANAGER |
| 287 | help |
| 288 | VMAC is a message authentication algorithm designed for |
| 289 | very high speed on 64-bit architectures. |
| 290 | |
| 291 | See also: |
| 292 | <http://fastcrypto.org/vmac> |
| 293 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 294 | comment "Digest" |
| 295 | |
| 296 | config CRYPTO_CRC32C |
| 297 | tristate "CRC32c CRC algorithm" |
Herbert Xu | 5773a3e | 2008-07-08 20:54:28 +0800 | [diff] [blame] | 298 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 299 | help |
| 300 | Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used |
| 301 | by iSCSI for header and data digests and by others. |
Herbert Xu | 69c35ef | 2008-11-07 15:11:47 +0800 | [diff] [blame] | 302 | See Castagnoli93. Module will be crc32c. |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 303 | |
Austin Zhang | 8cb51ba | 2008-08-07 09:57:03 +0800 | [diff] [blame] | 304 | config CRYPTO_CRC32C_INTEL |
| 305 | tristate "CRC32c INTEL hardware acceleration" |
| 306 | depends on X86 |
| 307 | select CRYPTO_HASH |
| 308 | help |
| 309 | In Intel processor with SSE4.2 supported, the processor will |
| 310 | support CRC32C implementation using hardware accelerated CRC32 |
| 311 | instruction. This option will create 'crc32c-intel' module, |
| 312 | which will enable any routine to use the CRC32 instruction to |
| 313 | gain performance compared with software implementation. |
| 314 | Module will be crc32c-intel. |
| 315 | |
Huang Ying | 2cdc689 | 2009-08-06 15:32:38 +1000 | [diff] [blame] | 316 | config CRYPTO_GHASH |
| 317 | tristate "GHASH digest algorithm" |
| 318 | select CRYPTO_SHASH |
| 319 | select CRYPTO_GF128MUL |
| 320 | help |
| 321 | GHASH is message digest algorithm for GCM (Galois/Counter Mode). |
| 322 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 323 | config CRYPTO_MD4 |
| 324 | tristate "MD4 digest algorithm" |
Adrian-Ken Rueegsegger | 808a176 | 2008-12-03 19:55:27 +0800 | [diff] [blame] | 325 | select CRYPTO_HASH |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 326 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 327 | MD4 message digest algorithm (RFC1320). |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 328 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 329 | config CRYPTO_MD5 |
| 330 | tristate "MD5 digest algorithm" |
Adrian-Ken Rueegsegger | 14b75ba | 2008-12-03 19:57:12 +0800 | [diff] [blame] | 331 | select CRYPTO_HASH |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 332 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 333 | MD5 message digest algorithm (RFC1321). |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 334 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 335 | config CRYPTO_MICHAEL_MIC |
| 336 | tristate "Michael MIC keyed digest algorithm" |
Adrian-Ken Rueegsegger | 19e2bf1 | 2008-12-07 19:35:38 +0800 | [diff] [blame] | 337 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 338 | help |
| 339 | Michael MIC is used for message integrity protection in TKIP |
| 340 | (IEEE 802.11i). This algorithm is required for TKIP, but it |
| 341 | should not be used for other purposes because of the weakness |
| 342 | of the algorithm. |
| 343 | |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 344 | config CRYPTO_RMD128 |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 345 | tristate "RIPEMD-128 digest algorithm" |
Herbert Xu | 7c4468b | 2008-11-08 09:10:40 +0800 | [diff] [blame] | 346 | select CRYPTO_HASH |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 347 | help |
| 348 | RIPEMD-128 (ISO/IEC 10118-3:2004). |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 349 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 350 | RIPEMD-128 is a 128-bit cryptographic hash function. It should only |
| 351 | to be used as a secure replacement for RIPEMD. For other use cases |
| 352 | RIPEMD-160 should be used. |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 353 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 354 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
| 355 | See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 356 | |
| 357 | config CRYPTO_RMD160 |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 358 | tristate "RIPEMD-160 digest algorithm" |
Herbert Xu | e5835fb | 2008-11-08 09:18:51 +0800 | [diff] [blame] | 359 | select CRYPTO_HASH |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 360 | help |
| 361 | RIPEMD-160 (ISO/IEC 10118-3:2004). |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 362 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 363 | RIPEMD-160 is a 160-bit cryptographic hash function. It is intended |
| 364 | to be used as a secure replacement for the 128-bit hash functions |
| 365 | MD4, MD5 and it's predecessor RIPEMD |
| 366 | (not to be confused with RIPEMD-128). |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 367 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 368 | It's speed is comparable to SHA1 and there are no known attacks |
| 369 | against RIPEMD-160. |
Adrian-Ken Rueegsegger | 534fe2c | 2008-05-09 21:30:27 +0800 | [diff] [blame] | 370 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 371 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
| 372 | See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> |
Adrian-Ken Rueegsegger | 534fe2c | 2008-05-09 21:30:27 +0800 | [diff] [blame] | 373 | |
| 374 | config CRYPTO_RMD256 |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 375 | tristate "RIPEMD-256 digest algorithm" |
Herbert Xu | d8a5e2e | 2008-11-08 09:58:10 +0800 | [diff] [blame] | 376 | select CRYPTO_HASH |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 377 | help |
| 378 | RIPEMD-256 is an optional extension of RIPEMD-128 with a |
| 379 | 256 bit hash. It is intended for applications that require |
| 380 | longer hash-results, without needing a larger security level |
| 381 | (than RIPEMD-128). |
Adrian-Ken Rueegsegger | 534fe2c | 2008-05-09 21:30:27 +0800 | [diff] [blame] | 382 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 383 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
| 384 | See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> |
Adrian-Ken Rueegsegger | 534fe2c | 2008-05-09 21:30:27 +0800 | [diff] [blame] | 385 | |
| 386 | config CRYPTO_RMD320 |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 387 | tristate "RIPEMD-320 digest algorithm" |
Herbert Xu | 3b8efb4 | 2008-11-08 10:11:09 +0800 | [diff] [blame] | 388 | select CRYPTO_HASH |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 389 | help |
| 390 | RIPEMD-320 is an optional extension of RIPEMD-160 with a |
| 391 | 320 bit hash. It is intended for applications that require |
| 392 | longer hash-results, without needing a larger security level |
| 393 | (than RIPEMD-160). |
Adrian-Ken Rueegsegger | 534fe2c | 2008-05-09 21:30:27 +0800 | [diff] [blame] | 394 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 395 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
| 396 | See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> |
Adrian-Ken Rueegsegger | 82798f9 | 2008-05-07 22:17:37 +0800 | [diff] [blame] | 397 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 398 | config CRYPTO_SHA1 |
| 399 | tristate "SHA1 digest algorithm" |
Adrian-Ken Rueegsegger | 54ccb36 | 2008-12-02 21:08:20 +0800 | [diff] [blame] | 400 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 401 | help |
| 402 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). |
| 403 | |
| 404 | config CRYPTO_SHA256 |
| 405 | tristate "SHA224 and SHA256 digest algorithm" |
Adrian-Ken Rueegsegger | 50e109b | 2008-12-03 19:57:49 +0800 | [diff] [blame] | 406 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 407 | help |
| 408 | SHA256 secure hash standard (DFIPS 180-2). |
| 409 | |
| 410 | This version of SHA implements a 256 bit hash with 128 bits of |
| 411 | security against collision attacks. |
| 412 | |
Adrian Bunk | b6d4434 | 2008-07-16 19:28:00 +0800 | [diff] [blame] | 413 | This code also includes SHA-224, a 224 bit hash with 112 bits |
| 414 | of security against collision attacks. |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 415 | |
| 416 | config CRYPTO_SHA512 |
| 417 | tristate "SHA384 and SHA512 digest algorithms" |
Adrian-Ken Rueegsegger | bd9d20d | 2008-12-17 16:49:02 +1100 | [diff] [blame] | 418 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 419 | help |
| 420 | SHA512 secure hash standard (DFIPS 180-2). |
| 421 | |
| 422 | This version of SHA implements a 512 bit hash with 256 bits of |
| 423 | security against collision attacks. |
| 424 | |
| 425 | This code also includes SHA-384, a 384 bit hash with 192 bits |
| 426 | of security against collision attacks. |
| 427 | |
| 428 | config CRYPTO_TGR192 |
| 429 | tristate "Tiger digest algorithms" |
Adrian-Ken Rueegsegger | f63fbd3 | 2008-12-03 19:58:32 +0800 | [diff] [blame] | 430 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 431 | help |
| 432 | Tiger hash algorithm 192, 160 and 128-bit hashes |
| 433 | |
| 434 | Tiger is a hash function optimized for 64-bit processors while |
| 435 | still having decent performance on 32-bit processors. |
| 436 | Tiger was developed by Ross Anderson and Eli Biham. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 437 | |
| 438 | See also: |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 439 | <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. |
| 440 | |
| 441 | config CRYPTO_WP512 |
| 442 | tristate "Whirlpool digest algorithms" |
Adrian-Ken Rueegsegger | 4946510 | 2008-12-07 19:34:37 +0800 | [diff] [blame] | 443 | select CRYPTO_HASH |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 444 | help |
| 445 | Whirlpool hash algorithm 512, 384 and 256-bit hashes |
| 446 | |
| 447 | Whirlpool-512 is part of the NESSIE cryptographic primitives. |
| 448 | Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard |
| 449 | |
| 450 | See also: |
| 451 | <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html> |
| 452 | |
Huang Ying | 0e1227d | 2009-10-19 11:53:06 +0900 | [diff] [blame] | 453 | config CRYPTO_GHASH_CLMUL_NI_INTEL |
| 454 | tristate "GHASH digest algorithm (CLMUL-NI accelerated)" |
Huang Ying | 3e02e5c | 2009-10-27 19:07:24 +0800 | [diff] [blame] | 455 | depends on (X86 || UML_X86) && 64BIT |
Huang Ying | 0e1227d | 2009-10-19 11:53:06 +0900 | [diff] [blame] | 456 | select CRYPTO_SHASH |
| 457 | select CRYPTO_CRYPTD |
| 458 | help |
| 459 | GHASH is message digest algorithm for GCM (Galois/Counter Mode). |
| 460 | The implementation is accelerated by CLMUL-NI of Intel. |
| 461 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 462 | comment "Ciphers" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 463 | |
| 464 | config CRYPTO_AES |
| 465 | tristate "AES cipher algorithms" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 466 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 467 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 468 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 469 | algorithm. |
| 470 | |
| 471 | Rijndael appears to be consistently a very good performer in |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 472 | both hardware and software across a wide range of computing |
| 473 | environments regardless of its use in feedback or non-feedback |
| 474 | modes. Its key setup time is excellent, and its key agility is |
| 475 | good. Rijndael's very low memory requirements make it very well |
| 476 | suited for restricted-space environments, in which it also |
| 477 | demonstrates excellent performance. Rijndael's operations are |
| 478 | among the easiest to defend against power and timing attacks. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 479 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 480 | The AES specifies three key sizes: 128, 192 and 256 bits |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 481 | |
| 482 | See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. |
| 483 | |
| 484 | config CRYPTO_AES_586 |
| 485 | tristate "AES cipher algorithms (i586)" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 486 | depends on (X86 || UML_X86) && !64BIT |
| 487 | select CRYPTO_ALGAPI |
Sebastian Siewior | 5157dea | 2007-11-10 19:07:16 +0800 | [diff] [blame] | 488 | select CRYPTO_AES |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 489 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 490 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 491 | algorithm. |
| 492 | |
| 493 | Rijndael appears to be consistently a very good performer in |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 494 | both hardware and software across a wide range of computing |
| 495 | environments regardless of its use in feedback or non-feedback |
| 496 | modes. Its key setup time is excellent, and its key agility is |
| 497 | good. Rijndael's very low memory requirements make it very well |
| 498 | suited for restricted-space environments, in which it also |
| 499 | demonstrates excellent performance. Rijndael's operations are |
| 500 | among the easiest to defend against power and timing attacks. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 501 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 502 | The AES specifies three key sizes: 128, 192 and 256 bits |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 503 | |
| 504 | See <http://csrc.nist.gov/encryption/aes/> for more information. |
| 505 | |
Andreas Steinmetz | a2a892a | 2005-07-06 13:55:00 -0700 | [diff] [blame] | 506 | config CRYPTO_AES_X86_64 |
| 507 | tristate "AES cipher algorithms (x86_64)" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 508 | depends on (X86 || UML_X86) && 64BIT |
| 509 | select CRYPTO_ALGAPI |
Sebastian Siewior | 81190b3 | 2007-11-08 21:25:04 +0800 | [diff] [blame] | 510 | select CRYPTO_AES |
Andreas Steinmetz | a2a892a | 2005-07-06 13:55:00 -0700 | [diff] [blame] | 511 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 512 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
Andreas Steinmetz | a2a892a | 2005-07-06 13:55:00 -0700 | [diff] [blame] | 513 | algorithm. |
| 514 | |
| 515 | Rijndael appears to be consistently a very good performer in |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 516 | both hardware and software across a wide range of computing |
| 517 | environments regardless of its use in feedback or non-feedback |
| 518 | modes. Its key setup time is excellent, and its key agility is |
| 519 | good. Rijndael's very low memory requirements make it very well |
| 520 | suited for restricted-space environments, in which it also |
| 521 | demonstrates excellent performance. Rijndael's operations are |
| 522 | among the easiest to defend against power and timing attacks. |
Andreas Steinmetz | a2a892a | 2005-07-06 13:55:00 -0700 | [diff] [blame] | 523 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 524 | The AES specifies three key sizes: 128, 192 and 256 bits |
Andreas Steinmetz | a2a892a | 2005-07-06 13:55:00 -0700 | [diff] [blame] | 525 | |
| 526 | See <http://csrc.nist.gov/encryption/aes/> for more information. |
| 527 | |
Huang Ying | 54b6a1b | 2009-01-18 16:28:34 +1100 | [diff] [blame] | 528 | config CRYPTO_AES_NI_INTEL |
| 529 | tristate "AES cipher algorithms (AES-NI)" |
| 530 | depends on (X86 || UML_X86) && 64BIT |
| 531 | select CRYPTO_AES_X86_64 |
| 532 | select CRYPTO_CRYPTD |
| 533 | select CRYPTO_ALGAPI |
Huang Ying | 2cf4ac8 | 2009-03-29 15:41:20 +0800 | [diff] [blame] | 534 | select CRYPTO_FPU |
Huang Ying | 54b6a1b | 2009-01-18 16:28:34 +1100 | [diff] [blame] | 535 | help |
| 536 | Use Intel AES-NI instructions for AES algorithm. |
| 537 | |
| 538 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
| 539 | algorithm. |
| 540 | |
| 541 | Rijndael appears to be consistently a very good performer in |
| 542 | both hardware and software across a wide range of computing |
| 543 | environments regardless of its use in feedback or non-feedback |
| 544 | modes. Its key setup time is excellent, and its key agility is |
| 545 | good. Rijndael's very low memory requirements make it very well |
| 546 | suited for restricted-space environments, in which it also |
| 547 | demonstrates excellent performance. Rijndael's operations are |
| 548 | among the easiest to defend against power and timing attacks. |
| 549 | |
| 550 | The AES specifies three key sizes: 128, 192 and 256 bits |
| 551 | |
| 552 | See <http://csrc.nist.gov/encryption/aes/> for more information. |
| 553 | |
Huang Ying | 2cf4ac8 | 2009-03-29 15:41:20 +0800 | [diff] [blame] | 554 | In addition to AES cipher algorithm support, the |
| 555 | acceleration for some popular block cipher mode is supported |
| 556 | too, including ECB, CBC, CTR, LRW, PCBC, XTS. |
| 557 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 558 | config CRYPTO_ANUBIS |
| 559 | tristate "Anubis cipher algorithm" |
| 560 | select CRYPTO_ALGAPI |
| 561 | help |
| 562 | Anubis cipher algorithm. |
| 563 | |
| 564 | Anubis is a variable key length cipher which can use keys from |
| 565 | 128 bits to 320 bits in length. It was evaluated as a entrant |
| 566 | in the NESSIE competition. |
| 567 | |
| 568 | See also: |
| 569 | <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/> |
| 570 | <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html> |
| 571 | |
| 572 | config CRYPTO_ARC4 |
| 573 | tristate "ARC4 cipher algorithm" |
| 574 | select CRYPTO_ALGAPI |
| 575 | help |
| 576 | ARC4 cipher algorithm. |
| 577 | |
| 578 | ARC4 is a stream cipher using keys ranging from 8 bits to 2048 |
| 579 | bits in length. This algorithm is required for driver-based |
| 580 | WEP, but it should not be for other purposes because of the |
| 581 | weakness of the algorithm. |
| 582 | |
| 583 | config CRYPTO_BLOWFISH |
| 584 | tristate "Blowfish cipher algorithm" |
| 585 | select CRYPTO_ALGAPI |
| 586 | help |
| 587 | Blowfish cipher algorithm, by Bruce Schneier. |
| 588 | |
| 589 | This is a variable key length cipher which can use keys from 32 |
| 590 | bits to 448 bits in length. It's fast, simple and specifically |
| 591 | designed for use on "large microprocessors". |
| 592 | |
| 593 | See also: |
| 594 | <http://www.schneier.com/blowfish.html> |
| 595 | |
| 596 | config CRYPTO_CAMELLIA |
| 597 | tristate "Camellia cipher algorithms" |
| 598 | depends on CRYPTO |
| 599 | select CRYPTO_ALGAPI |
| 600 | help |
| 601 | Camellia cipher algorithms module. |
| 602 | |
| 603 | Camellia is a symmetric key block cipher developed jointly |
| 604 | at NTT and Mitsubishi Electric Corporation. |
| 605 | |
| 606 | The Camellia specifies three key sizes: 128, 192 and 256 bits. |
| 607 | |
| 608 | See also: |
| 609 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
| 610 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 611 | config CRYPTO_CAST5 |
| 612 | tristate "CAST5 (CAST-128) cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 613 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 614 | help |
| 615 | The CAST5 encryption algorithm (synonymous with CAST-128) is |
| 616 | described in RFC2144. |
| 617 | |
| 618 | config CRYPTO_CAST6 |
| 619 | tristate "CAST6 (CAST-256) cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 620 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 621 | help |
| 622 | The CAST6 encryption algorithm (synonymous with CAST-256) is |
| 623 | described in RFC2612. |
| 624 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 625 | config CRYPTO_DES |
| 626 | tristate "DES and Triple DES EDE cipher algorithms" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 627 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 628 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 629 | 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] | 630 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 631 | config CRYPTO_FCRYPT |
| 632 | tristate "FCrypt cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 633 | select CRYPTO_ALGAPI |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 634 | select CRYPTO_BLKCIPHER |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 635 | help |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 636 | FCrypt algorithm used by RxRPC. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 637 | |
| 638 | config CRYPTO_KHAZAD |
| 639 | tristate "Khazad cipher algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 640 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 641 | help |
| 642 | Khazad cipher algorithm. |
| 643 | |
| 644 | Khazad was a finalist in the initial NESSIE competition. It is |
| 645 | an algorithm optimized for 64-bit processors with good performance |
| 646 | on 32-bit processors. Khazad uses an 128 bit key size. |
| 647 | |
| 648 | See also: |
| 649 | <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html> |
| 650 | |
Tan Swee Heng | 2407d60 | 2007-11-23 19:45:00 +0800 | [diff] [blame] | 651 | config CRYPTO_SALSA20 |
| 652 | tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)" |
| 653 | depends on EXPERIMENTAL |
| 654 | select CRYPTO_BLKCIPHER |
| 655 | help |
| 656 | Salsa20 stream cipher algorithm. |
| 657 | |
| 658 | Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT |
| 659 | Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> |
| 660 | |
| 661 | The Salsa20 stream cipher algorithm is designed by Daniel J. |
| 662 | Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 663 | |
Tan Swee Heng | 974e4b7 | 2007-12-10 15:52:56 +0800 | [diff] [blame] | 664 | config CRYPTO_SALSA20_586 |
| 665 | tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)" |
| 666 | depends on (X86 || UML_X86) && !64BIT |
| 667 | depends on EXPERIMENTAL |
| 668 | select CRYPTO_BLKCIPHER |
Tan Swee Heng | 974e4b7 | 2007-12-10 15:52:56 +0800 | [diff] [blame] | 669 | help |
| 670 | Salsa20 stream cipher algorithm. |
| 671 | |
| 672 | Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT |
| 673 | Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> |
| 674 | |
| 675 | The Salsa20 stream cipher algorithm is designed by Daniel J. |
| 676 | Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> |
| 677 | |
Tan Swee Heng | 9a7dafb | 2007-12-18 00:04:40 +0800 | [diff] [blame] | 678 | config CRYPTO_SALSA20_X86_64 |
| 679 | tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)" |
| 680 | depends on (X86 || UML_X86) && 64BIT |
| 681 | depends on EXPERIMENTAL |
| 682 | select CRYPTO_BLKCIPHER |
Tan Swee Heng | 9a7dafb | 2007-12-18 00:04:40 +0800 | [diff] [blame] | 683 | help |
| 684 | Salsa20 stream cipher algorithm. |
| 685 | |
| 686 | Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT |
| 687 | Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> |
| 688 | |
| 689 | The Salsa20 stream cipher algorithm is designed by Daniel J. |
| 690 | Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> |
| 691 | |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 692 | config CRYPTO_SEED |
| 693 | tristate "SEED cipher algorithm" |
| 694 | select CRYPTO_ALGAPI |
| 695 | help |
| 696 | SEED cipher algorithm (RFC4269). |
| 697 | |
| 698 | SEED is a 128-bit symmetric key block cipher that has been |
| 699 | developed by KISA (Korea Information Security Agency) as a |
| 700 | national standard encryption algorithm of the Republic of Korea. |
| 701 | It is a 16 round block cipher with the key size of 128 bit. |
| 702 | |
| 703 | See also: |
| 704 | <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> |
| 705 | |
| 706 | config CRYPTO_SERPENT |
| 707 | tristate "Serpent cipher algorithm" |
| 708 | select CRYPTO_ALGAPI |
| 709 | help |
| 710 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
| 711 | |
| 712 | Keys are allowed to be from 0 to 256 bits in length, in steps |
| 713 | of 8 bits. Also includes the 'Tnepres' algorithm, a reversed |
| 714 | variant of Serpent for compatibility with old kerneli.org code. |
| 715 | |
| 716 | See also: |
| 717 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> |
| 718 | |
| 719 | config CRYPTO_TEA |
| 720 | tristate "TEA, XTEA and XETA cipher algorithms" |
| 721 | select CRYPTO_ALGAPI |
| 722 | help |
| 723 | TEA cipher algorithm. |
| 724 | |
| 725 | Tiny Encryption Algorithm is a simple cipher that uses |
| 726 | many rounds for security. It is very fast and uses |
| 727 | little memory. |
| 728 | |
| 729 | Xtendend Tiny Encryption Algorithm is a modification to |
| 730 | the TEA algorithm to address a potential key weakness |
| 731 | in the TEA algorithm. |
| 732 | |
| 733 | Xtendend Encryption Tiny Algorithm is a mis-implementation |
| 734 | of the XTEA algorithm for compatibility purposes. |
| 735 | |
| 736 | config CRYPTO_TWOFISH |
| 737 | tristate "Twofish cipher algorithm" |
| 738 | select CRYPTO_ALGAPI |
| 739 | select CRYPTO_TWOFISH_COMMON |
| 740 | help |
| 741 | Twofish cipher algorithm. |
| 742 | |
| 743 | Twofish was submitted as an AES (Advanced Encryption Standard) |
| 744 | candidate cipher by researchers at CounterPane Systems. It is a |
| 745 | 16 round block cipher supporting key sizes of 128, 192, and 256 |
| 746 | bits. |
| 747 | |
| 748 | See also: |
| 749 | <http://www.schneier.com/twofish.html> |
| 750 | |
| 751 | config CRYPTO_TWOFISH_COMMON |
| 752 | tristate |
| 753 | help |
| 754 | Common parts of the Twofish cipher algorithm shared by the |
| 755 | generic c and the assembler implementations. |
| 756 | |
| 757 | config CRYPTO_TWOFISH_586 |
| 758 | tristate "Twofish cipher algorithms (i586)" |
| 759 | depends on (X86 || UML_X86) && !64BIT |
| 760 | select CRYPTO_ALGAPI |
| 761 | select CRYPTO_TWOFISH_COMMON |
| 762 | help |
| 763 | Twofish cipher algorithm. |
| 764 | |
| 765 | Twofish was submitted as an AES (Advanced Encryption Standard) |
| 766 | candidate cipher by researchers at CounterPane Systems. It is a |
| 767 | 16 round block cipher supporting key sizes of 128, 192, and 256 |
| 768 | bits. |
| 769 | |
| 770 | See also: |
| 771 | <http://www.schneier.com/twofish.html> |
| 772 | |
| 773 | config CRYPTO_TWOFISH_X86_64 |
| 774 | tristate "Twofish cipher algorithm (x86_64)" |
| 775 | depends on (X86 || UML_X86) && 64BIT |
| 776 | select CRYPTO_ALGAPI |
| 777 | select CRYPTO_TWOFISH_COMMON |
| 778 | help |
| 779 | Twofish cipher algorithm (x86_64). |
| 780 | |
| 781 | Twofish was submitted as an AES (Advanced Encryption Standard) |
| 782 | candidate cipher by researchers at CounterPane Systems. It is a |
| 783 | 16 round block cipher supporting key sizes of 128, 192, and 256 |
| 784 | bits. |
| 785 | |
| 786 | See also: |
| 787 | <http://www.schneier.com/twofish.html> |
| 788 | |
| 789 | comment "Compression" |
| 790 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 791 | config CRYPTO_DEFLATE |
| 792 | tristate "Deflate compression algorithm" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 793 | select CRYPTO_ALGAPI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 794 | select ZLIB_INFLATE |
| 795 | select ZLIB_DEFLATE |
| 796 | help |
| 797 | This is the Deflate algorithm (RFC1951), specified for use in |
| 798 | IPSec with the IPCOMP protocol (RFC3173, RFC2394). |
Sebastian Siewior | 584fffc | 2008-04-05 21:04:48 +0800 | [diff] [blame] | 799 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 800 | You will most probably want this if using IPSec. |
| 801 | |
Geert Uytterhoeven | bf68e65 | 2009-03-04 15:15:49 +0800 | [diff] [blame] | 802 | config CRYPTO_ZLIB |
| 803 | tristate "Zlib compression algorithm" |
| 804 | select CRYPTO_PCOMP |
| 805 | select ZLIB_INFLATE |
| 806 | select ZLIB_DEFLATE |
| 807 | select NLATTR |
| 808 | help |
| 809 | This is the zlib algorithm. |
| 810 | |
Zoltan Sogor | 0b77abb | 2007-12-07 16:53:23 +0800 | [diff] [blame] | 811 | config CRYPTO_LZO |
| 812 | tristate "LZO compression algorithm" |
| 813 | select CRYPTO_ALGAPI |
| 814 | select LZO_COMPRESS |
| 815 | select LZO_DECOMPRESS |
| 816 | help |
| 817 | This is the LZO algorithm. |
| 818 | |
Neil Horman | 17f0f4a | 2008-08-14 22:15:52 +1000 | [diff] [blame] | 819 | comment "Random Number Generation" |
| 820 | |
| 821 | config CRYPTO_ANSI_CPRNG |
| 822 | tristate "Pseudo Random Number Generation for Cryptographic modules" |
Neil Horman | 4e4ed83 | 2009-08-20 17:54:16 +1000 | [diff] [blame] | 823 | default m |
Neil Horman | 17f0f4a | 2008-08-14 22:15:52 +1000 | [diff] [blame] | 824 | select CRYPTO_AES |
| 825 | select CRYPTO_RNG |
Neil Horman | 17f0f4a | 2008-08-14 22:15:52 +1000 | [diff] [blame] | 826 | help |
| 827 | This option enables the generic pseudo random number generator |
| 828 | for cryptographic modules. Uses the Algorithm specified in |
Jiri Kosina | 7dd607e | 2010-01-27 01:00:10 +0100 | [diff] [blame] | 829 | ANSI X9.31 A.2.4. Note that this option must be enabled if |
| 830 | CRYPTO_FIPS is selected |
Neil Horman | 17f0f4a | 2008-08-14 22:15:52 +1000 | [diff] [blame] | 831 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 832 | source "drivers/crypto/Kconfig" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 833 | |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 834 | endif # if CRYPTO |