11da177e4SLinus Torvalds# 2*685784aaSDan Williams# Generic algorithms support 3*685784aaSDan Williams# 4*685784aaSDan Williamsconfig XOR_BLOCKS 5*685784aaSDan Williams tristate 6*685784aaSDan Williams 7*685784aaSDan Williams# 81da177e4SLinus Torvalds# Cryptographic API Configuration 91da177e4SLinus Torvalds# 101da177e4SLinus Torvalds 111da177e4SLinus Torvaldsmenu "Cryptographic options" 121da177e4SLinus Torvalds 131da177e4SLinus Torvaldsconfig CRYPTO 141da177e4SLinus Torvalds bool "Cryptographic API" 151da177e4SLinus Torvalds help 161da177e4SLinus Torvalds This option provides the core Cryptographic API. 171da177e4SLinus Torvalds 18cce9e06dSHerbert Xuif CRYPTO 19cce9e06dSHerbert Xu 20cce9e06dSHerbert Xuconfig CRYPTO_ALGAPI 21cce9e06dSHerbert Xu tristate 22cce9e06dSHerbert Xu help 23cce9e06dSHerbert Xu This option provides the API for cryptographic algorithms. 24cce9e06dSHerbert Xu 25b5b7f088SHerbert Xuconfig CRYPTO_ABLKCIPHER 26b5b7f088SHerbert Xu tristate 27b5b7f088SHerbert Xu select CRYPTO_BLKCIPHER 28b5b7f088SHerbert Xu 295cde0af2SHerbert Xuconfig CRYPTO_BLKCIPHER 305cde0af2SHerbert Xu tristate 315cde0af2SHerbert Xu select CRYPTO_ALGAPI 325cde0af2SHerbert Xu 33055bcee3SHerbert Xuconfig CRYPTO_HASH 34055bcee3SHerbert Xu tristate 35055bcee3SHerbert Xu select CRYPTO_ALGAPI 36055bcee3SHerbert Xu 372b8c19dbSHerbert Xuconfig CRYPTO_MANAGER 382b8c19dbSHerbert Xu tristate "Cryptographic algorithm manager" 392b8c19dbSHerbert Xu select CRYPTO_ALGAPI 402b8c19dbSHerbert Xu help 412b8c19dbSHerbert Xu Create default cryptographic template instantiations such as 422b8c19dbSHerbert Xu cbc(aes). 432b8c19dbSHerbert Xu 441da177e4SLinus Torvaldsconfig CRYPTO_HMAC 458425165dSHerbert Xu tristate "HMAC support" 460796ae06SHerbert Xu select CRYPTO_HASH 4743518407SHerbert Xu select CRYPTO_MANAGER 481da177e4SLinus Torvalds help 491da177e4SLinus Torvalds HMAC: Keyed-Hashing for Message Authentication (RFC2104). 501da177e4SLinus Torvalds This is required for IPSec. 511da177e4SLinus Torvalds 52333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC 53333b0d7eSKazunori MIYAZAWA tristate "XCBC support" 54333b0d7eSKazunori MIYAZAWA depends on EXPERIMENTAL 55333b0d7eSKazunori MIYAZAWA select CRYPTO_HASH 56333b0d7eSKazunori MIYAZAWA select CRYPTO_MANAGER 57333b0d7eSKazunori MIYAZAWA help 58333b0d7eSKazunori MIYAZAWA XCBC: Keyed-Hashing with encryption algorithm 59333b0d7eSKazunori MIYAZAWA http://www.ietf.org/rfc/rfc3566.txt 60333b0d7eSKazunori MIYAZAWA http://csrc.nist.gov/encryption/modes/proposedmodes/ 61333b0d7eSKazunori MIYAZAWA xcbc-mac/xcbc-mac-spec.pdf 62333b0d7eSKazunori MIYAZAWA 631da177e4SLinus Torvaldsconfig CRYPTO_NULL 641da177e4SLinus Torvalds tristate "Null algorithms" 65cce9e06dSHerbert Xu select CRYPTO_ALGAPI 661da177e4SLinus Torvalds help 671da177e4SLinus Torvalds These are 'Null' algorithms, used by IPsec, which do nothing. 681da177e4SLinus Torvalds 691da177e4SLinus Torvaldsconfig CRYPTO_MD4 701da177e4SLinus Torvalds tristate "MD4 digest algorithm" 71cce9e06dSHerbert Xu select CRYPTO_ALGAPI 721da177e4SLinus Torvalds help 731da177e4SLinus Torvalds MD4 message digest algorithm (RFC1320). 741da177e4SLinus Torvalds 751da177e4SLinus Torvaldsconfig CRYPTO_MD5 761da177e4SLinus Torvalds tristate "MD5 digest algorithm" 77cce9e06dSHerbert Xu select CRYPTO_ALGAPI 781da177e4SLinus Torvalds help 791da177e4SLinus Torvalds MD5 message digest algorithm (RFC1321). 801da177e4SLinus Torvalds 811da177e4SLinus Torvaldsconfig CRYPTO_SHA1 821da177e4SLinus Torvalds tristate "SHA1 digest algorithm" 83cce9e06dSHerbert Xu select CRYPTO_ALGAPI 841da177e4SLinus Torvalds help 851da177e4SLinus Torvalds SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 861da177e4SLinus Torvalds 871da177e4SLinus Torvaldsconfig CRYPTO_SHA256 881da177e4SLinus Torvalds tristate "SHA256 digest algorithm" 89cce9e06dSHerbert Xu select CRYPTO_ALGAPI 901da177e4SLinus Torvalds help 911da177e4SLinus Torvalds SHA256 secure hash standard (DFIPS 180-2). 921da177e4SLinus Torvalds 931da177e4SLinus Torvalds This version of SHA implements a 256 bit hash with 128 bits of 941da177e4SLinus Torvalds security against collision attacks. 951da177e4SLinus Torvalds 961da177e4SLinus Torvaldsconfig CRYPTO_SHA512 971da177e4SLinus Torvalds tristate "SHA384 and SHA512 digest algorithms" 98cce9e06dSHerbert Xu select CRYPTO_ALGAPI 991da177e4SLinus Torvalds help 1001da177e4SLinus Torvalds SHA512 secure hash standard (DFIPS 180-2). 1011da177e4SLinus Torvalds 1021da177e4SLinus Torvalds This version of SHA implements a 512 bit hash with 256 bits of 1031da177e4SLinus Torvalds security against collision attacks. 1041da177e4SLinus Torvalds 1051da177e4SLinus Torvalds This code also includes SHA-384, a 384 bit hash with 192 bits 1061da177e4SLinus Torvalds of security against collision attacks. 1071da177e4SLinus Torvalds 1081da177e4SLinus Torvaldsconfig CRYPTO_WP512 1091da177e4SLinus Torvalds tristate "Whirlpool digest algorithms" 110cce9e06dSHerbert Xu select CRYPTO_ALGAPI 1111da177e4SLinus Torvalds help 1121da177e4SLinus Torvalds Whirlpool hash algorithm 512, 384 and 256-bit hashes 1131da177e4SLinus Torvalds 1141da177e4SLinus Torvalds Whirlpool-512 is part of the NESSIE cryptographic primitives. 1151da177e4SLinus Torvalds Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard 1161da177e4SLinus Torvalds 1171da177e4SLinus Torvalds See also: 1181da177e4SLinus Torvalds <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html> 1191da177e4SLinus Torvalds 1201da177e4SLinus Torvaldsconfig CRYPTO_TGR192 1211da177e4SLinus Torvalds tristate "Tiger digest algorithms" 122cce9e06dSHerbert Xu select CRYPTO_ALGAPI 1231da177e4SLinus Torvalds help 1241da177e4SLinus Torvalds Tiger hash algorithm 192, 160 and 128-bit hashes 1251da177e4SLinus Torvalds 1261da177e4SLinus Torvalds Tiger is a hash function optimized for 64-bit processors while 1271da177e4SLinus Torvalds still having decent performance on 32-bit processors. 1281da177e4SLinus Torvalds Tiger was developed by Ross Anderson and Eli Biham. 1291da177e4SLinus Torvalds 1301da177e4SLinus Torvalds See also: 1311da177e4SLinus Torvalds <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. 1321da177e4SLinus Torvalds 133c494e070SRik Snelconfig CRYPTO_GF128MUL 134c494e070SRik Snel tristate "GF(2^128) multiplication functions (EXPERIMENTAL)" 135c494e070SRik Snel depends on EXPERIMENTAL 136c494e070SRik Snel help 137c494e070SRik Snel Efficient table driven implementation of multiplications in the 138c494e070SRik Snel field GF(2^128). This is needed by some cypher modes. This 139c494e070SRik Snel option will be selected automatically if you select such a 140c494e070SRik Snel cipher mode. Only select this option by hand if you expect to load 141c494e070SRik Snel an external module that requires these functions. 142c494e070SRik Snel 143db131ef9SHerbert Xuconfig CRYPTO_ECB 144db131ef9SHerbert Xu tristate "ECB support" 145db131ef9SHerbert Xu select CRYPTO_BLKCIPHER 14643518407SHerbert Xu select CRYPTO_MANAGER 147db131ef9SHerbert Xu default m 148db131ef9SHerbert Xu help 149db131ef9SHerbert Xu ECB: Electronic CodeBook mode 150db131ef9SHerbert Xu This is the simplest block cipher algorithm. It simply encrypts 151db131ef9SHerbert Xu the input block by block. 152db131ef9SHerbert Xu 153db131ef9SHerbert Xuconfig CRYPTO_CBC 154db131ef9SHerbert Xu tristate "CBC support" 155db131ef9SHerbert Xu select CRYPTO_BLKCIPHER 15643518407SHerbert Xu select CRYPTO_MANAGER 157db131ef9SHerbert Xu default m 158db131ef9SHerbert Xu help 159db131ef9SHerbert Xu CBC: Cipher Block Chaining mode 160db131ef9SHerbert Xu This block cipher algorithm is required for IPSec. 161db131ef9SHerbert Xu 16291652be5SDavid Howellsconfig CRYPTO_PCBC 16391652be5SDavid Howells tristate "PCBC support" 16491652be5SDavid Howells select CRYPTO_BLKCIPHER 16591652be5SDavid Howells select CRYPTO_MANAGER 16691652be5SDavid Howells default m 16791652be5SDavid Howells help 16891652be5SDavid Howells PCBC: Propagating Cipher Block Chaining mode 16991652be5SDavid Howells This block cipher algorithm is required for RxRPC. 17091652be5SDavid Howells 17164470f1bSRik Snelconfig CRYPTO_LRW 17264470f1bSRik Snel tristate "LRW support (EXPERIMENTAL)" 17364470f1bSRik Snel depends on EXPERIMENTAL 17464470f1bSRik Snel select CRYPTO_BLKCIPHER 17564470f1bSRik Snel select CRYPTO_MANAGER 17664470f1bSRik Snel select CRYPTO_GF128MUL 17764470f1bSRik Snel help 17864470f1bSRik Snel LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable 17964470f1bSRik Snel narrow block cipher mode for dm-crypt. Use it with cipher 18064470f1bSRik Snel specification string aes-lrw-benbi, the key must be 256, 320 or 384. 18164470f1bSRik Snel The first 128, 192 or 256 bits in the key are used for AES and the 18264470f1bSRik Snel rest is used to tie each cipher block to its logical position. 18364470f1bSRik Snel 184124b53d0SHerbert Xuconfig CRYPTO_CRYPTD 185124b53d0SHerbert Xu tristate "Software async crypto daemon" 186124b53d0SHerbert Xu select CRYPTO_ABLKCIPHER 187124b53d0SHerbert Xu select CRYPTO_MANAGER 188124b53d0SHerbert Xu help 189124b53d0SHerbert Xu This is a generic software asynchronous crypto daemon that 190124b53d0SHerbert Xu converts an arbitrary synchronous software crypto algorithm 191124b53d0SHerbert Xu into an asynchronous algorithm that executes in a kernel thread. 192124b53d0SHerbert Xu 1931da177e4SLinus Torvaldsconfig CRYPTO_DES 1941da177e4SLinus Torvalds tristate "DES and Triple DES EDE cipher algorithms" 195cce9e06dSHerbert Xu select CRYPTO_ALGAPI 1961da177e4SLinus Torvalds help 1971da177e4SLinus Torvalds DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 1981da177e4SLinus Torvalds 19990831639SDavid Howellsconfig CRYPTO_FCRYPT 20090831639SDavid Howells tristate "FCrypt cipher algorithm" 20190831639SDavid Howells select CRYPTO_ALGAPI 20290831639SDavid Howells select CRYPTO_BLKCIPHER 20390831639SDavid Howells help 20490831639SDavid Howells FCrypt algorithm used by RxRPC. 20590831639SDavid Howells 2061da177e4SLinus Torvaldsconfig CRYPTO_BLOWFISH 2071da177e4SLinus Torvalds tristate "Blowfish cipher algorithm" 208cce9e06dSHerbert Xu select CRYPTO_ALGAPI 2091da177e4SLinus Torvalds help 2101da177e4SLinus Torvalds Blowfish cipher algorithm, by Bruce Schneier. 2111da177e4SLinus Torvalds 2121da177e4SLinus Torvalds This is a variable key length cipher which can use keys from 32 2131da177e4SLinus Torvalds bits to 448 bits in length. It's fast, simple and specifically 2141da177e4SLinus Torvalds designed for use on "large microprocessors". 2151da177e4SLinus Torvalds 2161da177e4SLinus Torvalds See also: 2171da177e4SLinus Torvalds <http://www.schneier.com/blowfish.html> 2181da177e4SLinus Torvalds 2191da177e4SLinus Torvaldsconfig CRYPTO_TWOFISH 2201da177e4SLinus Torvalds tristate "Twofish cipher algorithm" 221cce9e06dSHerbert Xu select CRYPTO_ALGAPI 2222729bb42SJoachim Fritschi select CRYPTO_TWOFISH_COMMON 2231da177e4SLinus Torvalds help 2241da177e4SLinus Torvalds Twofish cipher algorithm. 2251da177e4SLinus Torvalds 2261da177e4SLinus Torvalds Twofish was submitted as an AES (Advanced Encryption Standard) 2271da177e4SLinus Torvalds candidate cipher by researchers at CounterPane Systems. It is a 2281da177e4SLinus Torvalds 16 round block cipher supporting key sizes of 128, 192, and 256 2291da177e4SLinus Torvalds bits. 2301da177e4SLinus Torvalds 2311da177e4SLinus Torvalds See also: 2321da177e4SLinus Torvalds <http://www.schneier.com/twofish.html> 2331da177e4SLinus Torvalds 2342729bb42SJoachim Fritschiconfig CRYPTO_TWOFISH_COMMON 2352729bb42SJoachim Fritschi tristate 2362729bb42SJoachim Fritschi help 2372729bb42SJoachim Fritschi Common parts of the Twofish cipher algorithm shared by the 2382729bb42SJoachim Fritschi generic c and the assembler implementations. 2392729bb42SJoachim Fritschi 240b9f535ffSJoachim Fritschiconfig CRYPTO_TWOFISH_586 241b9f535ffSJoachim Fritschi tristate "Twofish cipher algorithms (i586)" 242cce9e06dSHerbert Xu depends on (X86 || UML_X86) && !64BIT 243cce9e06dSHerbert Xu select CRYPTO_ALGAPI 244b9f535ffSJoachim Fritschi select CRYPTO_TWOFISH_COMMON 245b9f535ffSJoachim Fritschi help 246b9f535ffSJoachim Fritschi Twofish cipher algorithm. 247b9f535ffSJoachim Fritschi 248b9f535ffSJoachim Fritschi Twofish was submitted as an AES (Advanced Encryption Standard) 249b9f535ffSJoachim Fritschi candidate cipher by researchers at CounterPane Systems. It is a 250b9f535ffSJoachim Fritschi 16 round block cipher supporting key sizes of 128, 192, and 256 251b9f535ffSJoachim Fritschi bits. 252b9f535ffSJoachim Fritschi 253b9f535ffSJoachim Fritschi See also: 254b9f535ffSJoachim Fritschi <http://www.schneier.com/twofish.html> 255b9f535ffSJoachim Fritschi 256eaf44088SJoachim Fritschiconfig CRYPTO_TWOFISH_X86_64 257eaf44088SJoachim Fritschi tristate "Twofish cipher algorithm (x86_64)" 258cce9e06dSHerbert Xu depends on (X86 || UML_X86) && 64BIT 259cce9e06dSHerbert Xu select CRYPTO_ALGAPI 260eaf44088SJoachim Fritschi select CRYPTO_TWOFISH_COMMON 261eaf44088SJoachim Fritschi help 262eaf44088SJoachim Fritschi Twofish cipher algorithm (x86_64). 263eaf44088SJoachim Fritschi 264eaf44088SJoachim Fritschi Twofish was submitted as an AES (Advanced Encryption Standard) 265eaf44088SJoachim Fritschi candidate cipher by researchers at CounterPane Systems. It is a 266eaf44088SJoachim Fritschi 16 round block cipher supporting key sizes of 128, 192, and 256 267eaf44088SJoachim Fritschi bits. 268eaf44088SJoachim Fritschi 269eaf44088SJoachim Fritschi See also: 270eaf44088SJoachim Fritschi <http://www.schneier.com/twofish.html> 271eaf44088SJoachim Fritschi 2721da177e4SLinus Torvaldsconfig CRYPTO_SERPENT 2731da177e4SLinus Torvalds tristate "Serpent cipher algorithm" 274cce9e06dSHerbert Xu select CRYPTO_ALGAPI 2751da177e4SLinus Torvalds help 2761da177e4SLinus Torvalds Serpent cipher algorithm, by Anderson, Biham & Knudsen. 2771da177e4SLinus Torvalds 2781da177e4SLinus Torvalds Keys are allowed to be from 0 to 256 bits in length, in steps 2791da177e4SLinus Torvalds of 8 bits. Also includes the 'Tnepres' algorithm, a reversed 2803dde6ad8SDavid Sterba variant of Serpent for compatibility with old kerneli.org code. 2811da177e4SLinus Torvalds 2821da177e4SLinus Torvalds See also: 2831da177e4SLinus Torvalds <http://www.cl.cam.ac.uk/~rja14/serpent.html> 2841da177e4SLinus Torvalds 2851da177e4SLinus Torvaldsconfig CRYPTO_AES 2861da177e4SLinus Torvalds tristate "AES cipher algorithms" 287cce9e06dSHerbert Xu select CRYPTO_ALGAPI 2881da177e4SLinus Torvalds help 2891da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 2901da177e4SLinus Torvalds algorithm. 2911da177e4SLinus Torvalds 2921da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 2931da177e4SLinus Torvalds both hardware and software across a wide range of computing 2941da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 2951da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 2961da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 2971da177e4SLinus Torvalds suited for restricted-space environments, in which it also 2981da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 2991da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 3001da177e4SLinus Torvalds 3011da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 3021da177e4SLinus Torvalds 3031da177e4SLinus Torvalds See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. 3041da177e4SLinus Torvalds 3051da177e4SLinus Torvaldsconfig CRYPTO_AES_586 3061da177e4SLinus Torvalds tristate "AES cipher algorithms (i586)" 307cce9e06dSHerbert Xu depends on (X86 || UML_X86) && !64BIT 308cce9e06dSHerbert Xu select CRYPTO_ALGAPI 3091da177e4SLinus Torvalds help 3101da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 3111da177e4SLinus Torvalds algorithm. 3121da177e4SLinus Torvalds 3131da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 3141da177e4SLinus Torvalds both hardware and software across a wide range of computing 3151da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 3161da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 3171da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 3181da177e4SLinus Torvalds suited for restricted-space environments, in which it also 3191da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 3201da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 3211da177e4SLinus Torvalds 3221da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 3231da177e4SLinus Torvalds 3241da177e4SLinus Torvalds See <http://csrc.nist.gov/encryption/aes/> for more information. 3251da177e4SLinus Torvalds 326a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64 327a2a892a2SAndreas Steinmetz tristate "AES cipher algorithms (x86_64)" 328cce9e06dSHerbert Xu depends on (X86 || UML_X86) && 64BIT 329cce9e06dSHerbert Xu select CRYPTO_ALGAPI 330a2a892a2SAndreas Steinmetz help 331a2a892a2SAndreas Steinmetz AES cipher algorithms (FIPS-197). AES uses the Rijndael 332a2a892a2SAndreas Steinmetz algorithm. 333a2a892a2SAndreas Steinmetz 334a2a892a2SAndreas Steinmetz Rijndael appears to be consistently a very good performer in 335a2a892a2SAndreas Steinmetz both hardware and software across a wide range of computing 336a2a892a2SAndreas Steinmetz environments regardless of its use in feedback or non-feedback 337a2a892a2SAndreas Steinmetz modes. Its key setup time is excellent, and its key agility is 338a2a892a2SAndreas Steinmetz good. Rijndael's very low memory requirements make it very well 339a2a892a2SAndreas Steinmetz suited for restricted-space environments, in which it also 340a2a892a2SAndreas Steinmetz demonstrates excellent performance. Rijndael's operations are 341a2a892a2SAndreas Steinmetz among the easiest to defend against power and timing attacks. 342a2a892a2SAndreas Steinmetz 343a2a892a2SAndreas Steinmetz The AES specifies three key sizes: 128, 192 and 256 bits 344a2a892a2SAndreas Steinmetz 345a2a892a2SAndreas Steinmetz See <http://csrc.nist.gov/encryption/aes/> for more information. 346a2a892a2SAndreas Steinmetz 3471da177e4SLinus Torvaldsconfig CRYPTO_CAST5 3481da177e4SLinus Torvalds tristate "CAST5 (CAST-128) cipher algorithm" 349cce9e06dSHerbert Xu select CRYPTO_ALGAPI 3501da177e4SLinus Torvalds help 3511da177e4SLinus Torvalds The CAST5 encryption algorithm (synonymous with CAST-128) is 3521da177e4SLinus Torvalds described in RFC2144. 3531da177e4SLinus Torvalds 3541da177e4SLinus Torvaldsconfig CRYPTO_CAST6 3551da177e4SLinus Torvalds tristate "CAST6 (CAST-256) cipher algorithm" 356cce9e06dSHerbert Xu select CRYPTO_ALGAPI 3571da177e4SLinus Torvalds help 3581da177e4SLinus Torvalds The CAST6 encryption algorithm (synonymous with CAST-256) is 3591da177e4SLinus Torvalds described in RFC2612. 3601da177e4SLinus Torvalds 3611da177e4SLinus Torvaldsconfig CRYPTO_TEA 362fb4f10edSAaron Grothe tristate "TEA, XTEA and XETA cipher algorithms" 363cce9e06dSHerbert Xu select CRYPTO_ALGAPI 3641da177e4SLinus Torvalds help 3651da177e4SLinus Torvalds TEA cipher algorithm. 3661da177e4SLinus Torvalds 3671da177e4SLinus Torvalds Tiny Encryption Algorithm is a simple cipher that uses 3681da177e4SLinus Torvalds many rounds for security. It is very fast and uses 3691da177e4SLinus Torvalds little memory. 3701da177e4SLinus Torvalds 3711da177e4SLinus Torvalds Xtendend Tiny Encryption Algorithm is a modification to 3721da177e4SLinus Torvalds the TEA algorithm to address a potential key weakness 3731da177e4SLinus Torvalds in the TEA algorithm. 3741da177e4SLinus Torvalds 375fb4f10edSAaron Grothe Xtendend Encryption Tiny Algorithm is a mis-implementation 376fb4f10edSAaron Grothe of the XTEA algorithm for compatibility purposes. 377fb4f10edSAaron Grothe 3781da177e4SLinus Torvaldsconfig CRYPTO_ARC4 3791da177e4SLinus Torvalds tristate "ARC4 cipher algorithm" 380cce9e06dSHerbert Xu select CRYPTO_ALGAPI 3811da177e4SLinus Torvalds help 3821da177e4SLinus Torvalds ARC4 cipher algorithm. 3831da177e4SLinus Torvalds 3841da177e4SLinus Torvalds ARC4 is a stream cipher using keys ranging from 8 bits to 2048 3851da177e4SLinus Torvalds bits in length. This algorithm is required for driver-based 3861da177e4SLinus Torvalds WEP, but it should not be for other purposes because of the 3871da177e4SLinus Torvalds weakness of the algorithm. 3881da177e4SLinus Torvalds 3891da177e4SLinus Torvaldsconfig CRYPTO_KHAZAD 3901da177e4SLinus Torvalds tristate "Khazad cipher algorithm" 391cce9e06dSHerbert Xu select CRYPTO_ALGAPI 3921da177e4SLinus Torvalds help 3931da177e4SLinus Torvalds Khazad cipher algorithm. 3941da177e4SLinus Torvalds 3951da177e4SLinus Torvalds Khazad was a finalist in the initial NESSIE competition. It is 3961da177e4SLinus Torvalds an algorithm optimized for 64-bit processors with good performance 3971da177e4SLinus Torvalds on 32-bit processors. Khazad uses an 128 bit key size. 3981da177e4SLinus Torvalds 3991da177e4SLinus Torvalds See also: 4001da177e4SLinus Torvalds <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html> 4011da177e4SLinus Torvalds 4021da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS 4031da177e4SLinus Torvalds tristate "Anubis cipher algorithm" 404cce9e06dSHerbert Xu select CRYPTO_ALGAPI 4051da177e4SLinus Torvalds help 4061da177e4SLinus Torvalds Anubis cipher algorithm. 4071da177e4SLinus Torvalds 4081da177e4SLinus Torvalds Anubis is a variable key length cipher which can use keys from 4091da177e4SLinus Torvalds 128 bits to 320 bits in length. It was evaluated as a entrant 4101da177e4SLinus Torvalds in the NESSIE competition. 4111da177e4SLinus Torvalds 4121da177e4SLinus Torvalds See also: 4131da177e4SLinus Torvalds <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/> 4141da177e4SLinus Torvalds <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html> 4151da177e4SLinus Torvalds 4161da177e4SLinus Torvalds 4171da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE 4181da177e4SLinus Torvalds tristate "Deflate compression algorithm" 419cce9e06dSHerbert Xu select CRYPTO_ALGAPI 4201da177e4SLinus Torvalds select ZLIB_INFLATE 4211da177e4SLinus Torvalds select ZLIB_DEFLATE 4221da177e4SLinus Torvalds help 4231da177e4SLinus Torvalds This is the Deflate algorithm (RFC1951), specified for use in 4241da177e4SLinus Torvalds IPSec with the IPCOMP protocol (RFC3173, RFC2394). 4251da177e4SLinus Torvalds 4261da177e4SLinus Torvalds You will most probably want this if using IPSec. 4271da177e4SLinus Torvalds 4281da177e4SLinus Torvaldsconfig CRYPTO_MICHAEL_MIC 4291da177e4SLinus Torvalds tristate "Michael MIC keyed digest algorithm" 430cce9e06dSHerbert Xu select CRYPTO_ALGAPI 4311da177e4SLinus Torvalds help 4321da177e4SLinus Torvalds Michael MIC is used for message integrity protection in TKIP 4331da177e4SLinus Torvalds (IEEE 802.11i). This algorithm is required for TKIP, but it 4341da177e4SLinus Torvalds should not be used for other purposes because of the weakness 4351da177e4SLinus Torvalds of the algorithm. 4361da177e4SLinus Torvalds 4371da177e4SLinus Torvaldsconfig CRYPTO_CRC32C 4381da177e4SLinus Torvalds tristate "CRC32c CRC algorithm" 439cce9e06dSHerbert Xu select CRYPTO_ALGAPI 4401da177e4SLinus Torvalds select LIBCRC32C 4411da177e4SLinus Torvalds help 4421da177e4SLinus Torvalds Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used 4431da177e4SLinus Torvalds by iSCSI for header and data digests and by others. 4441da177e4SLinus Torvalds See Castagnoli93. This implementation uses lib/libcrc32c. 4451da177e4SLinus Torvalds Module will be crc32c. 4461da177e4SLinus Torvalds 44704ac7db3SNoriaki TAKAMIYAconfig CRYPTO_CAMELLIA 44804ac7db3SNoriaki TAKAMIYA tristate "Camellia cipher algorithms" 44904ac7db3SNoriaki TAKAMIYA depends on CRYPTO 45004ac7db3SNoriaki TAKAMIYA select CRYPTO_ALGAPI 45104ac7db3SNoriaki TAKAMIYA help 45204ac7db3SNoriaki TAKAMIYA Camellia cipher algorithms module. 45304ac7db3SNoriaki TAKAMIYA 45404ac7db3SNoriaki TAKAMIYA Camellia is a symmetric key block cipher developed jointly 45504ac7db3SNoriaki TAKAMIYA at NTT and Mitsubishi Electric Corporation. 45604ac7db3SNoriaki TAKAMIYA 45704ac7db3SNoriaki TAKAMIYA The Camellia specifies three key sizes: 128, 192 and 256 bits. 45804ac7db3SNoriaki TAKAMIYA 45904ac7db3SNoriaki TAKAMIYA See also: 46004ac7db3SNoriaki TAKAMIYA <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 46104ac7db3SNoriaki TAKAMIYA 4621da177e4SLinus Torvaldsconfig CRYPTO_TEST 4631da177e4SLinus Torvalds tristate "Testing module" 464cce9e06dSHerbert Xu depends on m 465cce9e06dSHerbert Xu select CRYPTO_ALGAPI 4661da177e4SLinus Torvalds help 4671da177e4SLinus Torvalds Quick & dirty crypto test module. 4681da177e4SLinus Torvalds 4691da177e4SLinus Torvaldssource "drivers/crypto/Kconfig" 4701da177e4SLinus Torvalds 471cce9e06dSHerbert Xuendif # if CRYPTO 472cce9e06dSHerbert Xu 473cce9e06dSHerbert Xuendmenu 474