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