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 79a1d2f095SGeert Uytterhoevenconfig CRYPTO_PCOMP 80a1d2f095SGeert Uytterhoeven tristate 81a1d2f095SGeert Uytterhoeven select CRYPTO_ALGAPI2 82a1d2f095SGeert 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 950c01aed5SGeert Uytterhoeven select CRYPTO_PCOMP 966a0fcbb4SHerbert Xu 97584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL 98584fffc8SSebastian Siewior tristate "GF(2^128) multiplication functions (EXPERIMENTAL)" 99584fffc8SSebastian Siewior depends on EXPERIMENTAL 100584fffc8SSebastian Siewior help 101584fffc8SSebastian Siewior Efficient table driven implementation of multiplications in the 102584fffc8SSebastian Siewior field GF(2^128). This is needed by some cypher modes. This 103584fffc8SSebastian Siewior option will be selected automatically if you select such a 104584fffc8SSebastian Siewior cipher mode. Only select this option by hand if you expect to load 105584fffc8SSebastian Siewior an external module that requires these functions. 106584fffc8SSebastian Siewior 107584fffc8SSebastian Siewiorconfig CRYPTO_NULL 108584fffc8SSebastian Siewior tristate "Null algorithms" 109584fffc8SSebastian Siewior select CRYPTO_ALGAPI 110584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 111d35d2454SHerbert Xu select CRYPTO_HASH 112584fffc8SSebastian Siewior help 113584fffc8SSebastian Siewior These are 'Null' algorithms, used by IPsec, which do nothing. 114584fffc8SSebastian Siewior 11525c38d3fSHuang Yingconfig CRYPTO_WORKQUEUE 11625c38d3fSHuang Ying tristate 11725c38d3fSHuang Ying 118584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD 119584fffc8SSebastian Siewior tristate "Software async crypto daemon" 120584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 121b8a28251SLoc Ho select CRYPTO_HASH 122584fffc8SSebastian Siewior select CRYPTO_MANAGER 123254eff77SHuang Ying select CRYPTO_WORKQUEUE 124584fffc8SSebastian Siewior help 125584fffc8SSebastian Siewior This is a generic software asynchronous crypto daemon that 126584fffc8SSebastian Siewior converts an arbitrary synchronous software crypto algorithm 127584fffc8SSebastian Siewior into an asynchronous algorithm that executes in a kernel thread. 128584fffc8SSebastian Siewior 129584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC 130584fffc8SSebastian Siewior tristate "Authenc support" 131584fffc8SSebastian Siewior select CRYPTO_AEAD 132584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 133584fffc8SSebastian Siewior select CRYPTO_MANAGER 134584fffc8SSebastian Siewior select CRYPTO_HASH 135584fffc8SSebastian Siewior help 136584fffc8SSebastian Siewior Authenc: Combined mode wrapper for IPsec. 137584fffc8SSebastian Siewior This is required for IPSec. 138584fffc8SSebastian Siewior 139584fffc8SSebastian Siewiorconfig CRYPTO_TEST 140584fffc8SSebastian Siewior tristate "Testing module" 141584fffc8SSebastian Siewior depends on m 142da7f033dSHerbert Xu select CRYPTO_MANAGER 143584fffc8SSebastian Siewior help 144584fffc8SSebastian Siewior Quick & dirty crypto test module. 145584fffc8SSebastian Siewior 146584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data" 147584fffc8SSebastian Siewior 148584fffc8SSebastian Siewiorconfig CRYPTO_CCM 149584fffc8SSebastian Siewior tristate "CCM support" 150584fffc8SSebastian Siewior select CRYPTO_CTR 151584fffc8SSebastian Siewior select CRYPTO_AEAD 152584fffc8SSebastian Siewior help 153584fffc8SSebastian Siewior Support for Counter with CBC MAC. Required for IPsec. 154584fffc8SSebastian Siewior 155584fffc8SSebastian Siewiorconfig CRYPTO_GCM 156584fffc8SSebastian Siewior tristate "GCM/GMAC support" 157584fffc8SSebastian Siewior select CRYPTO_CTR 158584fffc8SSebastian Siewior select CRYPTO_AEAD 159584fffc8SSebastian Siewior select CRYPTO_GF128MUL 160584fffc8SSebastian Siewior help 161584fffc8SSebastian Siewior Support for Galois/Counter Mode (GCM) and Galois Message 162584fffc8SSebastian Siewior Authentication Code (GMAC). Required for IPSec. 163584fffc8SSebastian Siewior 164584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV 165584fffc8SSebastian Siewior tristate "Sequence Number IV Generator" 166584fffc8SSebastian Siewior select CRYPTO_AEAD 167584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 168a0f000ecSHerbert Xu select CRYPTO_RNG 169584fffc8SSebastian Siewior help 170584fffc8SSebastian Siewior This IV generator generates an IV based on a sequence number by 171584fffc8SSebastian Siewior xoring it with a salt. This algorithm is mainly useful for CTR 172584fffc8SSebastian Siewior 173584fffc8SSebastian Siewiorcomment "Block modes" 174584fffc8SSebastian Siewior 175584fffc8SSebastian Siewiorconfig CRYPTO_CBC 176584fffc8SSebastian Siewior tristate "CBC support" 177584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 178584fffc8SSebastian Siewior select CRYPTO_MANAGER 179584fffc8SSebastian Siewior help 180584fffc8SSebastian Siewior CBC: Cipher Block Chaining mode 181584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 182584fffc8SSebastian Siewior 183584fffc8SSebastian Siewiorconfig CRYPTO_CTR 184584fffc8SSebastian Siewior tristate "CTR support" 185584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 186584fffc8SSebastian Siewior select CRYPTO_SEQIV 187584fffc8SSebastian Siewior select CRYPTO_MANAGER 188584fffc8SSebastian Siewior help 189584fffc8SSebastian Siewior CTR: Counter mode 190584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 191584fffc8SSebastian Siewior 192584fffc8SSebastian Siewiorconfig CRYPTO_CTS 193584fffc8SSebastian Siewior tristate "CTS support" 194584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 195584fffc8SSebastian Siewior help 196584fffc8SSebastian Siewior CTS: Cipher Text Stealing 197584fffc8SSebastian Siewior This is the Cipher Text Stealing mode as described by 198584fffc8SSebastian Siewior Section 8 of rfc2040 and referenced by rfc3962. 199584fffc8SSebastian Siewior (rfc3962 includes errata information in its Appendix A) 200584fffc8SSebastian Siewior This mode is required for Kerberos gss mechanism support 201584fffc8SSebastian Siewior for AES encryption. 202584fffc8SSebastian Siewior 203584fffc8SSebastian Siewiorconfig CRYPTO_ECB 204584fffc8SSebastian Siewior tristate "ECB support" 205584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 206584fffc8SSebastian Siewior select CRYPTO_MANAGER 207584fffc8SSebastian Siewior help 208584fffc8SSebastian Siewior ECB: Electronic CodeBook mode 209584fffc8SSebastian Siewior This is the simplest block cipher algorithm. It simply encrypts 210584fffc8SSebastian Siewior the input block by block. 211584fffc8SSebastian Siewior 212584fffc8SSebastian Siewiorconfig CRYPTO_LRW 213584fffc8SSebastian Siewior tristate "LRW support (EXPERIMENTAL)" 214584fffc8SSebastian Siewior depends on EXPERIMENTAL 215584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 216584fffc8SSebastian Siewior select CRYPTO_MANAGER 217584fffc8SSebastian Siewior select CRYPTO_GF128MUL 218584fffc8SSebastian Siewior help 219584fffc8SSebastian Siewior LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable 220584fffc8SSebastian Siewior narrow block cipher mode for dm-crypt. Use it with cipher 221584fffc8SSebastian Siewior specification string aes-lrw-benbi, the key must be 256, 320 or 384. 222584fffc8SSebastian Siewior The first 128, 192 or 256 bits in the key are used for AES and the 223584fffc8SSebastian Siewior rest is used to tie each cipher block to its logical position. 224584fffc8SSebastian Siewior 225584fffc8SSebastian Siewiorconfig CRYPTO_PCBC 226584fffc8SSebastian Siewior tristate "PCBC support" 227584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 228584fffc8SSebastian Siewior select CRYPTO_MANAGER 229584fffc8SSebastian Siewior help 230584fffc8SSebastian Siewior PCBC: Propagating Cipher Block Chaining mode 231584fffc8SSebastian Siewior This block cipher algorithm is required for RxRPC. 232584fffc8SSebastian Siewior 233584fffc8SSebastian Siewiorconfig CRYPTO_XTS 234584fffc8SSebastian Siewior tristate "XTS support (EXPERIMENTAL)" 235584fffc8SSebastian Siewior depends on EXPERIMENTAL 236584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 237584fffc8SSebastian Siewior select CRYPTO_MANAGER 238584fffc8SSebastian Siewior select CRYPTO_GF128MUL 239584fffc8SSebastian Siewior help 240584fffc8SSebastian Siewior XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, 241584fffc8SSebastian Siewior key size 256, 384 or 512 bits. This implementation currently 242584fffc8SSebastian Siewior can't handle a sectorsize which is not a multiple of 16 bytes. 243584fffc8SSebastian Siewior 244150c7e85SHuang Yingconfig CRYPTO_FPU 245150c7e85SHuang Ying tristate 246150c7e85SHuang Ying select CRYPTO_BLKCIPHER 247150c7e85SHuang Ying select CRYPTO_MANAGER 248150c7e85SHuang Ying 249584fffc8SSebastian Siewiorcomment "Hash modes" 250584fffc8SSebastian Siewior 2511da177e4SLinus Torvaldsconfig CRYPTO_HMAC 2528425165dSHerbert Xu tristate "HMAC support" 2530796ae06SHerbert Xu select CRYPTO_HASH 25443518407SHerbert Xu select CRYPTO_MANAGER 2551da177e4SLinus Torvalds help 2561da177e4SLinus Torvalds HMAC: Keyed-Hashing for Message Authentication (RFC2104). 2571da177e4SLinus Torvalds This is required for IPSec. 2581da177e4SLinus Torvalds 259333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC 260333b0d7eSKazunori MIYAZAWA tristate "XCBC support" 261333b0d7eSKazunori MIYAZAWA depends on EXPERIMENTAL 262333b0d7eSKazunori MIYAZAWA select CRYPTO_HASH 263333b0d7eSKazunori MIYAZAWA select CRYPTO_MANAGER 264333b0d7eSKazunori MIYAZAWA help 265333b0d7eSKazunori MIYAZAWA XCBC: Keyed-Hashing with encryption algorithm 266333b0d7eSKazunori MIYAZAWA http://www.ietf.org/rfc/rfc3566.txt 267333b0d7eSKazunori MIYAZAWA http://csrc.nist.gov/encryption/modes/proposedmodes/ 268333b0d7eSKazunori MIYAZAWA xcbc-mac/xcbc-mac-spec.pdf 269333b0d7eSKazunori MIYAZAWA 270584fffc8SSebastian Siewiorcomment "Digest" 271584fffc8SSebastian Siewior 272584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C 273584fffc8SSebastian Siewior tristate "CRC32c CRC algorithm" 2745773a3e6SHerbert Xu select CRYPTO_HASH 2751da177e4SLinus Torvalds help 276584fffc8SSebastian Siewior Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used 277584fffc8SSebastian Siewior by iSCSI for header and data digests and by others. 27869c35efcSHerbert Xu See Castagnoli93. Module will be crc32c. 2791da177e4SLinus Torvalds 2808cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL 2818cb51ba8SAustin Zhang tristate "CRC32c INTEL hardware acceleration" 2828cb51ba8SAustin Zhang depends on X86 2838cb51ba8SAustin Zhang select CRYPTO_HASH 2848cb51ba8SAustin Zhang help 2858cb51ba8SAustin Zhang In Intel processor with SSE4.2 supported, the processor will 2868cb51ba8SAustin Zhang support CRC32C implementation using hardware accelerated CRC32 2878cb51ba8SAustin Zhang instruction. This option will create 'crc32c-intel' module, 2888cb51ba8SAustin Zhang which will enable any routine to use the CRC32 instruction to 2898cb51ba8SAustin Zhang gain performance compared with software implementation. 2908cb51ba8SAustin Zhang Module will be crc32c-intel. 2918cb51ba8SAustin Zhang 2921da177e4SLinus Torvaldsconfig CRYPTO_MD4 2931da177e4SLinus Torvalds tristate "MD4 digest algorithm" 294808a1763SAdrian-Ken Rueegsegger select CRYPTO_HASH 2951da177e4SLinus Torvalds help 2961da177e4SLinus Torvalds MD4 message digest algorithm (RFC1320). 2971da177e4SLinus Torvalds 2981da177e4SLinus Torvaldsconfig CRYPTO_MD5 2991da177e4SLinus Torvalds tristate "MD5 digest algorithm" 30014b75ba7SAdrian-Ken Rueegsegger select CRYPTO_HASH 3011da177e4SLinus Torvalds help 3021da177e4SLinus Torvalds MD5 message digest algorithm (RFC1321). 3031da177e4SLinus Torvalds 304584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC 305584fffc8SSebastian Siewior tristate "Michael MIC keyed digest algorithm" 30619e2bf14SAdrian-Ken Rueegsegger select CRYPTO_HASH 307584fffc8SSebastian Siewior help 308584fffc8SSebastian Siewior Michael MIC is used for message integrity protection in TKIP 309584fffc8SSebastian Siewior (IEEE 802.11i). This algorithm is required for TKIP, but it 310584fffc8SSebastian Siewior should not be used for other purposes because of the weakness 311584fffc8SSebastian Siewior of the algorithm. 312584fffc8SSebastian Siewior 31382798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128 31482798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-128 digest algorithm" 3157c4468bcSHerbert Xu select CRYPTO_HASH 31682798f90SAdrian-Ken Rueegsegger help 31782798f90SAdrian-Ken Rueegsegger RIPEMD-128 (ISO/IEC 10118-3:2004). 31882798f90SAdrian-Ken Rueegsegger 31982798f90SAdrian-Ken Rueegsegger RIPEMD-128 is a 128-bit cryptographic hash function. It should only 32082798f90SAdrian-Ken Rueegsegger to be used as a secure replacement for RIPEMD. For other use cases 32182798f90SAdrian-Ken Rueegsegger RIPEMD-160 should be used. 32282798f90SAdrian-Ken Rueegsegger 32382798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 32482798f90SAdrian-Ken Rueegsegger See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> 32582798f90SAdrian-Ken Rueegsegger 32682798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160 32782798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-160 digest algorithm" 328e5835fbaSHerbert Xu select CRYPTO_HASH 32982798f90SAdrian-Ken Rueegsegger help 33082798f90SAdrian-Ken Rueegsegger RIPEMD-160 (ISO/IEC 10118-3:2004). 33182798f90SAdrian-Ken Rueegsegger 33282798f90SAdrian-Ken Rueegsegger RIPEMD-160 is a 160-bit cryptographic hash function. It is intended 33382798f90SAdrian-Ken Rueegsegger to be used as a secure replacement for the 128-bit hash functions 334b6d44341SAdrian Bunk MD4, MD5 and it's predecessor RIPEMD 335b6d44341SAdrian Bunk (not to be confused with RIPEMD-128). 33682798f90SAdrian-Ken Rueegsegger 337b6d44341SAdrian Bunk It's speed is comparable to SHA1 and there are no known attacks 338b6d44341SAdrian Bunk against RIPEMD-160. 339534fe2c1SAdrian-Ken Rueegsegger 340534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 341534fe2c1SAdrian-Ken Rueegsegger See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> 342534fe2c1SAdrian-Ken Rueegsegger 343534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256 344534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-256 digest algorithm" 345d8a5e2e9SHerbert Xu select CRYPTO_HASH 346534fe2c1SAdrian-Ken Rueegsegger help 347b6d44341SAdrian Bunk RIPEMD-256 is an optional extension of RIPEMD-128 with a 348b6d44341SAdrian Bunk 256 bit hash. It is intended for applications that require 349b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 350b6d44341SAdrian Bunk (than RIPEMD-128). 351534fe2c1SAdrian-Ken Rueegsegger 352534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 353534fe2c1SAdrian-Ken Rueegsegger See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> 354534fe2c1SAdrian-Ken Rueegsegger 355534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320 356534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-320 digest algorithm" 3573b8efb4cSHerbert Xu select CRYPTO_HASH 358534fe2c1SAdrian-Ken Rueegsegger help 359b6d44341SAdrian Bunk RIPEMD-320 is an optional extension of RIPEMD-160 with a 360b6d44341SAdrian Bunk 320 bit hash. It is intended for applications that require 361b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 362b6d44341SAdrian Bunk (than RIPEMD-160). 363534fe2c1SAdrian-Ken Rueegsegger 36482798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 36582798f90SAdrian-Ken Rueegsegger See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> 36682798f90SAdrian-Ken Rueegsegger 3671da177e4SLinus Torvaldsconfig CRYPTO_SHA1 3681da177e4SLinus Torvalds tristate "SHA1 digest algorithm" 36954ccb367SAdrian-Ken Rueegsegger select CRYPTO_HASH 3701da177e4SLinus Torvalds help 3711da177e4SLinus Torvalds SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 3721da177e4SLinus Torvalds 3731da177e4SLinus Torvaldsconfig CRYPTO_SHA256 374cd12fb90SJonathan Lynch tristate "SHA224 and SHA256 digest algorithm" 37550e109b5SAdrian-Ken Rueegsegger select CRYPTO_HASH 3761da177e4SLinus Torvalds help 3771da177e4SLinus Torvalds SHA256 secure hash standard (DFIPS 180-2). 3781da177e4SLinus Torvalds 3791da177e4SLinus Torvalds This version of SHA implements a 256 bit hash with 128 bits of 3801da177e4SLinus Torvalds security against collision attacks. 3811da177e4SLinus Torvalds 382cd12fb90SJonathan Lynch This code also includes SHA-224, a 224 bit hash with 112 bits 383cd12fb90SJonathan Lynch of security against collision attacks. 384cd12fb90SJonathan Lynch 3851da177e4SLinus Torvaldsconfig CRYPTO_SHA512 3861da177e4SLinus Torvalds tristate "SHA384 and SHA512 digest algorithms" 387bd9d20dbSAdrian-Ken Rueegsegger select CRYPTO_HASH 3881da177e4SLinus Torvalds help 3891da177e4SLinus Torvalds SHA512 secure hash standard (DFIPS 180-2). 3901da177e4SLinus Torvalds 3911da177e4SLinus Torvalds This version of SHA implements a 512 bit hash with 256 bits of 3921da177e4SLinus Torvalds security against collision attacks. 3931da177e4SLinus Torvalds 3941da177e4SLinus Torvalds This code also includes SHA-384, a 384 bit hash with 192 bits 3951da177e4SLinus Torvalds of security against collision attacks. 3961da177e4SLinus Torvalds 3971da177e4SLinus Torvaldsconfig CRYPTO_TGR192 3981da177e4SLinus Torvalds tristate "Tiger digest algorithms" 399f63fbd3dSAdrian-Ken Rueegsegger select CRYPTO_HASH 4001da177e4SLinus Torvalds help 4011da177e4SLinus Torvalds Tiger hash algorithm 192, 160 and 128-bit hashes 4021da177e4SLinus Torvalds 4031da177e4SLinus Torvalds Tiger is a hash function optimized for 64-bit processors while 4041da177e4SLinus Torvalds still having decent performance on 32-bit processors. 4051da177e4SLinus Torvalds Tiger was developed by Ross Anderson and Eli Biham. 4061da177e4SLinus Torvalds 4071da177e4SLinus Torvalds See also: 4081da177e4SLinus Torvalds <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. 4091da177e4SLinus Torvalds 410584fffc8SSebastian Siewiorconfig CRYPTO_WP512 411584fffc8SSebastian Siewior tristate "Whirlpool digest algorithms" 4124946510bSAdrian-Ken Rueegsegger select CRYPTO_HASH 4131da177e4SLinus Torvalds help 414584fffc8SSebastian Siewior Whirlpool hash algorithm 512, 384 and 256-bit hashes 4151da177e4SLinus Torvalds 416584fffc8SSebastian Siewior Whirlpool-512 is part of the NESSIE cryptographic primitives. 417584fffc8SSebastian Siewior Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard 4181da177e4SLinus Torvalds 4191da177e4SLinus Torvalds See also: 420584fffc8SSebastian Siewior <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html> 4211da177e4SLinus Torvalds 422584fffc8SSebastian Siewiorcomment "Ciphers" 4231da177e4SLinus Torvalds 4241da177e4SLinus Torvaldsconfig CRYPTO_AES 4251da177e4SLinus Torvalds tristate "AES cipher algorithms" 426cce9e06dSHerbert Xu select CRYPTO_ALGAPI 4271da177e4SLinus Torvalds help 4281da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 4291da177e4SLinus Torvalds algorithm. 4301da177e4SLinus Torvalds 4311da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 4321da177e4SLinus Torvalds both hardware and software across a wide range of computing 4331da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 4341da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 4351da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 4361da177e4SLinus Torvalds suited for restricted-space environments, in which it also 4371da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 4381da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 4391da177e4SLinus Torvalds 4401da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 4411da177e4SLinus Torvalds 4421da177e4SLinus Torvalds See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. 4431da177e4SLinus Torvalds 4441da177e4SLinus Torvaldsconfig CRYPTO_AES_586 4451da177e4SLinus Torvalds tristate "AES cipher algorithms (i586)" 446cce9e06dSHerbert Xu depends on (X86 || UML_X86) && !64BIT 447cce9e06dSHerbert Xu select CRYPTO_ALGAPI 4485157dea8SSebastian Siewior select CRYPTO_AES 4491da177e4SLinus Torvalds help 4501da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 4511da177e4SLinus Torvalds algorithm. 4521da177e4SLinus Torvalds 4531da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 4541da177e4SLinus Torvalds both hardware and software across a wide range of computing 4551da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 4561da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 4571da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 4581da177e4SLinus Torvalds suited for restricted-space environments, in which it also 4591da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 4601da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 4611da177e4SLinus Torvalds 4621da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 4631da177e4SLinus Torvalds 4641da177e4SLinus Torvalds See <http://csrc.nist.gov/encryption/aes/> for more information. 4651da177e4SLinus Torvalds 466a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64 467a2a892a2SAndreas Steinmetz tristate "AES cipher algorithms (x86_64)" 468cce9e06dSHerbert Xu depends on (X86 || UML_X86) && 64BIT 469cce9e06dSHerbert Xu select CRYPTO_ALGAPI 47081190b32SSebastian Siewior select CRYPTO_AES 471a2a892a2SAndreas Steinmetz help 472a2a892a2SAndreas Steinmetz AES cipher algorithms (FIPS-197). AES uses the Rijndael 473a2a892a2SAndreas Steinmetz algorithm. 474a2a892a2SAndreas Steinmetz 475a2a892a2SAndreas Steinmetz Rijndael appears to be consistently a very good performer in 476a2a892a2SAndreas Steinmetz both hardware and software across a wide range of computing 477a2a892a2SAndreas Steinmetz environments regardless of its use in feedback or non-feedback 478a2a892a2SAndreas Steinmetz modes. Its key setup time is excellent, and its key agility is 479a2a892a2SAndreas Steinmetz good. Rijndael's very low memory requirements make it very well 480a2a892a2SAndreas Steinmetz suited for restricted-space environments, in which it also 481a2a892a2SAndreas Steinmetz demonstrates excellent performance. Rijndael's operations are 482a2a892a2SAndreas Steinmetz among the easiest to defend against power and timing attacks. 483a2a892a2SAndreas Steinmetz 484a2a892a2SAndreas Steinmetz The AES specifies three key sizes: 128, 192 and 256 bits 485a2a892a2SAndreas Steinmetz 486a2a892a2SAndreas Steinmetz See <http://csrc.nist.gov/encryption/aes/> for more information. 487a2a892a2SAndreas Steinmetz 48854b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL 48954b6a1bdSHuang Ying tristate "AES cipher algorithms (AES-NI)" 49054b6a1bdSHuang Ying depends on (X86 || UML_X86) && 64BIT 49154b6a1bdSHuang Ying select CRYPTO_AES_X86_64 49254b6a1bdSHuang Ying select CRYPTO_CRYPTD 49354b6a1bdSHuang Ying select CRYPTO_ALGAPI 494*2cf4ac8bSHuang Ying select CRYPTO_FPU 49554b6a1bdSHuang Ying help 49654b6a1bdSHuang Ying Use Intel AES-NI instructions for AES algorithm. 49754b6a1bdSHuang Ying 49854b6a1bdSHuang Ying AES cipher algorithms (FIPS-197). AES uses the Rijndael 49954b6a1bdSHuang Ying algorithm. 50054b6a1bdSHuang Ying 50154b6a1bdSHuang Ying Rijndael appears to be consistently a very good performer in 50254b6a1bdSHuang Ying both hardware and software across a wide range of computing 50354b6a1bdSHuang Ying environments regardless of its use in feedback or non-feedback 50454b6a1bdSHuang Ying modes. Its key setup time is excellent, and its key agility is 50554b6a1bdSHuang Ying good. Rijndael's very low memory requirements make it very well 50654b6a1bdSHuang Ying suited for restricted-space environments, in which it also 50754b6a1bdSHuang Ying demonstrates excellent performance. Rijndael's operations are 50854b6a1bdSHuang Ying among the easiest to defend against power and timing attacks. 50954b6a1bdSHuang Ying 51054b6a1bdSHuang Ying The AES specifies three key sizes: 128, 192 and 256 bits 51154b6a1bdSHuang Ying 51254b6a1bdSHuang Ying See <http://csrc.nist.gov/encryption/aes/> for more information. 51354b6a1bdSHuang Ying 514*2cf4ac8bSHuang Ying In addition to AES cipher algorithm support, the 515*2cf4ac8bSHuang Ying acceleration for some popular block cipher mode is supported 516*2cf4ac8bSHuang Ying too, including ECB, CBC, CTR, LRW, PCBC, XTS. 517*2cf4ac8bSHuang Ying 5181da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS 5191da177e4SLinus Torvalds tristate "Anubis cipher algorithm" 520cce9e06dSHerbert Xu select CRYPTO_ALGAPI 5211da177e4SLinus Torvalds help 5221da177e4SLinus Torvalds Anubis cipher algorithm. 5231da177e4SLinus Torvalds 5241da177e4SLinus Torvalds Anubis is a variable key length cipher which can use keys from 5251da177e4SLinus Torvalds 128 bits to 320 bits in length. It was evaluated as a entrant 5261da177e4SLinus Torvalds in the NESSIE competition. 5271da177e4SLinus Torvalds 5281da177e4SLinus Torvalds See also: 5291da177e4SLinus Torvalds <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/> 5301da177e4SLinus Torvalds <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html> 5311da177e4SLinus Torvalds 532584fffc8SSebastian Siewiorconfig CRYPTO_ARC4 533584fffc8SSebastian Siewior tristate "ARC4 cipher algorithm" 534e2ee95b8SHye-Shik Chang select CRYPTO_ALGAPI 535e2ee95b8SHye-Shik Chang help 536584fffc8SSebastian Siewior ARC4 cipher algorithm. 537e2ee95b8SHye-Shik Chang 538584fffc8SSebastian Siewior ARC4 is a stream cipher using keys ranging from 8 bits to 2048 539584fffc8SSebastian Siewior bits in length. This algorithm is required for driver-based 540584fffc8SSebastian Siewior WEP, but it should not be for other purposes because of the 541584fffc8SSebastian Siewior weakness of the algorithm. 542584fffc8SSebastian Siewior 543584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH 544584fffc8SSebastian Siewior tristate "Blowfish cipher algorithm" 545584fffc8SSebastian Siewior select CRYPTO_ALGAPI 546584fffc8SSebastian Siewior help 547584fffc8SSebastian Siewior Blowfish cipher algorithm, by Bruce Schneier. 548584fffc8SSebastian Siewior 549584fffc8SSebastian Siewior This is a variable key length cipher which can use keys from 32 550584fffc8SSebastian Siewior bits to 448 bits in length. It's fast, simple and specifically 551584fffc8SSebastian Siewior designed for use on "large microprocessors". 552e2ee95b8SHye-Shik Chang 553e2ee95b8SHye-Shik Chang See also: 554584fffc8SSebastian Siewior <http://www.schneier.com/blowfish.html> 555584fffc8SSebastian Siewior 556584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA 557584fffc8SSebastian Siewior tristate "Camellia cipher algorithms" 558584fffc8SSebastian Siewior depends on CRYPTO 559584fffc8SSebastian Siewior select CRYPTO_ALGAPI 560584fffc8SSebastian Siewior help 561584fffc8SSebastian Siewior Camellia cipher algorithms module. 562584fffc8SSebastian Siewior 563584fffc8SSebastian Siewior Camellia is a symmetric key block cipher developed jointly 564584fffc8SSebastian Siewior at NTT and Mitsubishi Electric Corporation. 565584fffc8SSebastian Siewior 566584fffc8SSebastian Siewior The Camellia specifies three key sizes: 128, 192 and 256 bits. 567584fffc8SSebastian Siewior 568584fffc8SSebastian Siewior See also: 569584fffc8SSebastian Siewior <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 570584fffc8SSebastian Siewior 571584fffc8SSebastian Siewiorconfig CRYPTO_CAST5 572584fffc8SSebastian Siewior tristate "CAST5 (CAST-128) cipher algorithm" 573584fffc8SSebastian Siewior select CRYPTO_ALGAPI 574584fffc8SSebastian Siewior help 575584fffc8SSebastian Siewior The CAST5 encryption algorithm (synonymous with CAST-128) is 576584fffc8SSebastian Siewior described in RFC2144. 577584fffc8SSebastian Siewior 578584fffc8SSebastian Siewiorconfig CRYPTO_CAST6 579584fffc8SSebastian Siewior tristate "CAST6 (CAST-256) cipher algorithm" 580584fffc8SSebastian Siewior select CRYPTO_ALGAPI 581584fffc8SSebastian Siewior help 582584fffc8SSebastian Siewior The CAST6 encryption algorithm (synonymous with CAST-256) is 583584fffc8SSebastian Siewior described in RFC2612. 584584fffc8SSebastian Siewior 585584fffc8SSebastian Siewiorconfig CRYPTO_DES 586584fffc8SSebastian Siewior tristate "DES and Triple DES EDE cipher algorithms" 587584fffc8SSebastian Siewior select CRYPTO_ALGAPI 588584fffc8SSebastian Siewior help 589584fffc8SSebastian Siewior DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 590584fffc8SSebastian Siewior 591584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT 592584fffc8SSebastian Siewior tristate "FCrypt cipher algorithm" 593584fffc8SSebastian Siewior select CRYPTO_ALGAPI 594584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 595584fffc8SSebastian Siewior help 596584fffc8SSebastian Siewior FCrypt algorithm used by RxRPC. 597584fffc8SSebastian Siewior 598584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD 599584fffc8SSebastian Siewior tristate "Khazad cipher algorithm" 600584fffc8SSebastian Siewior select CRYPTO_ALGAPI 601584fffc8SSebastian Siewior help 602584fffc8SSebastian Siewior Khazad cipher algorithm. 603584fffc8SSebastian Siewior 604584fffc8SSebastian Siewior Khazad was a finalist in the initial NESSIE competition. It is 605584fffc8SSebastian Siewior an algorithm optimized for 64-bit processors with good performance 606584fffc8SSebastian Siewior on 32-bit processors. Khazad uses an 128 bit key size. 607584fffc8SSebastian Siewior 608584fffc8SSebastian Siewior See also: 609584fffc8SSebastian Siewior <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html> 610e2ee95b8SHye-Shik Chang 6112407d608STan Swee Hengconfig CRYPTO_SALSA20 6122407d608STan Swee Heng tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)" 6132407d608STan Swee Heng depends on EXPERIMENTAL 6142407d608STan Swee Heng select CRYPTO_BLKCIPHER 6152407d608STan Swee Heng help 6162407d608STan Swee Heng Salsa20 stream cipher algorithm. 6172407d608STan Swee Heng 6182407d608STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 6192407d608STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 6202407d608STan Swee Heng 6212407d608STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 6222407d608STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 6231da177e4SLinus Torvalds 624974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586 625974e4b75STan Swee Heng tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)" 626974e4b75STan Swee Heng depends on (X86 || UML_X86) && !64BIT 627974e4b75STan Swee Heng depends on EXPERIMENTAL 628974e4b75STan Swee Heng select CRYPTO_BLKCIPHER 629974e4b75STan Swee Heng help 630974e4b75STan Swee Heng Salsa20 stream cipher algorithm. 631974e4b75STan Swee Heng 632974e4b75STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 633974e4b75STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 634974e4b75STan Swee Heng 635974e4b75STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 636974e4b75STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 637974e4b75STan Swee Heng 6389a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64 6399a7dafbbSTan Swee Heng tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)" 6409a7dafbbSTan Swee Heng depends on (X86 || UML_X86) && 64BIT 6419a7dafbbSTan Swee Heng depends on EXPERIMENTAL 6429a7dafbbSTan Swee Heng select CRYPTO_BLKCIPHER 6439a7dafbbSTan Swee Heng help 6449a7dafbbSTan Swee Heng Salsa20 stream cipher algorithm. 6459a7dafbbSTan Swee Heng 6469a7dafbbSTan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 6479a7dafbbSTan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 6489a7dafbbSTan Swee Heng 6499a7dafbbSTan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 6509a7dafbbSTan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 6519a7dafbbSTan Swee Heng 652584fffc8SSebastian Siewiorconfig CRYPTO_SEED 653584fffc8SSebastian Siewior tristate "SEED cipher algorithm" 654584fffc8SSebastian Siewior select CRYPTO_ALGAPI 655584fffc8SSebastian Siewior help 656584fffc8SSebastian Siewior SEED cipher algorithm (RFC4269). 657584fffc8SSebastian Siewior 658584fffc8SSebastian Siewior SEED is a 128-bit symmetric key block cipher that has been 659584fffc8SSebastian Siewior developed by KISA (Korea Information Security Agency) as a 660584fffc8SSebastian Siewior national standard encryption algorithm of the Republic of Korea. 661584fffc8SSebastian Siewior It is a 16 round block cipher with the key size of 128 bit. 662584fffc8SSebastian Siewior 663584fffc8SSebastian Siewior See also: 664584fffc8SSebastian Siewior <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> 665584fffc8SSebastian Siewior 666584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT 667584fffc8SSebastian Siewior tristate "Serpent cipher algorithm" 668584fffc8SSebastian Siewior select CRYPTO_ALGAPI 669584fffc8SSebastian Siewior help 670584fffc8SSebastian Siewior Serpent cipher algorithm, by Anderson, Biham & Knudsen. 671584fffc8SSebastian Siewior 672584fffc8SSebastian Siewior Keys are allowed to be from 0 to 256 bits in length, in steps 673584fffc8SSebastian Siewior of 8 bits. Also includes the 'Tnepres' algorithm, a reversed 674584fffc8SSebastian Siewior variant of Serpent for compatibility with old kerneli.org code. 675584fffc8SSebastian Siewior 676584fffc8SSebastian Siewior See also: 677584fffc8SSebastian Siewior <http://www.cl.cam.ac.uk/~rja14/serpent.html> 678584fffc8SSebastian Siewior 679584fffc8SSebastian Siewiorconfig CRYPTO_TEA 680584fffc8SSebastian Siewior tristate "TEA, XTEA and XETA cipher algorithms" 681584fffc8SSebastian Siewior select CRYPTO_ALGAPI 682584fffc8SSebastian Siewior help 683584fffc8SSebastian Siewior TEA cipher algorithm. 684584fffc8SSebastian Siewior 685584fffc8SSebastian Siewior Tiny Encryption Algorithm is a simple cipher that uses 686584fffc8SSebastian Siewior many rounds for security. It is very fast and uses 687584fffc8SSebastian Siewior little memory. 688584fffc8SSebastian Siewior 689584fffc8SSebastian Siewior Xtendend Tiny Encryption Algorithm is a modification to 690584fffc8SSebastian Siewior the TEA algorithm to address a potential key weakness 691584fffc8SSebastian Siewior in the TEA algorithm. 692584fffc8SSebastian Siewior 693584fffc8SSebastian Siewior Xtendend Encryption Tiny Algorithm is a mis-implementation 694584fffc8SSebastian Siewior of the XTEA algorithm for compatibility purposes. 695584fffc8SSebastian Siewior 696584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH 697584fffc8SSebastian Siewior tristate "Twofish cipher algorithm" 698584fffc8SSebastian Siewior select CRYPTO_ALGAPI 699584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 700584fffc8SSebastian Siewior help 701584fffc8SSebastian Siewior Twofish cipher algorithm. 702584fffc8SSebastian Siewior 703584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 704584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 705584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 706584fffc8SSebastian Siewior bits. 707584fffc8SSebastian Siewior 708584fffc8SSebastian Siewior See also: 709584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 710584fffc8SSebastian Siewior 711584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON 712584fffc8SSebastian Siewior tristate 713584fffc8SSebastian Siewior help 714584fffc8SSebastian Siewior Common parts of the Twofish cipher algorithm shared by the 715584fffc8SSebastian Siewior generic c and the assembler implementations. 716584fffc8SSebastian Siewior 717584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586 718584fffc8SSebastian Siewior tristate "Twofish cipher algorithms (i586)" 719584fffc8SSebastian Siewior depends on (X86 || UML_X86) && !64BIT 720584fffc8SSebastian Siewior select CRYPTO_ALGAPI 721584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 722584fffc8SSebastian Siewior help 723584fffc8SSebastian Siewior Twofish cipher algorithm. 724584fffc8SSebastian Siewior 725584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 726584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 727584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 728584fffc8SSebastian Siewior bits. 729584fffc8SSebastian Siewior 730584fffc8SSebastian Siewior See also: 731584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 732584fffc8SSebastian Siewior 733584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64 734584fffc8SSebastian Siewior tristate "Twofish cipher algorithm (x86_64)" 735584fffc8SSebastian Siewior depends on (X86 || UML_X86) && 64BIT 736584fffc8SSebastian Siewior select CRYPTO_ALGAPI 737584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 738584fffc8SSebastian Siewior help 739584fffc8SSebastian Siewior Twofish cipher algorithm (x86_64). 740584fffc8SSebastian Siewior 741584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 742584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 743584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 744584fffc8SSebastian Siewior bits. 745584fffc8SSebastian Siewior 746584fffc8SSebastian Siewior See also: 747584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 748584fffc8SSebastian Siewior 749584fffc8SSebastian Siewiorcomment "Compression" 750584fffc8SSebastian Siewior 7511da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE 7521da177e4SLinus Torvalds tristate "Deflate compression algorithm" 753cce9e06dSHerbert Xu select CRYPTO_ALGAPI 7541da177e4SLinus Torvalds select ZLIB_INFLATE 7551da177e4SLinus Torvalds select ZLIB_DEFLATE 7561da177e4SLinus Torvalds help 7571da177e4SLinus Torvalds This is the Deflate algorithm (RFC1951), specified for use in 7581da177e4SLinus Torvalds IPSec with the IPCOMP protocol (RFC3173, RFC2394). 7591da177e4SLinus Torvalds 7601da177e4SLinus Torvalds You will most probably want this if using IPSec. 7611da177e4SLinus Torvalds 762bf68e65eSGeert Uytterhoevenconfig CRYPTO_ZLIB 763bf68e65eSGeert Uytterhoeven tristate "Zlib compression algorithm" 764bf68e65eSGeert Uytterhoeven select CRYPTO_PCOMP 765bf68e65eSGeert Uytterhoeven select ZLIB_INFLATE 766bf68e65eSGeert Uytterhoeven select ZLIB_DEFLATE 767bf68e65eSGeert Uytterhoeven select NLATTR 768bf68e65eSGeert Uytterhoeven help 769bf68e65eSGeert Uytterhoeven This is the zlib algorithm. 770bf68e65eSGeert Uytterhoeven 7710b77abb3SZoltan Sogorconfig CRYPTO_LZO 7720b77abb3SZoltan Sogor tristate "LZO compression algorithm" 7730b77abb3SZoltan Sogor select CRYPTO_ALGAPI 7740b77abb3SZoltan Sogor select LZO_COMPRESS 7750b77abb3SZoltan Sogor select LZO_DECOMPRESS 7760b77abb3SZoltan Sogor help 7770b77abb3SZoltan Sogor This is the LZO algorithm. 7780b77abb3SZoltan Sogor 77917f0f4a4SNeil Hormancomment "Random Number Generation" 78017f0f4a4SNeil Horman 78117f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG 78217f0f4a4SNeil Horman tristate "Pseudo Random Number Generation for Cryptographic modules" 78317f0f4a4SNeil Horman select CRYPTO_AES 78417f0f4a4SNeil Horman select CRYPTO_RNG 78517f0f4a4SNeil Horman select CRYPTO_FIPS 78617f0f4a4SNeil Horman help 78717f0f4a4SNeil Horman This option enables the generic pseudo random number generator 78817f0f4a4SNeil Horman for cryptographic modules. Uses the Algorithm specified in 78917f0f4a4SNeil Horman ANSI X9.31 A.2.4 79017f0f4a4SNeil Horman 7911da177e4SLinus Torvaldssource "drivers/crypto/Kconfig" 7921da177e4SLinus Torvalds 793cce9e06dSHerbert Xuendif # if CRYPTO 794