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" 264e4ed83bSNeil Horman depends on CRYPTO_ANSI_CPRNG 27ccb778e1SNeil Horman help 28ccb778e1SNeil Horman This options enables the fips boot option which is 29ccb778e1SNeil Horman required if you want to system to operate in a FIPS 200 30ccb778e1SNeil Horman certification. You should say no unless you know what 314e4ed83bSNeil Horman this is. Note that CRYPTO_ANSI_CPRNG is requred if this 324e4ed83bSNeil Horman option is selected 33ccb778e1SNeil Horman 34cce9e06dSHerbert Xuconfig CRYPTO_ALGAPI 35cce9e06dSHerbert Xu tristate 366a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 37cce9e06dSHerbert Xu help 38cce9e06dSHerbert Xu This option provides the API for cryptographic algorithms. 39cce9e06dSHerbert Xu 406a0fcbb4SHerbert Xuconfig CRYPTO_ALGAPI2 416a0fcbb4SHerbert Xu tristate 426a0fcbb4SHerbert Xu 431ae97820SHerbert Xuconfig CRYPTO_AEAD 441ae97820SHerbert Xu tristate 456a0fcbb4SHerbert Xu select CRYPTO_AEAD2 461ae97820SHerbert Xu select CRYPTO_ALGAPI 471ae97820SHerbert Xu 486a0fcbb4SHerbert Xuconfig CRYPTO_AEAD2 496a0fcbb4SHerbert Xu tristate 506a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 516a0fcbb4SHerbert Xu 525cde0af2SHerbert Xuconfig CRYPTO_BLKCIPHER 535cde0af2SHerbert Xu tristate 546a0fcbb4SHerbert Xu select CRYPTO_BLKCIPHER2 555cde0af2SHerbert Xu select CRYPTO_ALGAPI 566a0fcbb4SHerbert Xu 576a0fcbb4SHerbert Xuconfig CRYPTO_BLKCIPHER2 586a0fcbb4SHerbert Xu tristate 596a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 606a0fcbb4SHerbert Xu select CRYPTO_RNG2 610a2e821dSHuang Ying select CRYPTO_WORKQUEUE 625cde0af2SHerbert Xu 63055bcee3SHerbert Xuconfig CRYPTO_HASH 64055bcee3SHerbert Xu tristate 656a0fcbb4SHerbert Xu select CRYPTO_HASH2 66055bcee3SHerbert Xu select CRYPTO_ALGAPI 67055bcee3SHerbert Xu 686a0fcbb4SHerbert Xuconfig CRYPTO_HASH2 696a0fcbb4SHerbert Xu tristate 706a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 716a0fcbb4SHerbert Xu 7217f0f4a4SNeil Hormanconfig CRYPTO_RNG 7317f0f4a4SNeil Horman tristate 746a0fcbb4SHerbert Xu select CRYPTO_RNG2 7517f0f4a4SNeil Horman select CRYPTO_ALGAPI 7617f0f4a4SNeil Horman 776a0fcbb4SHerbert Xuconfig CRYPTO_RNG2 786a0fcbb4SHerbert Xu tristate 796a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 806a0fcbb4SHerbert Xu 81a1d2f095SGeert Uytterhoevenconfig CRYPTO_PCOMP 82a1d2f095SGeert Uytterhoeven tristate 83a1d2f095SGeert Uytterhoeven select CRYPTO_ALGAPI2 84a1d2f095SGeert Uytterhoeven 852b8c19dbSHerbert Xuconfig CRYPTO_MANAGER 862b8c19dbSHerbert Xu tristate "Cryptographic algorithm manager" 876a0fcbb4SHerbert Xu select CRYPTO_MANAGER2 882b8c19dbSHerbert Xu help 892b8c19dbSHerbert Xu Create default cryptographic template instantiations such as 902b8c19dbSHerbert Xu cbc(aes). 912b8c19dbSHerbert Xu 926a0fcbb4SHerbert Xuconfig CRYPTO_MANAGER2 936a0fcbb4SHerbert Xu def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) 946a0fcbb4SHerbert Xu select CRYPTO_AEAD2 956a0fcbb4SHerbert Xu select CRYPTO_HASH2 966a0fcbb4SHerbert Xu select CRYPTO_BLKCIPHER2 970c01aed5SGeert Uytterhoeven select CRYPTO_PCOMP 986a0fcbb4SHerbert Xu 99584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL 100584fffc8SSebastian Siewior tristate "GF(2^128) multiplication functions (EXPERIMENTAL)" 101584fffc8SSebastian Siewior depends on EXPERIMENTAL 102584fffc8SSebastian Siewior help 103584fffc8SSebastian Siewior Efficient table driven implementation of multiplications in the 104584fffc8SSebastian Siewior field GF(2^128). This is needed by some cypher modes. This 105584fffc8SSebastian Siewior option will be selected automatically if you select such a 106584fffc8SSebastian Siewior cipher mode. Only select this option by hand if you expect to load 107584fffc8SSebastian Siewior an external module that requires these functions. 108584fffc8SSebastian Siewior 109584fffc8SSebastian Siewiorconfig CRYPTO_NULL 110584fffc8SSebastian Siewior tristate "Null algorithms" 111584fffc8SSebastian Siewior select CRYPTO_ALGAPI 112584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 113d35d2454SHerbert Xu select CRYPTO_HASH 114584fffc8SSebastian Siewior help 115584fffc8SSebastian Siewior These are 'Null' algorithms, used by IPsec, which do nothing. 116584fffc8SSebastian Siewior 117*5068c7a8SSteffen Klassertconfig CRYPTO_PCRYPT 118*5068c7a8SSteffen Klassert tristate "Parallel crypto engine (EXPERIMENTAL)" 119*5068c7a8SSteffen Klassert depends on SMP && EXPERIMENTAL 120*5068c7a8SSteffen Klassert select PADATA 121*5068c7a8SSteffen Klassert select CRYPTO_MANAGER 122*5068c7a8SSteffen Klassert select CRYPTO_AEAD 123*5068c7a8SSteffen Klassert help 124*5068c7a8SSteffen Klassert This converts an arbitrary crypto algorithm into a parallel 125*5068c7a8SSteffen Klassert algorithm that executes in kernel threads. 126*5068c7a8SSteffen Klassert 12725c38d3fSHuang Yingconfig CRYPTO_WORKQUEUE 12825c38d3fSHuang Ying tristate 12925c38d3fSHuang Ying 130584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD 131584fffc8SSebastian Siewior tristate "Software async crypto daemon" 132584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 133b8a28251SLoc Ho select CRYPTO_HASH 134584fffc8SSebastian Siewior select CRYPTO_MANAGER 135254eff77SHuang Ying select CRYPTO_WORKQUEUE 136584fffc8SSebastian Siewior help 137584fffc8SSebastian Siewior This is a generic software asynchronous crypto daemon that 138584fffc8SSebastian Siewior converts an arbitrary synchronous software crypto algorithm 139584fffc8SSebastian Siewior into an asynchronous algorithm that executes in a kernel thread. 140584fffc8SSebastian Siewior 141584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC 142584fffc8SSebastian Siewior tristate "Authenc support" 143584fffc8SSebastian Siewior select CRYPTO_AEAD 144584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 145584fffc8SSebastian Siewior select CRYPTO_MANAGER 146584fffc8SSebastian Siewior select CRYPTO_HASH 147584fffc8SSebastian Siewior help 148584fffc8SSebastian Siewior Authenc: Combined mode wrapper for IPsec. 149584fffc8SSebastian Siewior This is required for IPSec. 150584fffc8SSebastian Siewior 151584fffc8SSebastian Siewiorconfig CRYPTO_TEST 152584fffc8SSebastian Siewior tristate "Testing module" 153584fffc8SSebastian Siewior depends on m 154da7f033dSHerbert Xu select CRYPTO_MANAGER 155584fffc8SSebastian Siewior help 156584fffc8SSebastian Siewior Quick & dirty crypto test module. 157584fffc8SSebastian Siewior 158584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data" 159584fffc8SSebastian Siewior 160584fffc8SSebastian Siewiorconfig CRYPTO_CCM 161584fffc8SSebastian Siewior tristate "CCM support" 162584fffc8SSebastian Siewior select CRYPTO_CTR 163584fffc8SSebastian Siewior select CRYPTO_AEAD 164584fffc8SSebastian Siewior help 165584fffc8SSebastian Siewior Support for Counter with CBC MAC. Required for IPsec. 166584fffc8SSebastian Siewior 167584fffc8SSebastian Siewiorconfig CRYPTO_GCM 168584fffc8SSebastian Siewior tristate "GCM/GMAC support" 169584fffc8SSebastian Siewior select CRYPTO_CTR 170584fffc8SSebastian Siewior select CRYPTO_AEAD 1719382d97aSHuang Ying select CRYPTO_GHASH 172584fffc8SSebastian Siewior help 173584fffc8SSebastian Siewior Support for Galois/Counter Mode (GCM) and Galois Message 174584fffc8SSebastian Siewior Authentication Code (GMAC). Required for IPSec. 175584fffc8SSebastian Siewior 176584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV 177584fffc8SSebastian Siewior tristate "Sequence Number IV Generator" 178584fffc8SSebastian Siewior select CRYPTO_AEAD 179584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 180a0f000ecSHerbert Xu select CRYPTO_RNG 181584fffc8SSebastian Siewior help 182584fffc8SSebastian Siewior This IV generator generates an IV based on a sequence number by 183584fffc8SSebastian Siewior xoring it with a salt. This algorithm is mainly useful for CTR 184584fffc8SSebastian Siewior 185584fffc8SSebastian Siewiorcomment "Block modes" 186584fffc8SSebastian Siewior 187584fffc8SSebastian Siewiorconfig CRYPTO_CBC 188584fffc8SSebastian Siewior tristate "CBC support" 189584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 190584fffc8SSebastian Siewior select CRYPTO_MANAGER 191584fffc8SSebastian Siewior help 192584fffc8SSebastian Siewior CBC: Cipher Block Chaining mode 193584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 194584fffc8SSebastian Siewior 195584fffc8SSebastian Siewiorconfig CRYPTO_CTR 196584fffc8SSebastian Siewior tristate "CTR support" 197584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 198584fffc8SSebastian Siewior select CRYPTO_SEQIV 199584fffc8SSebastian Siewior select CRYPTO_MANAGER 200584fffc8SSebastian Siewior help 201584fffc8SSebastian Siewior CTR: Counter mode 202584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 203584fffc8SSebastian Siewior 204584fffc8SSebastian Siewiorconfig CRYPTO_CTS 205584fffc8SSebastian Siewior tristate "CTS support" 206584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 207584fffc8SSebastian Siewior help 208584fffc8SSebastian Siewior CTS: Cipher Text Stealing 209584fffc8SSebastian Siewior This is the Cipher Text Stealing mode as described by 210584fffc8SSebastian Siewior Section 8 of rfc2040 and referenced by rfc3962. 211584fffc8SSebastian Siewior (rfc3962 includes errata information in its Appendix A) 212584fffc8SSebastian Siewior This mode is required for Kerberos gss mechanism support 213584fffc8SSebastian Siewior for AES encryption. 214584fffc8SSebastian Siewior 215584fffc8SSebastian Siewiorconfig CRYPTO_ECB 216584fffc8SSebastian Siewior tristate "ECB support" 217584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 218584fffc8SSebastian Siewior select CRYPTO_MANAGER 219584fffc8SSebastian Siewior help 220584fffc8SSebastian Siewior ECB: Electronic CodeBook mode 221584fffc8SSebastian Siewior This is the simplest block cipher algorithm. It simply encrypts 222584fffc8SSebastian Siewior the input block by block. 223584fffc8SSebastian Siewior 224584fffc8SSebastian Siewiorconfig CRYPTO_LRW 225584fffc8SSebastian Siewior tristate "LRW support (EXPERIMENTAL)" 226584fffc8SSebastian Siewior depends on EXPERIMENTAL 227584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 228584fffc8SSebastian Siewior select CRYPTO_MANAGER 229584fffc8SSebastian Siewior select CRYPTO_GF128MUL 230584fffc8SSebastian Siewior help 231584fffc8SSebastian Siewior LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable 232584fffc8SSebastian Siewior narrow block cipher mode for dm-crypt. Use it with cipher 233584fffc8SSebastian Siewior specification string aes-lrw-benbi, the key must be 256, 320 or 384. 234584fffc8SSebastian Siewior The first 128, 192 or 256 bits in the key are used for AES and the 235584fffc8SSebastian Siewior rest is used to tie each cipher block to its logical position. 236584fffc8SSebastian Siewior 237584fffc8SSebastian Siewiorconfig CRYPTO_PCBC 238584fffc8SSebastian Siewior tristate "PCBC support" 239584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 240584fffc8SSebastian Siewior select CRYPTO_MANAGER 241584fffc8SSebastian Siewior help 242584fffc8SSebastian Siewior PCBC: Propagating Cipher Block Chaining mode 243584fffc8SSebastian Siewior This block cipher algorithm is required for RxRPC. 244584fffc8SSebastian Siewior 245584fffc8SSebastian Siewiorconfig CRYPTO_XTS 246584fffc8SSebastian Siewior tristate "XTS support (EXPERIMENTAL)" 247584fffc8SSebastian Siewior depends on EXPERIMENTAL 248584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 249584fffc8SSebastian Siewior select CRYPTO_MANAGER 250584fffc8SSebastian Siewior select CRYPTO_GF128MUL 251584fffc8SSebastian Siewior help 252584fffc8SSebastian Siewior XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, 253584fffc8SSebastian Siewior key size 256, 384 or 512 bits. This implementation currently 254584fffc8SSebastian Siewior can't handle a sectorsize which is not a multiple of 16 bytes. 255584fffc8SSebastian Siewior 256150c7e85SHuang Yingconfig CRYPTO_FPU 257150c7e85SHuang Ying tristate 258150c7e85SHuang Ying select CRYPTO_BLKCIPHER 259150c7e85SHuang Ying select CRYPTO_MANAGER 260150c7e85SHuang Ying 261584fffc8SSebastian Siewiorcomment "Hash modes" 262584fffc8SSebastian Siewior 2631da177e4SLinus Torvaldsconfig CRYPTO_HMAC 2648425165dSHerbert Xu tristate "HMAC support" 2650796ae06SHerbert Xu select CRYPTO_HASH 26643518407SHerbert Xu select CRYPTO_MANAGER 2671da177e4SLinus Torvalds help 2681da177e4SLinus Torvalds HMAC: Keyed-Hashing for Message Authentication (RFC2104). 2691da177e4SLinus Torvalds This is required for IPSec. 2701da177e4SLinus Torvalds 271333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC 272333b0d7eSKazunori MIYAZAWA tristate "XCBC support" 273333b0d7eSKazunori MIYAZAWA depends on EXPERIMENTAL 274333b0d7eSKazunori MIYAZAWA select CRYPTO_HASH 275333b0d7eSKazunori MIYAZAWA select CRYPTO_MANAGER 276333b0d7eSKazunori MIYAZAWA help 277333b0d7eSKazunori MIYAZAWA XCBC: Keyed-Hashing with encryption algorithm 278333b0d7eSKazunori MIYAZAWA http://www.ietf.org/rfc/rfc3566.txt 279333b0d7eSKazunori MIYAZAWA http://csrc.nist.gov/encryption/modes/proposedmodes/ 280333b0d7eSKazunori MIYAZAWA xcbc-mac/xcbc-mac-spec.pdf 281333b0d7eSKazunori MIYAZAWA 282f1939f7cSShane Wangconfig CRYPTO_VMAC 283f1939f7cSShane Wang tristate "VMAC support" 284f1939f7cSShane Wang depends on EXPERIMENTAL 285f1939f7cSShane Wang select CRYPTO_HASH 286f1939f7cSShane Wang select CRYPTO_MANAGER 287f1939f7cSShane Wang help 288f1939f7cSShane Wang VMAC is a message authentication algorithm designed for 289f1939f7cSShane Wang very high speed on 64-bit architectures. 290f1939f7cSShane Wang 291f1939f7cSShane Wang See also: 292f1939f7cSShane Wang <http://fastcrypto.org/vmac> 293f1939f7cSShane Wang 294584fffc8SSebastian Siewiorcomment "Digest" 295584fffc8SSebastian Siewior 296584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C 297584fffc8SSebastian Siewior tristate "CRC32c CRC algorithm" 2985773a3e6SHerbert Xu select CRYPTO_HASH 2991da177e4SLinus Torvalds help 300584fffc8SSebastian Siewior Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used 301584fffc8SSebastian Siewior by iSCSI for header and data digests and by others. 30269c35efcSHerbert Xu See Castagnoli93. Module will be crc32c. 3031da177e4SLinus Torvalds 3048cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL 3058cb51ba8SAustin Zhang tristate "CRC32c INTEL hardware acceleration" 3068cb51ba8SAustin Zhang depends on X86 3078cb51ba8SAustin Zhang select CRYPTO_HASH 3088cb51ba8SAustin Zhang help 3098cb51ba8SAustin Zhang In Intel processor with SSE4.2 supported, the processor will 3108cb51ba8SAustin Zhang support CRC32C implementation using hardware accelerated CRC32 3118cb51ba8SAustin Zhang instruction. This option will create 'crc32c-intel' module, 3128cb51ba8SAustin Zhang which will enable any routine to use the CRC32 instruction to 3138cb51ba8SAustin Zhang gain performance compared with software implementation. 3148cb51ba8SAustin Zhang Module will be crc32c-intel. 3158cb51ba8SAustin Zhang 3162cdc6899SHuang Yingconfig CRYPTO_GHASH 3172cdc6899SHuang Ying tristate "GHASH digest algorithm" 3182cdc6899SHuang Ying select CRYPTO_SHASH 3192cdc6899SHuang Ying select CRYPTO_GF128MUL 3202cdc6899SHuang Ying help 3212cdc6899SHuang Ying GHASH is message digest algorithm for GCM (Galois/Counter Mode). 3222cdc6899SHuang Ying 3231da177e4SLinus Torvaldsconfig CRYPTO_MD4 3241da177e4SLinus Torvalds tristate "MD4 digest algorithm" 325808a1763SAdrian-Ken Rueegsegger select CRYPTO_HASH 3261da177e4SLinus Torvalds help 3271da177e4SLinus Torvalds MD4 message digest algorithm (RFC1320). 3281da177e4SLinus Torvalds 3291da177e4SLinus Torvaldsconfig CRYPTO_MD5 3301da177e4SLinus Torvalds tristate "MD5 digest algorithm" 33114b75ba7SAdrian-Ken Rueegsegger select CRYPTO_HASH 3321da177e4SLinus Torvalds help 3331da177e4SLinus Torvalds MD5 message digest algorithm (RFC1321). 3341da177e4SLinus Torvalds 335584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC 336584fffc8SSebastian Siewior tristate "Michael MIC keyed digest algorithm" 33719e2bf14SAdrian-Ken Rueegsegger select CRYPTO_HASH 338584fffc8SSebastian Siewior help 339584fffc8SSebastian Siewior Michael MIC is used for message integrity protection in TKIP 340584fffc8SSebastian Siewior (IEEE 802.11i). This algorithm is required for TKIP, but it 341584fffc8SSebastian Siewior should not be used for other purposes because of the weakness 342584fffc8SSebastian Siewior of the algorithm. 343584fffc8SSebastian Siewior 34482798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128 34582798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-128 digest algorithm" 3467c4468bcSHerbert Xu select CRYPTO_HASH 34782798f90SAdrian-Ken Rueegsegger help 34882798f90SAdrian-Ken Rueegsegger RIPEMD-128 (ISO/IEC 10118-3:2004). 34982798f90SAdrian-Ken Rueegsegger 35082798f90SAdrian-Ken Rueegsegger RIPEMD-128 is a 128-bit cryptographic hash function. It should only 35182798f90SAdrian-Ken Rueegsegger to be used as a secure replacement for RIPEMD. For other use cases 35282798f90SAdrian-Ken Rueegsegger RIPEMD-160 should be used. 35382798f90SAdrian-Ken Rueegsegger 35482798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 35582798f90SAdrian-Ken Rueegsegger See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> 35682798f90SAdrian-Ken Rueegsegger 35782798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160 35882798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-160 digest algorithm" 359e5835fbaSHerbert Xu select CRYPTO_HASH 36082798f90SAdrian-Ken Rueegsegger help 36182798f90SAdrian-Ken Rueegsegger RIPEMD-160 (ISO/IEC 10118-3:2004). 36282798f90SAdrian-Ken Rueegsegger 36382798f90SAdrian-Ken Rueegsegger RIPEMD-160 is a 160-bit cryptographic hash function. It is intended 36482798f90SAdrian-Ken Rueegsegger to be used as a secure replacement for the 128-bit hash functions 365b6d44341SAdrian Bunk MD4, MD5 and it's predecessor RIPEMD 366b6d44341SAdrian Bunk (not to be confused with RIPEMD-128). 36782798f90SAdrian-Ken Rueegsegger 368b6d44341SAdrian Bunk It's speed is comparable to SHA1 and there are no known attacks 369b6d44341SAdrian Bunk against RIPEMD-160. 370534fe2c1SAdrian-Ken Rueegsegger 371534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 372534fe2c1SAdrian-Ken Rueegsegger See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> 373534fe2c1SAdrian-Ken Rueegsegger 374534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256 375534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-256 digest algorithm" 376d8a5e2e9SHerbert Xu select CRYPTO_HASH 377534fe2c1SAdrian-Ken Rueegsegger help 378b6d44341SAdrian Bunk RIPEMD-256 is an optional extension of RIPEMD-128 with a 379b6d44341SAdrian Bunk 256 bit hash. It is intended for applications that require 380b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 381b6d44341SAdrian Bunk (than RIPEMD-128). 382534fe2c1SAdrian-Ken Rueegsegger 383534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 384534fe2c1SAdrian-Ken Rueegsegger See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> 385534fe2c1SAdrian-Ken Rueegsegger 386534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320 387534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-320 digest algorithm" 3883b8efb4cSHerbert Xu select CRYPTO_HASH 389534fe2c1SAdrian-Ken Rueegsegger help 390b6d44341SAdrian Bunk RIPEMD-320 is an optional extension of RIPEMD-160 with a 391b6d44341SAdrian Bunk 320 bit hash. It is intended for applications that require 392b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 393b6d44341SAdrian Bunk (than RIPEMD-160). 394534fe2c1SAdrian-Ken Rueegsegger 39582798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 39682798f90SAdrian-Ken Rueegsegger See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> 39782798f90SAdrian-Ken Rueegsegger 3981da177e4SLinus Torvaldsconfig CRYPTO_SHA1 3991da177e4SLinus Torvalds tristate "SHA1 digest algorithm" 40054ccb367SAdrian-Ken Rueegsegger select CRYPTO_HASH 4011da177e4SLinus Torvalds help 4021da177e4SLinus Torvalds SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 4031da177e4SLinus Torvalds 4041da177e4SLinus Torvaldsconfig CRYPTO_SHA256 405cd12fb90SJonathan Lynch tristate "SHA224 and SHA256 digest algorithm" 40650e109b5SAdrian-Ken Rueegsegger select CRYPTO_HASH 4071da177e4SLinus Torvalds help 4081da177e4SLinus Torvalds SHA256 secure hash standard (DFIPS 180-2). 4091da177e4SLinus Torvalds 4101da177e4SLinus Torvalds This version of SHA implements a 256 bit hash with 128 bits of 4111da177e4SLinus Torvalds security against collision attacks. 4121da177e4SLinus Torvalds 413cd12fb90SJonathan Lynch This code also includes SHA-224, a 224 bit hash with 112 bits 414cd12fb90SJonathan Lynch of security against collision attacks. 415cd12fb90SJonathan Lynch 4161da177e4SLinus Torvaldsconfig CRYPTO_SHA512 4171da177e4SLinus Torvalds tristate "SHA384 and SHA512 digest algorithms" 418bd9d20dbSAdrian-Ken Rueegsegger select CRYPTO_HASH 4191da177e4SLinus Torvalds help 4201da177e4SLinus Torvalds SHA512 secure hash standard (DFIPS 180-2). 4211da177e4SLinus Torvalds 4221da177e4SLinus Torvalds This version of SHA implements a 512 bit hash with 256 bits of 4231da177e4SLinus Torvalds security against collision attacks. 4241da177e4SLinus Torvalds 4251da177e4SLinus Torvalds This code also includes SHA-384, a 384 bit hash with 192 bits 4261da177e4SLinus Torvalds of security against collision attacks. 4271da177e4SLinus Torvalds 4281da177e4SLinus Torvaldsconfig CRYPTO_TGR192 4291da177e4SLinus Torvalds tristate "Tiger digest algorithms" 430f63fbd3dSAdrian-Ken Rueegsegger select CRYPTO_HASH 4311da177e4SLinus Torvalds help 4321da177e4SLinus Torvalds Tiger hash algorithm 192, 160 and 128-bit hashes 4331da177e4SLinus Torvalds 4341da177e4SLinus Torvalds Tiger is a hash function optimized for 64-bit processors while 4351da177e4SLinus Torvalds still having decent performance on 32-bit processors. 4361da177e4SLinus Torvalds Tiger was developed by Ross Anderson and Eli Biham. 4371da177e4SLinus Torvalds 4381da177e4SLinus Torvalds See also: 4391da177e4SLinus Torvalds <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. 4401da177e4SLinus Torvalds 441584fffc8SSebastian Siewiorconfig CRYPTO_WP512 442584fffc8SSebastian Siewior tristate "Whirlpool digest algorithms" 4434946510bSAdrian-Ken Rueegsegger select CRYPTO_HASH 4441da177e4SLinus Torvalds help 445584fffc8SSebastian Siewior Whirlpool hash algorithm 512, 384 and 256-bit hashes 4461da177e4SLinus Torvalds 447584fffc8SSebastian Siewior Whirlpool-512 is part of the NESSIE cryptographic primitives. 448584fffc8SSebastian Siewior Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard 4491da177e4SLinus Torvalds 4501da177e4SLinus Torvalds See also: 451584fffc8SSebastian Siewior <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html> 4521da177e4SLinus Torvalds 4530e1227d3SHuang Yingconfig CRYPTO_GHASH_CLMUL_NI_INTEL 4540e1227d3SHuang Ying tristate "GHASH digest algorithm (CLMUL-NI accelerated)" 4553e02e5cbSHuang Ying depends on (X86 || UML_X86) && 64BIT 4560e1227d3SHuang Ying select CRYPTO_SHASH 4570e1227d3SHuang Ying select CRYPTO_CRYPTD 4580e1227d3SHuang Ying help 4590e1227d3SHuang Ying GHASH is message digest algorithm for GCM (Galois/Counter Mode). 4600e1227d3SHuang Ying The implementation is accelerated by CLMUL-NI of Intel. 4610e1227d3SHuang Ying 462584fffc8SSebastian Siewiorcomment "Ciphers" 4631da177e4SLinus Torvalds 4641da177e4SLinus Torvaldsconfig CRYPTO_AES 4651da177e4SLinus Torvalds tristate "AES cipher algorithms" 466cce9e06dSHerbert Xu select CRYPTO_ALGAPI 4671da177e4SLinus Torvalds help 4681da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 4691da177e4SLinus Torvalds algorithm. 4701da177e4SLinus Torvalds 4711da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 4721da177e4SLinus Torvalds both hardware and software across a wide range of computing 4731da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 4741da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 4751da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 4761da177e4SLinus Torvalds suited for restricted-space environments, in which it also 4771da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 4781da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 4791da177e4SLinus Torvalds 4801da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 4811da177e4SLinus Torvalds 4821da177e4SLinus Torvalds See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. 4831da177e4SLinus Torvalds 4841da177e4SLinus Torvaldsconfig CRYPTO_AES_586 4851da177e4SLinus Torvalds tristate "AES cipher algorithms (i586)" 486cce9e06dSHerbert Xu depends on (X86 || UML_X86) && !64BIT 487cce9e06dSHerbert Xu select CRYPTO_ALGAPI 4885157dea8SSebastian Siewior select CRYPTO_AES 4891da177e4SLinus Torvalds help 4901da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 4911da177e4SLinus Torvalds algorithm. 4921da177e4SLinus Torvalds 4931da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 4941da177e4SLinus Torvalds both hardware and software across a wide range of computing 4951da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 4961da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 4971da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 4981da177e4SLinus Torvalds suited for restricted-space environments, in which it also 4991da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 5001da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 5011da177e4SLinus Torvalds 5021da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 5031da177e4SLinus Torvalds 5041da177e4SLinus Torvalds See <http://csrc.nist.gov/encryption/aes/> for more information. 5051da177e4SLinus Torvalds 506a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64 507a2a892a2SAndreas Steinmetz tristate "AES cipher algorithms (x86_64)" 508cce9e06dSHerbert Xu depends on (X86 || UML_X86) && 64BIT 509cce9e06dSHerbert Xu select CRYPTO_ALGAPI 51081190b32SSebastian Siewior select CRYPTO_AES 511a2a892a2SAndreas Steinmetz help 512a2a892a2SAndreas Steinmetz AES cipher algorithms (FIPS-197). AES uses the Rijndael 513a2a892a2SAndreas Steinmetz algorithm. 514a2a892a2SAndreas Steinmetz 515a2a892a2SAndreas Steinmetz Rijndael appears to be consistently a very good performer in 516a2a892a2SAndreas Steinmetz both hardware and software across a wide range of computing 517a2a892a2SAndreas Steinmetz environments regardless of its use in feedback or non-feedback 518a2a892a2SAndreas Steinmetz modes. Its key setup time is excellent, and its key agility is 519a2a892a2SAndreas Steinmetz good. Rijndael's very low memory requirements make it very well 520a2a892a2SAndreas Steinmetz suited for restricted-space environments, in which it also 521a2a892a2SAndreas Steinmetz demonstrates excellent performance. Rijndael's operations are 522a2a892a2SAndreas Steinmetz among the easiest to defend against power and timing attacks. 523a2a892a2SAndreas Steinmetz 524a2a892a2SAndreas Steinmetz The AES specifies three key sizes: 128, 192 and 256 bits 525a2a892a2SAndreas Steinmetz 526a2a892a2SAndreas Steinmetz See <http://csrc.nist.gov/encryption/aes/> for more information. 527a2a892a2SAndreas Steinmetz 52854b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL 52954b6a1bdSHuang Ying tristate "AES cipher algorithms (AES-NI)" 53054b6a1bdSHuang Ying depends on (X86 || UML_X86) && 64BIT 53154b6a1bdSHuang Ying select CRYPTO_AES_X86_64 53254b6a1bdSHuang Ying select CRYPTO_CRYPTD 53354b6a1bdSHuang Ying select CRYPTO_ALGAPI 5342cf4ac8bSHuang Ying select CRYPTO_FPU 53554b6a1bdSHuang Ying help 53654b6a1bdSHuang Ying Use Intel AES-NI instructions for AES algorithm. 53754b6a1bdSHuang Ying 53854b6a1bdSHuang Ying AES cipher algorithms (FIPS-197). AES uses the Rijndael 53954b6a1bdSHuang Ying algorithm. 54054b6a1bdSHuang Ying 54154b6a1bdSHuang Ying Rijndael appears to be consistently a very good performer in 54254b6a1bdSHuang Ying both hardware and software across a wide range of computing 54354b6a1bdSHuang Ying environments regardless of its use in feedback or non-feedback 54454b6a1bdSHuang Ying modes. Its key setup time is excellent, and its key agility is 54554b6a1bdSHuang Ying good. Rijndael's very low memory requirements make it very well 54654b6a1bdSHuang Ying suited for restricted-space environments, in which it also 54754b6a1bdSHuang Ying demonstrates excellent performance. Rijndael's operations are 54854b6a1bdSHuang Ying among the easiest to defend against power and timing attacks. 54954b6a1bdSHuang Ying 55054b6a1bdSHuang Ying The AES specifies three key sizes: 128, 192 and 256 bits 55154b6a1bdSHuang Ying 55254b6a1bdSHuang Ying See <http://csrc.nist.gov/encryption/aes/> for more information. 55354b6a1bdSHuang Ying 5542cf4ac8bSHuang Ying In addition to AES cipher algorithm support, the 5552cf4ac8bSHuang Ying acceleration for some popular block cipher mode is supported 5562cf4ac8bSHuang Ying too, including ECB, CBC, CTR, LRW, PCBC, XTS. 5572cf4ac8bSHuang Ying 5581da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS 5591da177e4SLinus Torvalds tristate "Anubis cipher algorithm" 560cce9e06dSHerbert Xu select CRYPTO_ALGAPI 5611da177e4SLinus Torvalds help 5621da177e4SLinus Torvalds Anubis cipher algorithm. 5631da177e4SLinus Torvalds 5641da177e4SLinus Torvalds Anubis is a variable key length cipher which can use keys from 5651da177e4SLinus Torvalds 128 bits to 320 bits in length. It was evaluated as a entrant 5661da177e4SLinus Torvalds in the NESSIE competition. 5671da177e4SLinus Torvalds 5681da177e4SLinus Torvalds See also: 5691da177e4SLinus Torvalds <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/> 5701da177e4SLinus Torvalds <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html> 5711da177e4SLinus Torvalds 572584fffc8SSebastian Siewiorconfig CRYPTO_ARC4 573584fffc8SSebastian Siewior tristate "ARC4 cipher algorithm" 574e2ee95b8SHye-Shik Chang select CRYPTO_ALGAPI 575e2ee95b8SHye-Shik Chang help 576584fffc8SSebastian Siewior ARC4 cipher algorithm. 577e2ee95b8SHye-Shik Chang 578584fffc8SSebastian Siewior ARC4 is a stream cipher using keys ranging from 8 bits to 2048 579584fffc8SSebastian Siewior bits in length. This algorithm is required for driver-based 580584fffc8SSebastian Siewior WEP, but it should not be for other purposes because of the 581584fffc8SSebastian Siewior weakness of the algorithm. 582584fffc8SSebastian Siewior 583584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH 584584fffc8SSebastian Siewior tristate "Blowfish cipher algorithm" 585584fffc8SSebastian Siewior select CRYPTO_ALGAPI 586584fffc8SSebastian Siewior help 587584fffc8SSebastian Siewior Blowfish cipher algorithm, by Bruce Schneier. 588584fffc8SSebastian Siewior 589584fffc8SSebastian Siewior This is a variable key length cipher which can use keys from 32 590584fffc8SSebastian Siewior bits to 448 bits in length. It's fast, simple and specifically 591584fffc8SSebastian Siewior designed for use on "large microprocessors". 592e2ee95b8SHye-Shik Chang 593e2ee95b8SHye-Shik Chang See also: 594584fffc8SSebastian Siewior <http://www.schneier.com/blowfish.html> 595584fffc8SSebastian Siewior 596584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA 597584fffc8SSebastian Siewior tristate "Camellia cipher algorithms" 598584fffc8SSebastian Siewior depends on CRYPTO 599584fffc8SSebastian Siewior select CRYPTO_ALGAPI 600584fffc8SSebastian Siewior help 601584fffc8SSebastian Siewior Camellia cipher algorithms module. 602584fffc8SSebastian Siewior 603584fffc8SSebastian Siewior Camellia is a symmetric key block cipher developed jointly 604584fffc8SSebastian Siewior at NTT and Mitsubishi Electric Corporation. 605584fffc8SSebastian Siewior 606584fffc8SSebastian Siewior The Camellia specifies three key sizes: 128, 192 and 256 bits. 607584fffc8SSebastian Siewior 608584fffc8SSebastian Siewior See also: 609584fffc8SSebastian Siewior <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 610584fffc8SSebastian Siewior 611584fffc8SSebastian Siewiorconfig CRYPTO_CAST5 612584fffc8SSebastian Siewior tristate "CAST5 (CAST-128) cipher algorithm" 613584fffc8SSebastian Siewior select CRYPTO_ALGAPI 614584fffc8SSebastian Siewior help 615584fffc8SSebastian Siewior The CAST5 encryption algorithm (synonymous with CAST-128) is 616584fffc8SSebastian Siewior described in RFC2144. 617584fffc8SSebastian Siewior 618584fffc8SSebastian Siewiorconfig CRYPTO_CAST6 619584fffc8SSebastian Siewior tristate "CAST6 (CAST-256) cipher algorithm" 620584fffc8SSebastian Siewior select CRYPTO_ALGAPI 621584fffc8SSebastian Siewior help 622584fffc8SSebastian Siewior The CAST6 encryption algorithm (synonymous with CAST-256) is 623584fffc8SSebastian Siewior described in RFC2612. 624584fffc8SSebastian Siewior 625584fffc8SSebastian Siewiorconfig CRYPTO_DES 626584fffc8SSebastian Siewior tristate "DES and Triple DES EDE cipher algorithms" 627584fffc8SSebastian Siewior select CRYPTO_ALGAPI 628584fffc8SSebastian Siewior help 629584fffc8SSebastian Siewior DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 630584fffc8SSebastian Siewior 631584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT 632584fffc8SSebastian Siewior tristate "FCrypt cipher algorithm" 633584fffc8SSebastian Siewior select CRYPTO_ALGAPI 634584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 635584fffc8SSebastian Siewior help 636584fffc8SSebastian Siewior FCrypt algorithm used by RxRPC. 637584fffc8SSebastian Siewior 638584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD 639584fffc8SSebastian Siewior tristate "Khazad cipher algorithm" 640584fffc8SSebastian Siewior select CRYPTO_ALGAPI 641584fffc8SSebastian Siewior help 642584fffc8SSebastian Siewior Khazad cipher algorithm. 643584fffc8SSebastian Siewior 644584fffc8SSebastian Siewior Khazad was a finalist in the initial NESSIE competition. It is 645584fffc8SSebastian Siewior an algorithm optimized for 64-bit processors with good performance 646584fffc8SSebastian Siewior on 32-bit processors. Khazad uses an 128 bit key size. 647584fffc8SSebastian Siewior 648584fffc8SSebastian Siewior See also: 649584fffc8SSebastian Siewior <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html> 650e2ee95b8SHye-Shik Chang 6512407d608STan Swee Hengconfig CRYPTO_SALSA20 6522407d608STan Swee Heng tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)" 6532407d608STan Swee Heng depends on EXPERIMENTAL 6542407d608STan Swee Heng select CRYPTO_BLKCIPHER 6552407d608STan Swee Heng help 6562407d608STan Swee Heng Salsa20 stream cipher algorithm. 6572407d608STan Swee Heng 6582407d608STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 6592407d608STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 6602407d608STan Swee Heng 6612407d608STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 6622407d608STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 6631da177e4SLinus Torvalds 664974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586 665974e4b75STan Swee Heng tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)" 666974e4b75STan Swee Heng depends on (X86 || UML_X86) && !64BIT 667974e4b75STan Swee Heng depends on EXPERIMENTAL 668974e4b75STan Swee Heng select CRYPTO_BLKCIPHER 669974e4b75STan Swee Heng help 670974e4b75STan Swee Heng Salsa20 stream cipher algorithm. 671974e4b75STan Swee Heng 672974e4b75STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 673974e4b75STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 674974e4b75STan Swee Heng 675974e4b75STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 676974e4b75STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 677974e4b75STan Swee Heng 6789a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64 6799a7dafbbSTan Swee Heng tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)" 6809a7dafbbSTan Swee Heng depends on (X86 || UML_X86) && 64BIT 6819a7dafbbSTan Swee Heng depends on EXPERIMENTAL 6829a7dafbbSTan Swee Heng select CRYPTO_BLKCIPHER 6839a7dafbbSTan Swee Heng help 6849a7dafbbSTan Swee Heng Salsa20 stream cipher algorithm. 6859a7dafbbSTan Swee Heng 6869a7dafbbSTan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 6879a7dafbbSTan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 6889a7dafbbSTan Swee Heng 6899a7dafbbSTan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 6909a7dafbbSTan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 6919a7dafbbSTan Swee Heng 692584fffc8SSebastian Siewiorconfig CRYPTO_SEED 693584fffc8SSebastian Siewior tristate "SEED cipher algorithm" 694584fffc8SSebastian Siewior select CRYPTO_ALGAPI 695584fffc8SSebastian Siewior help 696584fffc8SSebastian Siewior SEED cipher algorithm (RFC4269). 697584fffc8SSebastian Siewior 698584fffc8SSebastian Siewior SEED is a 128-bit symmetric key block cipher that has been 699584fffc8SSebastian Siewior developed by KISA (Korea Information Security Agency) as a 700584fffc8SSebastian Siewior national standard encryption algorithm of the Republic of Korea. 701584fffc8SSebastian Siewior It is a 16 round block cipher with the key size of 128 bit. 702584fffc8SSebastian Siewior 703584fffc8SSebastian Siewior See also: 704584fffc8SSebastian Siewior <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> 705584fffc8SSebastian Siewior 706584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT 707584fffc8SSebastian Siewior tristate "Serpent cipher algorithm" 708584fffc8SSebastian Siewior select CRYPTO_ALGAPI 709584fffc8SSebastian Siewior help 710584fffc8SSebastian Siewior Serpent cipher algorithm, by Anderson, Biham & Knudsen. 711584fffc8SSebastian Siewior 712584fffc8SSebastian Siewior Keys are allowed to be from 0 to 256 bits in length, in steps 713584fffc8SSebastian Siewior of 8 bits. Also includes the 'Tnepres' algorithm, a reversed 714584fffc8SSebastian Siewior variant of Serpent for compatibility with old kerneli.org code. 715584fffc8SSebastian Siewior 716584fffc8SSebastian Siewior See also: 717584fffc8SSebastian Siewior <http://www.cl.cam.ac.uk/~rja14/serpent.html> 718584fffc8SSebastian Siewior 719584fffc8SSebastian Siewiorconfig CRYPTO_TEA 720584fffc8SSebastian Siewior tristate "TEA, XTEA and XETA cipher algorithms" 721584fffc8SSebastian Siewior select CRYPTO_ALGAPI 722584fffc8SSebastian Siewior help 723584fffc8SSebastian Siewior TEA cipher algorithm. 724584fffc8SSebastian Siewior 725584fffc8SSebastian Siewior Tiny Encryption Algorithm is a simple cipher that uses 726584fffc8SSebastian Siewior many rounds for security. It is very fast and uses 727584fffc8SSebastian Siewior little memory. 728584fffc8SSebastian Siewior 729584fffc8SSebastian Siewior Xtendend Tiny Encryption Algorithm is a modification to 730584fffc8SSebastian Siewior the TEA algorithm to address a potential key weakness 731584fffc8SSebastian Siewior in the TEA algorithm. 732584fffc8SSebastian Siewior 733584fffc8SSebastian Siewior Xtendend Encryption Tiny Algorithm is a mis-implementation 734584fffc8SSebastian Siewior of the XTEA algorithm for compatibility purposes. 735584fffc8SSebastian Siewior 736584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH 737584fffc8SSebastian Siewior tristate "Twofish cipher algorithm" 738584fffc8SSebastian Siewior select CRYPTO_ALGAPI 739584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 740584fffc8SSebastian Siewior help 741584fffc8SSebastian Siewior Twofish cipher algorithm. 742584fffc8SSebastian Siewior 743584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 744584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 745584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 746584fffc8SSebastian Siewior bits. 747584fffc8SSebastian Siewior 748584fffc8SSebastian Siewior See also: 749584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 750584fffc8SSebastian Siewior 751584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON 752584fffc8SSebastian Siewior tristate 753584fffc8SSebastian Siewior help 754584fffc8SSebastian Siewior Common parts of the Twofish cipher algorithm shared by the 755584fffc8SSebastian Siewior generic c and the assembler implementations. 756584fffc8SSebastian Siewior 757584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586 758584fffc8SSebastian Siewior tristate "Twofish cipher algorithms (i586)" 759584fffc8SSebastian Siewior depends on (X86 || UML_X86) && !64BIT 760584fffc8SSebastian Siewior select CRYPTO_ALGAPI 761584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 762584fffc8SSebastian Siewior help 763584fffc8SSebastian Siewior Twofish cipher algorithm. 764584fffc8SSebastian Siewior 765584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 766584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 767584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 768584fffc8SSebastian Siewior bits. 769584fffc8SSebastian Siewior 770584fffc8SSebastian Siewior See also: 771584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 772584fffc8SSebastian Siewior 773584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64 774584fffc8SSebastian Siewior tristate "Twofish cipher algorithm (x86_64)" 775584fffc8SSebastian Siewior depends on (X86 || UML_X86) && 64BIT 776584fffc8SSebastian Siewior select CRYPTO_ALGAPI 777584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 778584fffc8SSebastian Siewior help 779584fffc8SSebastian Siewior Twofish cipher algorithm (x86_64). 780584fffc8SSebastian Siewior 781584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 782584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 783584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 784584fffc8SSebastian Siewior bits. 785584fffc8SSebastian Siewior 786584fffc8SSebastian Siewior See also: 787584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 788584fffc8SSebastian Siewior 789584fffc8SSebastian Siewiorcomment "Compression" 790584fffc8SSebastian Siewior 7911da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE 7921da177e4SLinus Torvalds tristate "Deflate compression algorithm" 793cce9e06dSHerbert Xu select CRYPTO_ALGAPI 7941da177e4SLinus Torvalds select ZLIB_INFLATE 7951da177e4SLinus Torvalds select ZLIB_DEFLATE 7961da177e4SLinus Torvalds help 7971da177e4SLinus Torvalds This is the Deflate algorithm (RFC1951), specified for use in 7981da177e4SLinus Torvalds IPSec with the IPCOMP protocol (RFC3173, RFC2394). 7991da177e4SLinus Torvalds 8001da177e4SLinus Torvalds You will most probably want this if using IPSec. 8011da177e4SLinus Torvalds 802bf68e65eSGeert Uytterhoevenconfig CRYPTO_ZLIB 803bf68e65eSGeert Uytterhoeven tristate "Zlib compression algorithm" 804bf68e65eSGeert Uytterhoeven select CRYPTO_PCOMP 805bf68e65eSGeert Uytterhoeven select ZLIB_INFLATE 806bf68e65eSGeert Uytterhoeven select ZLIB_DEFLATE 807bf68e65eSGeert Uytterhoeven select NLATTR 808bf68e65eSGeert Uytterhoeven help 809bf68e65eSGeert Uytterhoeven This is the zlib algorithm. 810bf68e65eSGeert Uytterhoeven 8110b77abb3SZoltan Sogorconfig CRYPTO_LZO 8120b77abb3SZoltan Sogor tristate "LZO compression algorithm" 8130b77abb3SZoltan Sogor select CRYPTO_ALGAPI 8140b77abb3SZoltan Sogor select LZO_COMPRESS 8150b77abb3SZoltan Sogor select LZO_DECOMPRESS 8160b77abb3SZoltan Sogor help 8170b77abb3SZoltan Sogor This is the LZO algorithm. 8180b77abb3SZoltan Sogor 81917f0f4a4SNeil Hormancomment "Random Number Generation" 82017f0f4a4SNeil Horman 82117f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG 82217f0f4a4SNeil Horman tristate "Pseudo Random Number Generation for Cryptographic modules" 8234e4ed83bSNeil Horman default m 82417f0f4a4SNeil Horman select CRYPTO_AES 82517f0f4a4SNeil Horman select CRYPTO_RNG 82617f0f4a4SNeil Horman help 82717f0f4a4SNeil Horman This option enables the generic pseudo random number generator 82817f0f4a4SNeil Horman for cryptographic modules. Uses the Algorithm specified in 8294e4ed83bSNeil Horman ANSI X9.31 A.2.4. Not this option must be enabled if CRYPTO_FIPS 8304e4ed83bSNeil Horman is selected 83117f0f4a4SNeil Horman 8321da177e4SLinus Torvaldssource "drivers/crypto/Kconfig" 8331da177e4SLinus Torvalds 834cce9e06dSHerbert Xuendif # if CRYPTO 835