11da177e4SLinus Torvalds# 2685784aaSDan Williams# Generic algorithms support 3685784aaSDan Williams# 4685784aaSDan Williamsconfig XOR_BLOCKS 5685784aaSDan Williams tristate 6685784aaSDan Williams 7685784aaSDan Williams# 89bc89cd8SDan Williams# async_tx api: hardware offloaded memory transfer/transform support 99bc89cd8SDan Williams# 109bc89cd8SDan Williamssource "crypto/async_tx/Kconfig" 119bc89cd8SDan Williams 129bc89cd8SDan Williams# 131da177e4SLinus Torvalds# Cryptographic API Configuration 141da177e4SLinus Torvalds# 152e290f43SJan Engelhardtmenuconfig CRYPTO 16c3715cb9SSebastian Siewior tristate "Cryptographic API" 171da177e4SLinus Torvalds help 181da177e4SLinus Torvalds This option provides the core Cryptographic API. 191da177e4SLinus Torvalds 20cce9e06dSHerbert Xuif CRYPTO 21cce9e06dSHerbert Xu 22584fffc8SSebastian Siewiorcomment "Crypto core or helper" 23584fffc8SSebastian Siewior 24ccb778e1SNeil Hormanconfig CRYPTO_FIPS 25ccb778e1SNeil Horman bool "FIPS 200 compliance" 26ccb778e1SNeil Horman help 27ccb778e1SNeil Horman This options enables the fips boot option which is 28ccb778e1SNeil Horman required if you want to system to operate in a FIPS 200 29ccb778e1SNeil Horman certification. You should say no unless you know what 30ccb778e1SNeil Horman this is. 31ccb778e1SNeil Horman 32cce9e06dSHerbert Xuconfig CRYPTO_ALGAPI 33cce9e06dSHerbert Xu tristate 346a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 35cce9e06dSHerbert Xu help 36cce9e06dSHerbert Xu This option provides the API for cryptographic algorithms. 37cce9e06dSHerbert Xu 386a0fcbb4SHerbert Xuconfig CRYPTO_ALGAPI2 396a0fcbb4SHerbert Xu tristate 406a0fcbb4SHerbert Xu 411ae97820SHerbert Xuconfig CRYPTO_AEAD 421ae97820SHerbert Xu tristate 436a0fcbb4SHerbert Xu select CRYPTO_AEAD2 441ae97820SHerbert Xu select CRYPTO_ALGAPI 451ae97820SHerbert Xu 466a0fcbb4SHerbert Xuconfig CRYPTO_AEAD2 476a0fcbb4SHerbert Xu tristate 486a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 496a0fcbb4SHerbert Xu 505cde0af2SHerbert Xuconfig CRYPTO_BLKCIPHER 515cde0af2SHerbert Xu tristate 526a0fcbb4SHerbert Xu select CRYPTO_BLKCIPHER2 535cde0af2SHerbert Xu select CRYPTO_ALGAPI 546a0fcbb4SHerbert Xu 556a0fcbb4SHerbert Xuconfig CRYPTO_BLKCIPHER2 566a0fcbb4SHerbert Xu tristate 576a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 586a0fcbb4SHerbert Xu select CRYPTO_RNG2 590a2e821dSHuang Ying select CRYPTO_WORKQUEUE 605cde0af2SHerbert Xu 61055bcee3SHerbert Xuconfig CRYPTO_HASH 62055bcee3SHerbert Xu tristate 636a0fcbb4SHerbert Xu select CRYPTO_HASH2 64055bcee3SHerbert Xu select CRYPTO_ALGAPI 65055bcee3SHerbert Xu 666a0fcbb4SHerbert Xuconfig CRYPTO_HASH2 676a0fcbb4SHerbert Xu tristate 686a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 696a0fcbb4SHerbert Xu 7017f0f4a4SNeil Hormanconfig CRYPTO_RNG 7117f0f4a4SNeil Horman tristate 726a0fcbb4SHerbert Xu select CRYPTO_RNG2 7317f0f4a4SNeil Horman select CRYPTO_ALGAPI 7417f0f4a4SNeil Horman 756a0fcbb4SHerbert Xuconfig CRYPTO_RNG2 766a0fcbb4SHerbert Xu tristate 776a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 786a0fcbb4SHerbert Xu 79*a1d2f095SGeert Uytterhoevenconfig CRYPTO_PCOMP 80*a1d2f095SGeert Uytterhoeven tristate 81*a1d2f095SGeert Uytterhoeven select CRYPTO_ALGAPI2 82*a1d2f095SGeert Uytterhoeven 832b8c19dbSHerbert Xuconfig CRYPTO_MANAGER 842b8c19dbSHerbert Xu tristate "Cryptographic algorithm manager" 856a0fcbb4SHerbert Xu select CRYPTO_MANAGER2 862b8c19dbSHerbert Xu help 872b8c19dbSHerbert Xu Create default cryptographic template instantiations such as 882b8c19dbSHerbert Xu cbc(aes). 892b8c19dbSHerbert Xu 906a0fcbb4SHerbert Xuconfig CRYPTO_MANAGER2 916a0fcbb4SHerbert Xu def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) 926a0fcbb4SHerbert Xu select CRYPTO_AEAD2 936a0fcbb4SHerbert Xu select CRYPTO_HASH2 946a0fcbb4SHerbert Xu select CRYPTO_BLKCIPHER2 956a0fcbb4SHerbert Xu 96584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL 97584fffc8SSebastian Siewior tristate "GF(2^128) multiplication functions (EXPERIMENTAL)" 98584fffc8SSebastian Siewior depends on EXPERIMENTAL 99584fffc8SSebastian Siewior help 100584fffc8SSebastian Siewior Efficient table driven implementation of multiplications in the 101584fffc8SSebastian Siewior field GF(2^128). This is needed by some cypher modes. This 102584fffc8SSebastian Siewior option will be selected automatically if you select such a 103584fffc8SSebastian Siewior cipher mode. Only select this option by hand if you expect to load 104584fffc8SSebastian Siewior an external module that requires these functions. 105584fffc8SSebastian Siewior 106584fffc8SSebastian Siewiorconfig CRYPTO_NULL 107584fffc8SSebastian Siewior tristate "Null algorithms" 108584fffc8SSebastian Siewior select CRYPTO_ALGAPI 109584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 110d35d2454SHerbert Xu select CRYPTO_HASH 111584fffc8SSebastian Siewior help 112584fffc8SSebastian Siewior These are 'Null' algorithms, used by IPsec, which do nothing. 113584fffc8SSebastian Siewior 11425c38d3fSHuang Yingconfig CRYPTO_WORKQUEUE 11525c38d3fSHuang Ying tristate 11625c38d3fSHuang Ying 117584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD 118584fffc8SSebastian Siewior tristate "Software async crypto daemon" 119584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 120b8a28251SLoc Ho select CRYPTO_HASH 121584fffc8SSebastian Siewior select CRYPTO_MANAGER 122254eff77SHuang Ying select CRYPTO_WORKQUEUE 123584fffc8SSebastian Siewior help 124584fffc8SSebastian Siewior This is a generic software asynchronous crypto daemon that 125584fffc8SSebastian Siewior converts an arbitrary synchronous software crypto algorithm 126584fffc8SSebastian Siewior into an asynchronous algorithm that executes in a kernel thread. 127584fffc8SSebastian Siewior 128584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC 129584fffc8SSebastian Siewior tristate "Authenc support" 130584fffc8SSebastian Siewior select CRYPTO_AEAD 131584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 132584fffc8SSebastian Siewior select CRYPTO_MANAGER 133584fffc8SSebastian Siewior select CRYPTO_HASH 134584fffc8SSebastian Siewior help 135584fffc8SSebastian Siewior Authenc: Combined mode wrapper for IPsec. 136584fffc8SSebastian Siewior This is required for IPSec. 137584fffc8SSebastian Siewior 138584fffc8SSebastian Siewiorconfig CRYPTO_TEST 139584fffc8SSebastian Siewior tristate "Testing module" 140584fffc8SSebastian Siewior depends on m 141da7f033dSHerbert Xu select CRYPTO_MANAGER 142584fffc8SSebastian Siewior help 143584fffc8SSebastian Siewior Quick & dirty crypto test module. 144584fffc8SSebastian Siewior 145584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data" 146584fffc8SSebastian Siewior 147584fffc8SSebastian Siewiorconfig CRYPTO_CCM 148584fffc8SSebastian Siewior tristate "CCM support" 149584fffc8SSebastian Siewior select CRYPTO_CTR 150584fffc8SSebastian Siewior select CRYPTO_AEAD 151584fffc8SSebastian Siewior help 152584fffc8SSebastian Siewior Support for Counter with CBC MAC. Required for IPsec. 153584fffc8SSebastian Siewior 154584fffc8SSebastian Siewiorconfig CRYPTO_GCM 155584fffc8SSebastian Siewior tristate "GCM/GMAC support" 156584fffc8SSebastian Siewior select CRYPTO_CTR 157584fffc8SSebastian Siewior select CRYPTO_AEAD 158584fffc8SSebastian Siewior select CRYPTO_GF128MUL 159584fffc8SSebastian Siewior help 160584fffc8SSebastian Siewior Support for Galois/Counter Mode (GCM) and Galois Message 161584fffc8SSebastian Siewior Authentication Code (GMAC). Required for IPSec. 162584fffc8SSebastian Siewior 163584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV 164584fffc8SSebastian Siewior tristate "Sequence Number IV Generator" 165584fffc8SSebastian Siewior select CRYPTO_AEAD 166584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 167a0f000ecSHerbert Xu select CRYPTO_RNG 168584fffc8SSebastian Siewior help 169584fffc8SSebastian Siewior This IV generator generates an IV based on a sequence number by 170584fffc8SSebastian Siewior xoring it with a salt. This algorithm is mainly useful for CTR 171584fffc8SSebastian Siewior 172584fffc8SSebastian Siewiorcomment "Block modes" 173584fffc8SSebastian Siewior 174584fffc8SSebastian Siewiorconfig CRYPTO_CBC 175584fffc8SSebastian Siewior tristate "CBC support" 176584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 177584fffc8SSebastian Siewior select CRYPTO_MANAGER 178584fffc8SSebastian Siewior help 179584fffc8SSebastian Siewior CBC: Cipher Block Chaining mode 180584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 181584fffc8SSebastian Siewior 182584fffc8SSebastian Siewiorconfig CRYPTO_CTR 183584fffc8SSebastian Siewior tristate "CTR support" 184584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 185584fffc8SSebastian Siewior select CRYPTO_SEQIV 186584fffc8SSebastian Siewior select CRYPTO_MANAGER 187584fffc8SSebastian Siewior help 188584fffc8SSebastian Siewior CTR: Counter mode 189584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 190584fffc8SSebastian Siewior 191584fffc8SSebastian Siewiorconfig CRYPTO_CTS 192584fffc8SSebastian Siewior tristate "CTS support" 193584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 194584fffc8SSebastian Siewior help 195584fffc8SSebastian Siewior CTS: Cipher Text Stealing 196584fffc8SSebastian Siewior This is the Cipher Text Stealing mode as described by 197584fffc8SSebastian Siewior Section 8 of rfc2040 and referenced by rfc3962. 198584fffc8SSebastian Siewior (rfc3962 includes errata information in its Appendix A) 199584fffc8SSebastian Siewior This mode is required for Kerberos gss mechanism support 200584fffc8SSebastian Siewior for AES encryption. 201584fffc8SSebastian Siewior 202584fffc8SSebastian Siewiorconfig CRYPTO_ECB 203584fffc8SSebastian Siewior tristate "ECB support" 204584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 205584fffc8SSebastian Siewior select CRYPTO_MANAGER 206584fffc8SSebastian Siewior help 207584fffc8SSebastian Siewior ECB: Electronic CodeBook mode 208584fffc8SSebastian Siewior This is the simplest block cipher algorithm. It simply encrypts 209584fffc8SSebastian Siewior the input block by block. 210584fffc8SSebastian Siewior 211584fffc8SSebastian Siewiorconfig CRYPTO_LRW 212584fffc8SSebastian Siewior tristate "LRW support (EXPERIMENTAL)" 213584fffc8SSebastian Siewior depends on EXPERIMENTAL 214584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 215584fffc8SSebastian Siewior select CRYPTO_MANAGER 216584fffc8SSebastian Siewior select CRYPTO_GF128MUL 217584fffc8SSebastian Siewior help 218584fffc8SSebastian Siewior LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable 219584fffc8SSebastian Siewior narrow block cipher mode for dm-crypt. Use it with cipher 220584fffc8SSebastian Siewior specification string aes-lrw-benbi, the key must be 256, 320 or 384. 221584fffc8SSebastian Siewior The first 128, 192 or 256 bits in the key are used for AES and the 222584fffc8SSebastian Siewior rest is used to tie each cipher block to its logical position. 223584fffc8SSebastian Siewior 224584fffc8SSebastian Siewiorconfig CRYPTO_PCBC 225584fffc8SSebastian Siewior tristate "PCBC support" 226584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 227584fffc8SSebastian Siewior select CRYPTO_MANAGER 228584fffc8SSebastian Siewior help 229584fffc8SSebastian Siewior PCBC: Propagating Cipher Block Chaining mode 230584fffc8SSebastian Siewior This block cipher algorithm is required for RxRPC. 231584fffc8SSebastian Siewior 232584fffc8SSebastian Siewiorconfig CRYPTO_XTS 233584fffc8SSebastian Siewior tristate "XTS support (EXPERIMENTAL)" 234584fffc8SSebastian Siewior depends on EXPERIMENTAL 235584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 236584fffc8SSebastian Siewior select CRYPTO_MANAGER 237584fffc8SSebastian Siewior select CRYPTO_GF128MUL 238584fffc8SSebastian Siewior help 239584fffc8SSebastian Siewior XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, 240584fffc8SSebastian Siewior key size 256, 384 or 512 bits. This implementation currently 241584fffc8SSebastian Siewior can't handle a sectorsize which is not a multiple of 16 bytes. 242584fffc8SSebastian Siewior 243584fffc8SSebastian Siewiorcomment "Hash modes" 244584fffc8SSebastian Siewior 2451da177e4SLinus Torvaldsconfig CRYPTO_HMAC 2468425165dSHerbert Xu tristate "HMAC support" 2470796ae06SHerbert Xu select CRYPTO_HASH 24843518407SHerbert Xu select CRYPTO_MANAGER 2491da177e4SLinus Torvalds help 2501da177e4SLinus Torvalds HMAC: Keyed-Hashing for Message Authentication (RFC2104). 2511da177e4SLinus Torvalds This is required for IPSec. 2521da177e4SLinus Torvalds 253333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC 254333b0d7eSKazunori MIYAZAWA tristate "XCBC support" 255333b0d7eSKazunori MIYAZAWA depends on EXPERIMENTAL 256333b0d7eSKazunori MIYAZAWA select CRYPTO_HASH 257333b0d7eSKazunori MIYAZAWA select CRYPTO_MANAGER 258333b0d7eSKazunori MIYAZAWA help 259333b0d7eSKazunori MIYAZAWA XCBC: Keyed-Hashing with encryption algorithm 260333b0d7eSKazunori MIYAZAWA http://www.ietf.org/rfc/rfc3566.txt 261333b0d7eSKazunori MIYAZAWA http://csrc.nist.gov/encryption/modes/proposedmodes/ 262333b0d7eSKazunori MIYAZAWA xcbc-mac/xcbc-mac-spec.pdf 263333b0d7eSKazunori MIYAZAWA 264584fffc8SSebastian Siewiorcomment "Digest" 265584fffc8SSebastian Siewior 266584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C 267584fffc8SSebastian Siewior tristate "CRC32c CRC algorithm" 2685773a3e6SHerbert Xu select CRYPTO_HASH 2691da177e4SLinus Torvalds help 270584fffc8SSebastian Siewior Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used 271584fffc8SSebastian Siewior by iSCSI for header and data digests and by others. 27269c35efcSHerbert Xu See Castagnoli93. Module will be crc32c. 2731da177e4SLinus Torvalds 2748cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL 2758cb51ba8SAustin Zhang tristate "CRC32c INTEL hardware acceleration" 2768cb51ba8SAustin Zhang depends on X86 2778cb51ba8SAustin Zhang select CRYPTO_HASH 2788cb51ba8SAustin Zhang help 2798cb51ba8SAustin Zhang In Intel processor with SSE4.2 supported, the processor will 2808cb51ba8SAustin Zhang support CRC32C implementation using hardware accelerated CRC32 2818cb51ba8SAustin Zhang instruction. This option will create 'crc32c-intel' module, 2828cb51ba8SAustin Zhang which will enable any routine to use the CRC32 instruction to 2838cb51ba8SAustin Zhang gain performance compared with software implementation. 2848cb51ba8SAustin Zhang Module will be crc32c-intel. 2858cb51ba8SAustin Zhang 2861da177e4SLinus Torvaldsconfig CRYPTO_MD4 2871da177e4SLinus Torvalds tristate "MD4 digest algorithm" 288808a1763SAdrian-Ken Rueegsegger select CRYPTO_HASH 2891da177e4SLinus Torvalds help 2901da177e4SLinus Torvalds MD4 message digest algorithm (RFC1320). 2911da177e4SLinus Torvalds 2921da177e4SLinus Torvaldsconfig CRYPTO_MD5 2931da177e4SLinus Torvalds tristate "MD5 digest algorithm" 29414b75ba7SAdrian-Ken Rueegsegger select CRYPTO_HASH 2951da177e4SLinus Torvalds help 2961da177e4SLinus Torvalds MD5 message digest algorithm (RFC1321). 2971da177e4SLinus Torvalds 298584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC 299584fffc8SSebastian Siewior tristate "Michael MIC keyed digest algorithm" 30019e2bf14SAdrian-Ken Rueegsegger select CRYPTO_HASH 301584fffc8SSebastian Siewior help 302584fffc8SSebastian Siewior Michael MIC is used for message integrity protection in TKIP 303584fffc8SSebastian Siewior (IEEE 802.11i). This algorithm is required for TKIP, but it 304584fffc8SSebastian Siewior should not be used for other purposes because of the weakness 305584fffc8SSebastian Siewior of the algorithm. 306584fffc8SSebastian Siewior 30782798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128 30882798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-128 digest algorithm" 3097c4468bcSHerbert Xu select CRYPTO_HASH 31082798f90SAdrian-Ken Rueegsegger help 31182798f90SAdrian-Ken Rueegsegger RIPEMD-128 (ISO/IEC 10118-3:2004). 31282798f90SAdrian-Ken Rueegsegger 31382798f90SAdrian-Ken Rueegsegger RIPEMD-128 is a 128-bit cryptographic hash function. It should only 31482798f90SAdrian-Ken Rueegsegger to be used as a secure replacement for RIPEMD. For other use cases 31582798f90SAdrian-Ken Rueegsegger RIPEMD-160 should be used. 31682798f90SAdrian-Ken Rueegsegger 31782798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 31882798f90SAdrian-Ken Rueegsegger See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> 31982798f90SAdrian-Ken Rueegsegger 32082798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160 32182798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-160 digest algorithm" 322e5835fbaSHerbert Xu select CRYPTO_HASH 32382798f90SAdrian-Ken Rueegsegger help 32482798f90SAdrian-Ken Rueegsegger RIPEMD-160 (ISO/IEC 10118-3:2004). 32582798f90SAdrian-Ken Rueegsegger 32682798f90SAdrian-Ken Rueegsegger RIPEMD-160 is a 160-bit cryptographic hash function. It is intended 32782798f90SAdrian-Ken Rueegsegger to be used as a secure replacement for the 128-bit hash functions 328b6d44341SAdrian Bunk MD4, MD5 and it's predecessor RIPEMD 329b6d44341SAdrian Bunk (not to be confused with RIPEMD-128). 33082798f90SAdrian-Ken Rueegsegger 331b6d44341SAdrian Bunk It's speed is comparable to SHA1 and there are no known attacks 332b6d44341SAdrian Bunk against RIPEMD-160. 333534fe2c1SAdrian-Ken Rueegsegger 334534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 335534fe2c1SAdrian-Ken Rueegsegger See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> 336534fe2c1SAdrian-Ken Rueegsegger 337534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256 338534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-256 digest algorithm" 339d8a5e2e9SHerbert Xu select CRYPTO_HASH 340534fe2c1SAdrian-Ken Rueegsegger help 341b6d44341SAdrian Bunk RIPEMD-256 is an optional extension of RIPEMD-128 with a 342b6d44341SAdrian Bunk 256 bit hash. It is intended for applications that require 343b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 344b6d44341SAdrian Bunk (than RIPEMD-128). 345534fe2c1SAdrian-Ken Rueegsegger 346534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 347534fe2c1SAdrian-Ken Rueegsegger See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> 348534fe2c1SAdrian-Ken Rueegsegger 349534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320 350534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-320 digest algorithm" 3513b8efb4cSHerbert Xu select CRYPTO_HASH 352534fe2c1SAdrian-Ken Rueegsegger help 353b6d44341SAdrian Bunk RIPEMD-320 is an optional extension of RIPEMD-160 with a 354b6d44341SAdrian Bunk 320 bit hash. It is intended for applications that require 355b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 356b6d44341SAdrian Bunk (than RIPEMD-160). 357534fe2c1SAdrian-Ken Rueegsegger 35882798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 35982798f90SAdrian-Ken Rueegsegger See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> 36082798f90SAdrian-Ken Rueegsegger 3611da177e4SLinus Torvaldsconfig CRYPTO_SHA1 3621da177e4SLinus Torvalds tristate "SHA1 digest algorithm" 36354ccb367SAdrian-Ken Rueegsegger select CRYPTO_HASH 3641da177e4SLinus Torvalds help 3651da177e4SLinus Torvalds SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 3661da177e4SLinus Torvalds 3671da177e4SLinus Torvaldsconfig CRYPTO_SHA256 368cd12fb90SJonathan Lynch tristate "SHA224 and SHA256 digest algorithm" 36950e109b5SAdrian-Ken Rueegsegger select CRYPTO_HASH 3701da177e4SLinus Torvalds help 3711da177e4SLinus Torvalds SHA256 secure hash standard (DFIPS 180-2). 3721da177e4SLinus Torvalds 3731da177e4SLinus Torvalds This version of SHA implements a 256 bit hash with 128 bits of 3741da177e4SLinus Torvalds security against collision attacks. 3751da177e4SLinus Torvalds 376cd12fb90SJonathan Lynch This code also includes SHA-224, a 224 bit hash with 112 bits 377cd12fb90SJonathan Lynch of security against collision attacks. 378cd12fb90SJonathan Lynch 3791da177e4SLinus Torvaldsconfig CRYPTO_SHA512 3801da177e4SLinus Torvalds tristate "SHA384 and SHA512 digest algorithms" 381bd9d20dbSAdrian-Ken Rueegsegger select CRYPTO_HASH 3821da177e4SLinus Torvalds help 3831da177e4SLinus Torvalds SHA512 secure hash standard (DFIPS 180-2). 3841da177e4SLinus Torvalds 3851da177e4SLinus Torvalds This version of SHA implements a 512 bit hash with 256 bits of 3861da177e4SLinus Torvalds security against collision attacks. 3871da177e4SLinus Torvalds 3881da177e4SLinus Torvalds This code also includes SHA-384, a 384 bit hash with 192 bits 3891da177e4SLinus Torvalds of security against collision attacks. 3901da177e4SLinus Torvalds 3911da177e4SLinus Torvaldsconfig CRYPTO_TGR192 3921da177e4SLinus Torvalds tristate "Tiger digest algorithms" 393f63fbd3dSAdrian-Ken Rueegsegger select CRYPTO_HASH 3941da177e4SLinus Torvalds help 3951da177e4SLinus Torvalds Tiger hash algorithm 192, 160 and 128-bit hashes 3961da177e4SLinus Torvalds 3971da177e4SLinus Torvalds Tiger is a hash function optimized for 64-bit processors while 3981da177e4SLinus Torvalds still having decent performance on 32-bit processors. 3991da177e4SLinus Torvalds Tiger was developed by Ross Anderson and Eli Biham. 4001da177e4SLinus Torvalds 4011da177e4SLinus Torvalds See also: 4021da177e4SLinus Torvalds <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. 4031da177e4SLinus Torvalds 404584fffc8SSebastian Siewiorconfig CRYPTO_WP512 405584fffc8SSebastian Siewior tristate "Whirlpool digest algorithms" 4064946510bSAdrian-Ken Rueegsegger select CRYPTO_HASH 4071da177e4SLinus Torvalds help 408584fffc8SSebastian Siewior Whirlpool hash algorithm 512, 384 and 256-bit hashes 4091da177e4SLinus Torvalds 410584fffc8SSebastian Siewior Whirlpool-512 is part of the NESSIE cryptographic primitives. 411584fffc8SSebastian Siewior Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard 4121da177e4SLinus Torvalds 4131da177e4SLinus Torvalds See also: 414584fffc8SSebastian Siewior <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html> 4151da177e4SLinus Torvalds 416584fffc8SSebastian Siewiorcomment "Ciphers" 4171da177e4SLinus Torvalds 4181da177e4SLinus Torvaldsconfig CRYPTO_AES 4191da177e4SLinus Torvalds tristate "AES cipher algorithms" 420cce9e06dSHerbert Xu select CRYPTO_ALGAPI 4211da177e4SLinus Torvalds help 4221da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 4231da177e4SLinus Torvalds algorithm. 4241da177e4SLinus Torvalds 4251da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 4261da177e4SLinus Torvalds both hardware and software across a wide range of computing 4271da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 4281da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 4291da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 4301da177e4SLinus Torvalds suited for restricted-space environments, in which it also 4311da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 4321da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 4331da177e4SLinus Torvalds 4341da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 4351da177e4SLinus Torvalds 4361da177e4SLinus Torvalds See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. 4371da177e4SLinus Torvalds 4381da177e4SLinus Torvaldsconfig CRYPTO_AES_586 4391da177e4SLinus Torvalds tristate "AES cipher algorithms (i586)" 440cce9e06dSHerbert Xu depends on (X86 || UML_X86) && !64BIT 441cce9e06dSHerbert Xu select CRYPTO_ALGAPI 4425157dea8SSebastian Siewior select CRYPTO_AES 4431da177e4SLinus Torvalds help 4441da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 4451da177e4SLinus Torvalds algorithm. 4461da177e4SLinus Torvalds 4471da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 4481da177e4SLinus Torvalds both hardware and software across a wide range of computing 4491da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 4501da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 4511da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 4521da177e4SLinus Torvalds suited for restricted-space environments, in which it also 4531da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 4541da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 4551da177e4SLinus Torvalds 4561da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 4571da177e4SLinus Torvalds 4581da177e4SLinus Torvalds See <http://csrc.nist.gov/encryption/aes/> for more information. 4591da177e4SLinus Torvalds 460a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64 461a2a892a2SAndreas Steinmetz tristate "AES cipher algorithms (x86_64)" 462cce9e06dSHerbert Xu depends on (X86 || UML_X86) && 64BIT 463cce9e06dSHerbert Xu select CRYPTO_ALGAPI 46481190b32SSebastian Siewior select CRYPTO_AES 465a2a892a2SAndreas Steinmetz help 466a2a892a2SAndreas Steinmetz AES cipher algorithms (FIPS-197). AES uses the Rijndael 467a2a892a2SAndreas Steinmetz algorithm. 468a2a892a2SAndreas Steinmetz 469a2a892a2SAndreas Steinmetz Rijndael appears to be consistently a very good performer in 470a2a892a2SAndreas Steinmetz both hardware and software across a wide range of computing 471a2a892a2SAndreas Steinmetz environments regardless of its use in feedback or non-feedback 472a2a892a2SAndreas Steinmetz modes. Its key setup time is excellent, and its key agility is 473a2a892a2SAndreas Steinmetz good. Rijndael's very low memory requirements make it very well 474a2a892a2SAndreas Steinmetz suited for restricted-space environments, in which it also 475a2a892a2SAndreas Steinmetz demonstrates excellent performance. Rijndael's operations are 476a2a892a2SAndreas Steinmetz among the easiest to defend against power and timing attacks. 477a2a892a2SAndreas Steinmetz 478a2a892a2SAndreas Steinmetz The AES specifies three key sizes: 128, 192 and 256 bits 479a2a892a2SAndreas Steinmetz 480a2a892a2SAndreas Steinmetz See <http://csrc.nist.gov/encryption/aes/> for more information. 481a2a892a2SAndreas Steinmetz 48254b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL 48354b6a1bdSHuang Ying tristate "AES cipher algorithms (AES-NI)" 48454b6a1bdSHuang Ying depends on (X86 || UML_X86) && 64BIT 48554b6a1bdSHuang Ying select CRYPTO_AES_X86_64 48654b6a1bdSHuang Ying select CRYPTO_CRYPTD 48754b6a1bdSHuang Ying select CRYPTO_ALGAPI 48854b6a1bdSHuang Ying help 48954b6a1bdSHuang Ying Use Intel AES-NI instructions for AES algorithm. 49054b6a1bdSHuang Ying 49154b6a1bdSHuang Ying AES cipher algorithms (FIPS-197). AES uses the Rijndael 49254b6a1bdSHuang Ying algorithm. 49354b6a1bdSHuang Ying 49454b6a1bdSHuang Ying Rijndael appears to be consistently a very good performer in 49554b6a1bdSHuang Ying both hardware and software across a wide range of computing 49654b6a1bdSHuang Ying environments regardless of its use in feedback or non-feedback 49754b6a1bdSHuang Ying modes. Its key setup time is excellent, and its key agility is 49854b6a1bdSHuang Ying good. Rijndael's very low memory requirements make it very well 49954b6a1bdSHuang Ying suited for restricted-space environments, in which it also 50054b6a1bdSHuang Ying demonstrates excellent performance. Rijndael's operations are 50154b6a1bdSHuang Ying among the easiest to defend against power and timing attacks. 50254b6a1bdSHuang Ying 50354b6a1bdSHuang Ying The AES specifies three key sizes: 128, 192 and 256 bits 50454b6a1bdSHuang Ying 50554b6a1bdSHuang Ying See <http://csrc.nist.gov/encryption/aes/> for more information. 50654b6a1bdSHuang Ying 5071da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS 5081da177e4SLinus Torvalds tristate "Anubis cipher algorithm" 509cce9e06dSHerbert Xu select CRYPTO_ALGAPI 5101da177e4SLinus Torvalds help 5111da177e4SLinus Torvalds Anubis cipher algorithm. 5121da177e4SLinus Torvalds 5131da177e4SLinus Torvalds Anubis is a variable key length cipher which can use keys from 5141da177e4SLinus Torvalds 128 bits to 320 bits in length. It was evaluated as a entrant 5151da177e4SLinus Torvalds in the NESSIE competition. 5161da177e4SLinus Torvalds 5171da177e4SLinus Torvalds See also: 5181da177e4SLinus Torvalds <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/> 5191da177e4SLinus Torvalds <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html> 5201da177e4SLinus Torvalds 521584fffc8SSebastian Siewiorconfig CRYPTO_ARC4 522584fffc8SSebastian Siewior tristate "ARC4 cipher algorithm" 523e2ee95b8SHye-Shik Chang select CRYPTO_ALGAPI 524e2ee95b8SHye-Shik Chang help 525584fffc8SSebastian Siewior ARC4 cipher algorithm. 526e2ee95b8SHye-Shik Chang 527584fffc8SSebastian Siewior ARC4 is a stream cipher using keys ranging from 8 bits to 2048 528584fffc8SSebastian Siewior bits in length. This algorithm is required for driver-based 529584fffc8SSebastian Siewior WEP, but it should not be for other purposes because of the 530584fffc8SSebastian Siewior weakness of the algorithm. 531584fffc8SSebastian Siewior 532584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH 533584fffc8SSebastian Siewior tristate "Blowfish cipher algorithm" 534584fffc8SSebastian Siewior select CRYPTO_ALGAPI 535584fffc8SSebastian Siewior help 536584fffc8SSebastian Siewior Blowfish cipher algorithm, by Bruce Schneier. 537584fffc8SSebastian Siewior 538584fffc8SSebastian Siewior This is a variable key length cipher which can use keys from 32 539584fffc8SSebastian Siewior bits to 448 bits in length. It's fast, simple and specifically 540584fffc8SSebastian Siewior designed for use on "large microprocessors". 541e2ee95b8SHye-Shik Chang 542e2ee95b8SHye-Shik Chang See also: 543584fffc8SSebastian Siewior <http://www.schneier.com/blowfish.html> 544584fffc8SSebastian Siewior 545584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA 546584fffc8SSebastian Siewior tristate "Camellia cipher algorithms" 547584fffc8SSebastian Siewior depends on CRYPTO 548584fffc8SSebastian Siewior select CRYPTO_ALGAPI 549584fffc8SSebastian Siewior help 550584fffc8SSebastian Siewior Camellia cipher algorithms module. 551584fffc8SSebastian Siewior 552584fffc8SSebastian Siewior Camellia is a symmetric key block cipher developed jointly 553584fffc8SSebastian Siewior at NTT and Mitsubishi Electric Corporation. 554584fffc8SSebastian Siewior 555584fffc8SSebastian Siewior The Camellia specifies three key sizes: 128, 192 and 256 bits. 556584fffc8SSebastian Siewior 557584fffc8SSebastian Siewior See also: 558584fffc8SSebastian Siewior <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 559584fffc8SSebastian Siewior 560584fffc8SSebastian Siewiorconfig CRYPTO_CAST5 561584fffc8SSebastian Siewior tristate "CAST5 (CAST-128) cipher algorithm" 562584fffc8SSebastian Siewior select CRYPTO_ALGAPI 563584fffc8SSebastian Siewior help 564584fffc8SSebastian Siewior The CAST5 encryption algorithm (synonymous with CAST-128) is 565584fffc8SSebastian Siewior described in RFC2144. 566584fffc8SSebastian Siewior 567584fffc8SSebastian Siewiorconfig CRYPTO_CAST6 568584fffc8SSebastian Siewior tristate "CAST6 (CAST-256) cipher algorithm" 569584fffc8SSebastian Siewior select CRYPTO_ALGAPI 570584fffc8SSebastian Siewior help 571584fffc8SSebastian Siewior The CAST6 encryption algorithm (synonymous with CAST-256) is 572584fffc8SSebastian Siewior described in RFC2612. 573584fffc8SSebastian Siewior 574584fffc8SSebastian Siewiorconfig CRYPTO_DES 575584fffc8SSebastian Siewior tristate "DES and Triple DES EDE cipher algorithms" 576584fffc8SSebastian Siewior select CRYPTO_ALGAPI 577584fffc8SSebastian Siewior help 578584fffc8SSebastian Siewior DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 579584fffc8SSebastian Siewior 580584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT 581584fffc8SSebastian Siewior tristate "FCrypt cipher algorithm" 582584fffc8SSebastian Siewior select CRYPTO_ALGAPI 583584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 584584fffc8SSebastian Siewior help 585584fffc8SSebastian Siewior FCrypt algorithm used by RxRPC. 586584fffc8SSebastian Siewior 587584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD 588584fffc8SSebastian Siewior tristate "Khazad cipher algorithm" 589584fffc8SSebastian Siewior select CRYPTO_ALGAPI 590584fffc8SSebastian Siewior help 591584fffc8SSebastian Siewior Khazad cipher algorithm. 592584fffc8SSebastian Siewior 593584fffc8SSebastian Siewior Khazad was a finalist in the initial NESSIE competition. It is 594584fffc8SSebastian Siewior an algorithm optimized for 64-bit processors with good performance 595584fffc8SSebastian Siewior on 32-bit processors. Khazad uses an 128 bit key size. 596584fffc8SSebastian Siewior 597584fffc8SSebastian Siewior See also: 598584fffc8SSebastian Siewior <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html> 599e2ee95b8SHye-Shik Chang 6002407d608STan Swee Hengconfig CRYPTO_SALSA20 6012407d608STan Swee Heng tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)" 6022407d608STan Swee Heng depends on EXPERIMENTAL 6032407d608STan Swee Heng select CRYPTO_BLKCIPHER 6042407d608STan Swee Heng help 6052407d608STan Swee Heng Salsa20 stream cipher algorithm. 6062407d608STan Swee Heng 6072407d608STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 6082407d608STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 6092407d608STan Swee Heng 6102407d608STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 6112407d608STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 6121da177e4SLinus Torvalds 613974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586 614974e4b75STan Swee Heng tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)" 615974e4b75STan Swee Heng depends on (X86 || UML_X86) && !64BIT 616974e4b75STan Swee Heng depends on EXPERIMENTAL 617974e4b75STan Swee Heng select CRYPTO_BLKCIPHER 618974e4b75STan Swee Heng help 619974e4b75STan Swee Heng Salsa20 stream cipher algorithm. 620974e4b75STan Swee Heng 621974e4b75STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 622974e4b75STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 623974e4b75STan Swee Heng 624974e4b75STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 625974e4b75STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 626974e4b75STan Swee Heng 6279a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64 6289a7dafbbSTan Swee Heng tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)" 6299a7dafbbSTan Swee Heng depends on (X86 || UML_X86) && 64BIT 6309a7dafbbSTan Swee Heng depends on EXPERIMENTAL 6319a7dafbbSTan Swee Heng select CRYPTO_BLKCIPHER 6329a7dafbbSTan Swee Heng help 6339a7dafbbSTan Swee Heng Salsa20 stream cipher algorithm. 6349a7dafbbSTan Swee Heng 6359a7dafbbSTan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 6369a7dafbbSTan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 6379a7dafbbSTan Swee Heng 6389a7dafbbSTan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 6399a7dafbbSTan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 6409a7dafbbSTan Swee Heng 641584fffc8SSebastian Siewiorconfig CRYPTO_SEED 642584fffc8SSebastian Siewior tristate "SEED cipher algorithm" 643584fffc8SSebastian Siewior select CRYPTO_ALGAPI 644584fffc8SSebastian Siewior help 645584fffc8SSebastian Siewior SEED cipher algorithm (RFC4269). 646584fffc8SSebastian Siewior 647584fffc8SSebastian Siewior SEED is a 128-bit symmetric key block cipher that has been 648584fffc8SSebastian Siewior developed by KISA (Korea Information Security Agency) as a 649584fffc8SSebastian Siewior national standard encryption algorithm of the Republic of Korea. 650584fffc8SSebastian Siewior It is a 16 round block cipher with the key size of 128 bit. 651584fffc8SSebastian Siewior 652584fffc8SSebastian Siewior See also: 653584fffc8SSebastian Siewior <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> 654584fffc8SSebastian Siewior 655584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT 656584fffc8SSebastian Siewior tristate "Serpent cipher algorithm" 657584fffc8SSebastian Siewior select CRYPTO_ALGAPI 658584fffc8SSebastian Siewior help 659584fffc8SSebastian Siewior Serpent cipher algorithm, by Anderson, Biham & Knudsen. 660584fffc8SSebastian Siewior 661584fffc8SSebastian Siewior Keys are allowed to be from 0 to 256 bits in length, in steps 662584fffc8SSebastian Siewior of 8 bits. Also includes the 'Tnepres' algorithm, a reversed 663584fffc8SSebastian Siewior variant of Serpent for compatibility with old kerneli.org code. 664584fffc8SSebastian Siewior 665584fffc8SSebastian Siewior See also: 666584fffc8SSebastian Siewior <http://www.cl.cam.ac.uk/~rja14/serpent.html> 667584fffc8SSebastian Siewior 668584fffc8SSebastian Siewiorconfig CRYPTO_TEA 669584fffc8SSebastian Siewior tristate "TEA, XTEA and XETA cipher algorithms" 670584fffc8SSebastian Siewior select CRYPTO_ALGAPI 671584fffc8SSebastian Siewior help 672584fffc8SSebastian Siewior TEA cipher algorithm. 673584fffc8SSebastian Siewior 674584fffc8SSebastian Siewior Tiny Encryption Algorithm is a simple cipher that uses 675584fffc8SSebastian Siewior many rounds for security. It is very fast and uses 676584fffc8SSebastian Siewior little memory. 677584fffc8SSebastian Siewior 678584fffc8SSebastian Siewior Xtendend Tiny Encryption Algorithm is a modification to 679584fffc8SSebastian Siewior the TEA algorithm to address a potential key weakness 680584fffc8SSebastian Siewior in the TEA algorithm. 681584fffc8SSebastian Siewior 682584fffc8SSebastian Siewior Xtendend Encryption Tiny Algorithm is a mis-implementation 683584fffc8SSebastian Siewior of the XTEA algorithm for compatibility purposes. 684584fffc8SSebastian Siewior 685584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH 686584fffc8SSebastian Siewior tristate "Twofish cipher algorithm" 687584fffc8SSebastian Siewior select CRYPTO_ALGAPI 688584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 689584fffc8SSebastian Siewior help 690584fffc8SSebastian Siewior Twofish cipher algorithm. 691584fffc8SSebastian Siewior 692584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 693584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 694584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 695584fffc8SSebastian Siewior bits. 696584fffc8SSebastian Siewior 697584fffc8SSebastian Siewior See also: 698584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 699584fffc8SSebastian Siewior 700584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON 701584fffc8SSebastian Siewior tristate 702584fffc8SSebastian Siewior help 703584fffc8SSebastian Siewior Common parts of the Twofish cipher algorithm shared by the 704584fffc8SSebastian Siewior generic c and the assembler implementations. 705584fffc8SSebastian Siewior 706584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586 707584fffc8SSebastian Siewior tristate "Twofish cipher algorithms (i586)" 708584fffc8SSebastian Siewior depends on (X86 || UML_X86) && !64BIT 709584fffc8SSebastian Siewior select CRYPTO_ALGAPI 710584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 711584fffc8SSebastian Siewior help 712584fffc8SSebastian Siewior Twofish cipher algorithm. 713584fffc8SSebastian Siewior 714584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 715584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 716584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 717584fffc8SSebastian Siewior bits. 718584fffc8SSebastian Siewior 719584fffc8SSebastian Siewior See also: 720584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 721584fffc8SSebastian Siewior 722584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64 723584fffc8SSebastian Siewior tristate "Twofish cipher algorithm (x86_64)" 724584fffc8SSebastian Siewior depends on (X86 || UML_X86) && 64BIT 725584fffc8SSebastian Siewior select CRYPTO_ALGAPI 726584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 727584fffc8SSebastian Siewior help 728584fffc8SSebastian Siewior Twofish cipher algorithm (x86_64). 729584fffc8SSebastian Siewior 730584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 731584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 732584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 733584fffc8SSebastian Siewior bits. 734584fffc8SSebastian Siewior 735584fffc8SSebastian Siewior See also: 736584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 737584fffc8SSebastian Siewior 738584fffc8SSebastian Siewiorcomment "Compression" 739584fffc8SSebastian Siewior 7401da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE 7411da177e4SLinus Torvalds tristate "Deflate compression algorithm" 742cce9e06dSHerbert Xu select CRYPTO_ALGAPI 7431da177e4SLinus Torvalds select ZLIB_INFLATE 7441da177e4SLinus Torvalds select ZLIB_DEFLATE 7451da177e4SLinus Torvalds help 7461da177e4SLinus Torvalds This is the Deflate algorithm (RFC1951), specified for use in 7471da177e4SLinus Torvalds IPSec with the IPCOMP protocol (RFC3173, RFC2394). 7481da177e4SLinus Torvalds 7491da177e4SLinus Torvalds You will most probably want this if using IPSec. 7501da177e4SLinus Torvalds 7510b77abb3SZoltan Sogorconfig CRYPTO_LZO 7520b77abb3SZoltan Sogor tristate "LZO compression algorithm" 7530b77abb3SZoltan Sogor select CRYPTO_ALGAPI 7540b77abb3SZoltan Sogor select LZO_COMPRESS 7550b77abb3SZoltan Sogor select LZO_DECOMPRESS 7560b77abb3SZoltan Sogor help 7570b77abb3SZoltan Sogor This is the LZO algorithm. 7580b77abb3SZoltan Sogor 75917f0f4a4SNeil Hormancomment "Random Number Generation" 76017f0f4a4SNeil Horman 76117f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG 76217f0f4a4SNeil Horman tristate "Pseudo Random Number Generation for Cryptographic modules" 76317f0f4a4SNeil Horman select CRYPTO_AES 76417f0f4a4SNeil Horman select CRYPTO_RNG 76517f0f4a4SNeil Horman select CRYPTO_FIPS 76617f0f4a4SNeil Horman help 76717f0f4a4SNeil Horman This option enables the generic pseudo random number generator 76817f0f4a4SNeil Horman for cryptographic modules. Uses the Algorithm specified in 76917f0f4a4SNeil Horman ANSI X9.31 A.2.4 77017f0f4a4SNeil Horman 7711da177e4SLinus Torvaldssource "drivers/crypto/Kconfig" 7721da177e4SLinus Torvalds 773cce9e06dSHerbert Xuendif # if CRYPTO 774