1# 2# Cryptographic API Configuration 3# 4 5menu "Cryptographic options" 6 7config CRYPTO 8 bool "Cryptographic API" 9 help 10 This option provides the core Cryptographic API. 11 12config CRYPTO_HMAC 13 bool "HMAC support" 14 depends on CRYPTO 15 help 16 HMAC: Keyed-Hashing for Message Authentication (RFC2104). 17 This is required for IPSec. 18 19config CRYPTO_NULL 20 tristate "Null algorithms" 21 depends on CRYPTO 22 help 23 These are 'Null' algorithms, used by IPsec, which do nothing. 24 25config CRYPTO_MD4 26 tristate "MD4 digest algorithm" 27 depends on CRYPTO 28 help 29 MD4 message digest algorithm (RFC1320). 30 31config CRYPTO_MD5 32 tristate "MD5 digest algorithm" 33 depends on CRYPTO 34 help 35 MD5 message digest algorithm (RFC1321). 36 37config CRYPTO_SHA1 38 tristate "SHA1 digest algorithm" 39 depends on CRYPTO 40 help 41 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 42 43config CRYPTO_SHA1_Z990 44 tristate "SHA1 digest algorithm for IBM zSeries z990" 45 depends on CRYPTO && ARCH_S390 46 help 47 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 48 49config CRYPTO_SHA256 50 tristate "SHA256 digest algorithm" 51 depends on CRYPTO 52 help 53 SHA256 secure hash standard (DFIPS 180-2). 54 55 This version of SHA implements a 256 bit hash with 128 bits of 56 security against collision attacks. 57 58config CRYPTO_SHA512 59 tristate "SHA384 and SHA512 digest algorithms" 60 depends on CRYPTO 61 help 62 SHA512 secure hash standard (DFIPS 180-2). 63 64 This version of SHA implements a 512 bit hash with 256 bits of 65 security against collision attacks. 66 67 This code also includes SHA-384, a 384 bit hash with 192 bits 68 of security against collision attacks. 69 70config CRYPTO_WP512 71 tristate "Whirlpool digest algorithms" 72 depends on CRYPTO 73 help 74 Whirlpool hash algorithm 512, 384 and 256-bit hashes 75 76 Whirlpool-512 is part of the NESSIE cryptographic primtives. 77 Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard 78 79 See also: 80 http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html 81 82config CRYPTO_DES 83 tristate "DES and Triple DES EDE cipher algorithms" 84 depends on CRYPTO 85 help 86 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 87 88config CRYPTO_DES_Z990 89 tristate "DES and Triple DES cipher algorithms for IBM zSeries z990" 90 depends on CRYPTO && ARCH_S390 91 help 92 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 93 94config CRYPTO_BLOWFISH 95 tristate "Blowfish cipher algorithm" 96 depends on CRYPTO 97 help 98 Blowfish cipher algorithm, by Bruce Schneier. 99 100 This is a variable key length cipher which can use keys from 32 101 bits to 448 bits in length. It's fast, simple and specifically 102 designed for use on "large microprocessors". 103 104 See also: 105 http://www.schneier.com/blowfish.html 106 107config CRYPTO_TWOFISH 108 tristate "Twofish cipher algorithm" 109 depends on CRYPTO 110 help 111 Twofish cipher algorithm. 112 113 Twofish was submitted as an AES (Advanced Encryption Standard) 114 candidate cipher by researchers at CounterPane Systems. It is a 115 16 round block cipher supporting key sizes of 128, 192, and 256 116 bits. 117 118 See also: 119 http://www.schneier.com/twofish.html 120 121config CRYPTO_SERPENT 122 tristate "Serpent cipher algorithm" 123 depends on CRYPTO 124 help 125 Serpent cipher algorithm, by Anderson, Biham & Knudsen. 126 127 Keys are allowed to be from 0 to 256 bits in length, in steps 128 of 8 bits. 129 130 See also: 131 http://www.cl.cam.ac.uk/~rja14/serpent.html 132 133config CRYPTO_AES 134 tristate "AES cipher algorithms" 135 depends on CRYPTO && !(X86 && !X86_64) 136 help 137 AES cipher algorithms (FIPS-197). AES uses the Rijndael 138 algorithm. 139 140 Rijndael appears to be consistently a very good performer in 141 both hardware and software across a wide range of computing 142 environments regardless of its use in feedback or non-feedback 143 modes. Its key setup time is excellent, and its key agility is 144 good. Rijndael's very low memory requirements make it very well 145 suited for restricted-space environments, in which it also 146 demonstrates excellent performance. Rijndael's operations are 147 among the easiest to defend against power and timing attacks. 148 149 The AES specifies three key sizes: 128, 192 and 256 bits 150 151 See http://csrc.nist.gov/CryptoToolkit/aes/ for more information. 152 153config CRYPTO_AES_586 154 tristate "AES cipher algorithms (i586)" 155 depends on CRYPTO && (X86 && !X86_64) 156 help 157 AES cipher algorithms (FIPS-197). AES uses the Rijndael 158 algorithm. 159 160 Rijndael appears to be consistently a very good performer in 161 both hardware and software across a wide range of computing 162 environments regardless of its use in feedback or non-feedback 163 modes. Its key setup time is excellent, and its key agility is 164 good. Rijndael's very low memory requirements make it very well 165 suited for restricted-space environments, in which it also 166 demonstrates excellent performance. Rijndael's operations are 167 among the easiest to defend against power and timing attacks. 168 169 The AES specifies three key sizes: 128, 192 and 256 bits 170 171 See http://csrc.nist.gov/encryption/aes/ for more information. 172 173config CRYPTO_CAST5 174 tristate "CAST5 (CAST-128) cipher algorithm" 175 depends on CRYPTO 176 help 177 The CAST5 encryption algorithm (synonymous with CAST-128) is 178 described in RFC2144. 179 180config CRYPTO_CAST6 181 tristate "CAST6 (CAST-256) cipher algorithm" 182 depends on CRYPTO 183 help 184 The CAST6 encryption algorithm (synonymous with CAST-256) is 185 described in RFC2612. 186 187config CRYPTO_TEA 188 tristate "TEA and XTEA cipher algorithms" 189 depends on CRYPTO 190 help 191 TEA cipher algorithm. 192 193 Tiny Encryption Algorithm is a simple cipher that uses 194 many rounds for security. It is very fast and uses 195 little memory. 196 197 Xtendend Tiny Encryption Algorithm is a modification to 198 the TEA algorithm to address a potential key weakness 199 in the TEA algorithm. 200 201config CRYPTO_ARC4 202 tristate "ARC4 cipher algorithm" 203 depends on CRYPTO 204 help 205 ARC4 cipher algorithm. 206 207 ARC4 is a stream cipher using keys ranging from 8 bits to 2048 208 bits in length. This algorithm is required for driver-based 209 WEP, but it should not be for other purposes because of the 210 weakness of the algorithm. 211 212config CRYPTO_KHAZAD 213 tristate "Khazad cipher algorithm" 214 depends on CRYPTO 215 help 216 Khazad cipher algorithm. 217 218 Khazad was a finalist in the initial NESSIE competition. It is 219 an algorithm optimized for 64-bit processors with good performance 220 on 32-bit processors. Khazad uses an 128 bit key size. 221 222 See also: 223 http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html 224 225config CRYPTO_DEFLATE 226 tristate "Deflate compression algorithm" 227 depends on CRYPTO 228 select ZLIB_INFLATE 229 select ZLIB_DEFLATE 230 help 231 This is the Deflate algorithm (RFC1951), specified for use in 232 IPSec with the IPCOMP protocol (RFC3173, RFC2394). 233 234 You will most probably want this if using IPSec. 235 236config CRYPTO_MICHAEL_MIC 237 tristate "Michael MIC keyed digest algorithm" 238 depends on CRYPTO 239 help 240 Michael MIC is used for message integrity protection in TKIP 241 (IEEE 802.11i). This algorithm is required for TKIP, but it 242 should not be used for other purposes because of the weakness 243 of the algorithm. 244 245config CRYPTO_CRC32C 246 tristate "CRC32c CRC algorithm" 247 depends on CRYPTO 248 select LIBCRC32C 249 help 250 Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used 251 by iSCSI for header and data digests and by others. 252 See Castagnoli93. This implementation uses lib/libcrc32c. 253 Module will be crc32c. 254 255config CRYPTO_TEST 256 tristate "Testing module" 257 depends on CRYPTO 258 help 259 Quick & dirty crypto test module. 260 261config CRYPTO_SIGNATURE 262 bool "In-kernel signature checker (EXPERIMENTAL)" 263 depends on CRYPTO 264 help 265 Signature checker (used for module sig checking). 266 267config CRYPTO_SIGNATURE_DSA 268 bool "Handle DSA signatures (EXPERIMENTAL)" 269 depends on CRYPTO_SIGNATURE 270 select CRYPTO_MPILIB 271 help 272 DSA Signature checker. 273 274config CRYPTO_MPILIB 275 bool "Multiprecision maths library (EXPERIMENTAL)" 276 depends on CRYPTO 277 help 278 Multiprecision maths library from GnuPG 279 280 281endmenu 282 283

