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