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" 26e84c5480SChuck Ebbert depends on CRYPTO_ANSI_CPRNG && !CRYPTO_MANAGER_DISABLE_TESTS 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 31e84c5480SChuck Ebbert this is. 32ccb778e1SNeil Horman 33cce9e06dSHerbert Xuconfig CRYPTO_ALGAPI 34cce9e06dSHerbert Xu tristate 356a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 36cce9e06dSHerbert Xu help 37cce9e06dSHerbert Xu This option provides the API for cryptographic algorithms. 38cce9e06dSHerbert Xu 396a0fcbb4SHerbert Xuconfig CRYPTO_ALGAPI2 406a0fcbb4SHerbert Xu tristate 416a0fcbb4SHerbert Xu 421ae97820SHerbert Xuconfig CRYPTO_AEAD 431ae97820SHerbert Xu tristate 446a0fcbb4SHerbert Xu select CRYPTO_AEAD2 451ae97820SHerbert Xu select CRYPTO_ALGAPI 461ae97820SHerbert Xu 476a0fcbb4SHerbert Xuconfig CRYPTO_AEAD2 486a0fcbb4SHerbert Xu tristate 496a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 506a0fcbb4SHerbert Xu 515cde0af2SHerbert Xuconfig CRYPTO_BLKCIPHER 525cde0af2SHerbert Xu tristate 536a0fcbb4SHerbert Xu select CRYPTO_BLKCIPHER2 545cde0af2SHerbert Xu select CRYPTO_ALGAPI 556a0fcbb4SHerbert Xu 566a0fcbb4SHerbert Xuconfig CRYPTO_BLKCIPHER2 576a0fcbb4SHerbert Xu tristate 586a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 596a0fcbb4SHerbert Xu select CRYPTO_RNG2 600a2e821dSHuang Ying select CRYPTO_WORKQUEUE 615cde0af2SHerbert Xu 62055bcee3SHerbert Xuconfig CRYPTO_HASH 63055bcee3SHerbert Xu tristate 646a0fcbb4SHerbert Xu select CRYPTO_HASH2 65055bcee3SHerbert Xu select CRYPTO_ALGAPI 66055bcee3SHerbert Xu 676a0fcbb4SHerbert Xuconfig CRYPTO_HASH2 686a0fcbb4SHerbert Xu tristate 696a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 706a0fcbb4SHerbert Xu 7117f0f4a4SNeil Hormanconfig CRYPTO_RNG 7217f0f4a4SNeil Horman tristate 736a0fcbb4SHerbert Xu select CRYPTO_RNG2 7417f0f4a4SNeil Horman select CRYPTO_ALGAPI 7517f0f4a4SNeil Horman 766a0fcbb4SHerbert Xuconfig CRYPTO_RNG2 776a0fcbb4SHerbert Xu tristate 786a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 796a0fcbb4SHerbert Xu 80a1d2f095SGeert Uytterhoevenconfig CRYPTO_PCOMP 81a1d2f095SGeert Uytterhoeven tristate 82bc94e596SHerbert Xu select CRYPTO_PCOMP2 83bc94e596SHerbert Xu select CRYPTO_ALGAPI 84bc94e596SHerbert Xu 85bc94e596SHerbert Xuconfig CRYPTO_PCOMP2 86bc94e596SHerbert Xu tristate 87a1d2f095SGeert Uytterhoeven select CRYPTO_ALGAPI2 88a1d2f095SGeert Uytterhoeven 892b8c19dbSHerbert Xuconfig CRYPTO_MANAGER 902b8c19dbSHerbert Xu tristate "Cryptographic algorithm manager" 916a0fcbb4SHerbert Xu select CRYPTO_MANAGER2 922b8c19dbSHerbert Xu help 932b8c19dbSHerbert Xu Create default cryptographic template instantiations such as 942b8c19dbSHerbert Xu cbc(aes). 952b8c19dbSHerbert Xu 966a0fcbb4SHerbert Xuconfig CRYPTO_MANAGER2 976a0fcbb4SHerbert Xu def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) 986a0fcbb4SHerbert Xu select CRYPTO_AEAD2 996a0fcbb4SHerbert Xu select CRYPTO_HASH2 1006a0fcbb4SHerbert Xu select CRYPTO_BLKCIPHER2 101bc94e596SHerbert Xu select CRYPTO_PCOMP2 1026a0fcbb4SHerbert Xu 103326a6346SHerbert Xuconfig CRYPTO_MANAGER_DISABLE_TESTS 104326a6346SHerbert Xu bool "Disable run-time self tests" 10500ca28a5SHerbert Xu default y 10600ca28a5SHerbert Xu depends on CRYPTO_MANAGER2 1070b767f96SAlexander Shishkin help 108326a6346SHerbert Xu Disable run-time self tests that normally take place at 109326a6346SHerbert Xu algorithm registration. 1100b767f96SAlexander Shishkin 111584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL 112584fffc8SSebastian Siewior tristate "GF(2^128) multiplication functions (EXPERIMENTAL)" 113584fffc8SSebastian Siewior depends on EXPERIMENTAL 114584fffc8SSebastian Siewior help 115584fffc8SSebastian Siewior Efficient table driven implementation of multiplications in the 116584fffc8SSebastian Siewior field GF(2^128). This is needed by some cypher modes. This 117584fffc8SSebastian Siewior option will be selected automatically if you select such a 118584fffc8SSebastian Siewior cipher mode. Only select this option by hand if you expect to load 119584fffc8SSebastian Siewior an external module that requires these functions. 120584fffc8SSebastian Siewior 121584fffc8SSebastian Siewiorconfig CRYPTO_NULL 122584fffc8SSebastian Siewior tristate "Null algorithms" 123584fffc8SSebastian Siewior select CRYPTO_ALGAPI 124584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 125d35d2454SHerbert Xu select CRYPTO_HASH 126584fffc8SSebastian Siewior help 127584fffc8SSebastian Siewior These are 'Null' algorithms, used by IPsec, which do nothing. 128584fffc8SSebastian Siewior 1295068c7a8SSteffen Klassertconfig CRYPTO_PCRYPT 1305068c7a8SSteffen Klassert tristate "Parallel crypto engine (EXPERIMENTAL)" 1315068c7a8SSteffen Klassert depends on SMP && EXPERIMENTAL 1325068c7a8SSteffen Klassert select PADATA 1335068c7a8SSteffen Klassert select CRYPTO_MANAGER 1345068c7a8SSteffen Klassert select CRYPTO_AEAD 1355068c7a8SSteffen Klassert help 1365068c7a8SSteffen Klassert This converts an arbitrary crypto algorithm into a parallel 1375068c7a8SSteffen Klassert algorithm that executes in kernel threads. 1385068c7a8SSteffen Klassert 13925c38d3fSHuang Yingconfig CRYPTO_WORKQUEUE 14025c38d3fSHuang Ying tristate 14125c38d3fSHuang Ying 142584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD 143584fffc8SSebastian Siewior tristate "Software async crypto daemon" 144584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 145b8a28251SLoc Ho select CRYPTO_HASH 146584fffc8SSebastian Siewior select CRYPTO_MANAGER 147254eff77SHuang Ying select CRYPTO_WORKQUEUE 148584fffc8SSebastian Siewior help 149584fffc8SSebastian Siewior This is a generic software asynchronous crypto daemon that 150584fffc8SSebastian Siewior converts an arbitrary synchronous software crypto algorithm 151584fffc8SSebastian Siewior into an asynchronous algorithm that executes in a kernel thread. 152584fffc8SSebastian Siewior 153584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC 154584fffc8SSebastian Siewior tristate "Authenc support" 155584fffc8SSebastian Siewior select CRYPTO_AEAD 156584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 157584fffc8SSebastian Siewior select CRYPTO_MANAGER 158584fffc8SSebastian Siewior select CRYPTO_HASH 159584fffc8SSebastian Siewior help 160584fffc8SSebastian Siewior Authenc: Combined mode wrapper for IPsec. 161584fffc8SSebastian Siewior This is required for IPSec. 162584fffc8SSebastian Siewior 163584fffc8SSebastian Siewiorconfig CRYPTO_TEST 164584fffc8SSebastian Siewior tristate "Testing module" 165584fffc8SSebastian Siewior depends on m 166da7f033dSHerbert Xu select CRYPTO_MANAGER 167584fffc8SSebastian Siewior help 168584fffc8SSebastian Siewior Quick & dirty crypto test module. 169584fffc8SSebastian Siewior 170584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data" 171584fffc8SSebastian Siewior 172584fffc8SSebastian Siewiorconfig CRYPTO_CCM 173584fffc8SSebastian Siewior tristate "CCM support" 174584fffc8SSebastian Siewior select CRYPTO_CTR 175584fffc8SSebastian Siewior select CRYPTO_AEAD 176584fffc8SSebastian Siewior help 177584fffc8SSebastian Siewior Support for Counter with CBC MAC. Required for IPsec. 178584fffc8SSebastian Siewior 179584fffc8SSebastian Siewiorconfig CRYPTO_GCM 180584fffc8SSebastian Siewior tristate "GCM/GMAC support" 181584fffc8SSebastian Siewior select CRYPTO_CTR 182584fffc8SSebastian Siewior select CRYPTO_AEAD 1839382d97aSHuang Ying select CRYPTO_GHASH 184584fffc8SSebastian Siewior help 185584fffc8SSebastian Siewior Support for Galois/Counter Mode (GCM) and Galois Message 186584fffc8SSebastian Siewior Authentication Code (GMAC). Required for IPSec. 187584fffc8SSebastian Siewior 188584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV 189584fffc8SSebastian Siewior tristate "Sequence Number IV Generator" 190584fffc8SSebastian Siewior select CRYPTO_AEAD 191584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 192a0f000ecSHerbert Xu select CRYPTO_RNG 193584fffc8SSebastian Siewior help 194584fffc8SSebastian Siewior This IV generator generates an IV based on a sequence number by 195584fffc8SSebastian Siewior xoring it with a salt. This algorithm is mainly useful for CTR 196584fffc8SSebastian Siewior 197584fffc8SSebastian Siewiorcomment "Block modes" 198584fffc8SSebastian Siewior 199584fffc8SSebastian Siewiorconfig CRYPTO_CBC 200584fffc8SSebastian Siewior tristate "CBC support" 201584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 202584fffc8SSebastian Siewior select CRYPTO_MANAGER 203584fffc8SSebastian Siewior help 204584fffc8SSebastian Siewior CBC: Cipher Block Chaining mode 205584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 206584fffc8SSebastian Siewior 207584fffc8SSebastian Siewiorconfig CRYPTO_CTR 208584fffc8SSebastian Siewior tristate "CTR support" 209584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 210584fffc8SSebastian Siewior select CRYPTO_SEQIV 211584fffc8SSebastian Siewior select CRYPTO_MANAGER 212584fffc8SSebastian Siewior help 213584fffc8SSebastian Siewior CTR: Counter mode 214584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 215584fffc8SSebastian Siewior 216584fffc8SSebastian Siewiorconfig CRYPTO_CTS 217584fffc8SSebastian Siewior tristate "CTS support" 218584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 219584fffc8SSebastian Siewior help 220584fffc8SSebastian Siewior CTS: Cipher Text Stealing 221584fffc8SSebastian Siewior This is the Cipher Text Stealing mode as described by 222584fffc8SSebastian Siewior Section 8 of rfc2040 and referenced by rfc3962. 223584fffc8SSebastian Siewior (rfc3962 includes errata information in its Appendix A) 224584fffc8SSebastian Siewior This mode is required for Kerberos gss mechanism support 225584fffc8SSebastian Siewior for AES encryption. 226584fffc8SSebastian Siewior 227584fffc8SSebastian Siewiorconfig CRYPTO_ECB 228584fffc8SSebastian Siewior tristate "ECB support" 229584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 230584fffc8SSebastian Siewior select CRYPTO_MANAGER 231584fffc8SSebastian Siewior help 232584fffc8SSebastian Siewior ECB: Electronic CodeBook mode 233584fffc8SSebastian Siewior This is the simplest block cipher algorithm. It simply encrypts 234584fffc8SSebastian Siewior the input block by block. 235584fffc8SSebastian Siewior 236584fffc8SSebastian Siewiorconfig CRYPTO_LRW 237584fffc8SSebastian Siewior tristate "LRW support (EXPERIMENTAL)" 238584fffc8SSebastian Siewior depends on EXPERIMENTAL 239584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 240584fffc8SSebastian Siewior select CRYPTO_MANAGER 241584fffc8SSebastian Siewior select CRYPTO_GF128MUL 242584fffc8SSebastian Siewior help 243584fffc8SSebastian Siewior LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable 244584fffc8SSebastian Siewior narrow block cipher mode for dm-crypt. Use it with cipher 245584fffc8SSebastian Siewior specification string aes-lrw-benbi, the key must be 256, 320 or 384. 246584fffc8SSebastian Siewior The first 128, 192 or 256 bits in the key are used for AES and the 247584fffc8SSebastian Siewior rest is used to tie each cipher block to its logical position. 248584fffc8SSebastian Siewior 249584fffc8SSebastian Siewiorconfig CRYPTO_PCBC 250584fffc8SSebastian Siewior tristate "PCBC support" 251584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 252584fffc8SSebastian Siewior select CRYPTO_MANAGER 253584fffc8SSebastian Siewior help 254584fffc8SSebastian Siewior PCBC: Propagating Cipher Block Chaining mode 255584fffc8SSebastian Siewior This block cipher algorithm is required for RxRPC. 256584fffc8SSebastian Siewior 257584fffc8SSebastian Siewiorconfig CRYPTO_XTS 258584fffc8SSebastian Siewior tristate "XTS support (EXPERIMENTAL)" 259584fffc8SSebastian Siewior depends on EXPERIMENTAL 260584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 261584fffc8SSebastian Siewior select CRYPTO_MANAGER 262584fffc8SSebastian Siewior select CRYPTO_GF128MUL 263584fffc8SSebastian Siewior help 264584fffc8SSebastian Siewior XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, 265584fffc8SSebastian Siewior key size 256, 384 or 512 bits. This implementation currently 266584fffc8SSebastian Siewior can't handle a sectorsize which is not a multiple of 16 bytes. 267584fffc8SSebastian Siewior 268150c7e85SHuang Yingconfig CRYPTO_FPU 269150c7e85SHuang Ying tristate 270150c7e85SHuang Ying select CRYPTO_BLKCIPHER 271150c7e85SHuang Ying select CRYPTO_MANAGER 272150c7e85SHuang Ying 273584fffc8SSebastian Siewiorcomment "Hash modes" 274584fffc8SSebastian Siewior 2751da177e4SLinus Torvaldsconfig CRYPTO_HMAC 2768425165dSHerbert Xu tristate "HMAC support" 2770796ae06SHerbert Xu select CRYPTO_HASH 27843518407SHerbert Xu select CRYPTO_MANAGER 2791da177e4SLinus Torvalds help 2801da177e4SLinus Torvalds HMAC: Keyed-Hashing for Message Authentication (RFC2104). 2811da177e4SLinus Torvalds This is required for IPSec. 2821da177e4SLinus Torvalds 283333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC 284333b0d7eSKazunori MIYAZAWA tristate "XCBC support" 285333b0d7eSKazunori MIYAZAWA depends on EXPERIMENTAL 286333b0d7eSKazunori MIYAZAWA select CRYPTO_HASH 287333b0d7eSKazunori MIYAZAWA select CRYPTO_MANAGER 288333b0d7eSKazunori MIYAZAWA help 289333b0d7eSKazunori MIYAZAWA XCBC: Keyed-Hashing with encryption algorithm 290333b0d7eSKazunori MIYAZAWA http://www.ietf.org/rfc/rfc3566.txt 291333b0d7eSKazunori MIYAZAWA http://csrc.nist.gov/encryption/modes/proposedmodes/ 292333b0d7eSKazunori MIYAZAWA xcbc-mac/xcbc-mac-spec.pdf 293333b0d7eSKazunori MIYAZAWA 294f1939f7cSShane Wangconfig CRYPTO_VMAC 295f1939f7cSShane Wang tristate "VMAC support" 296f1939f7cSShane Wang depends on EXPERIMENTAL 297f1939f7cSShane Wang select CRYPTO_HASH 298f1939f7cSShane Wang select CRYPTO_MANAGER 299f1939f7cSShane Wang help 300f1939f7cSShane Wang VMAC is a message authentication algorithm designed for 301f1939f7cSShane Wang very high speed on 64-bit architectures. 302f1939f7cSShane Wang 303f1939f7cSShane Wang See also: 304f1939f7cSShane Wang <http://fastcrypto.org/vmac> 305f1939f7cSShane Wang 306584fffc8SSebastian Siewiorcomment "Digest" 307584fffc8SSebastian Siewior 308584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C 309584fffc8SSebastian Siewior tristate "CRC32c CRC algorithm" 3105773a3e6SHerbert Xu select CRYPTO_HASH 3111da177e4SLinus Torvalds help 312584fffc8SSebastian Siewior Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used 313584fffc8SSebastian Siewior by iSCSI for header and data digests and by others. 31469c35efcSHerbert Xu See Castagnoli93. Module will be crc32c. 3151da177e4SLinus Torvalds 3168cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL 3178cb51ba8SAustin Zhang tristate "CRC32c INTEL hardware acceleration" 3188cb51ba8SAustin Zhang depends on X86 3198cb51ba8SAustin Zhang select CRYPTO_HASH 3208cb51ba8SAustin Zhang help 3218cb51ba8SAustin Zhang In Intel processor with SSE4.2 supported, the processor will 3228cb51ba8SAustin Zhang support CRC32C implementation using hardware accelerated CRC32 3238cb51ba8SAustin Zhang instruction. This option will create 'crc32c-intel' module, 3248cb51ba8SAustin Zhang which will enable any routine to use the CRC32 instruction to 3258cb51ba8SAustin Zhang gain performance compared with software implementation. 3268cb51ba8SAustin Zhang Module will be crc32c-intel. 3278cb51ba8SAustin Zhang 3282cdc6899SHuang Yingconfig CRYPTO_GHASH 3292cdc6899SHuang Ying tristate "GHASH digest algorithm" 3302cdc6899SHuang Ying select CRYPTO_SHASH 3312cdc6899SHuang Ying select CRYPTO_GF128MUL 3322cdc6899SHuang Ying help 3332cdc6899SHuang Ying GHASH is message digest algorithm for GCM (Galois/Counter Mode). 3342cdc6899SHuang Ying 3351da177e4SLinus Torvaldsconfig CRYPTO_MD4 3361da177e4SLinus Torvalds tristate "MD4 digest algorithm" 337808a1763SAdrian-Ken Rueegsegger select CRYPTO_HASH 3381da177e4SLinus Torvalds help 3391da177e4SLinus Torvalds MD4 message digest algorithm (RFC1320). 3401da177e4SLinus Torvalds 3411da177e4SLinus Torvaldsconfig CRYPTO_MD5 3421da177e4SLinus Torvalds tristate "MD5 digest algorithm" 34314b75ba7SAdrian-Ken Rueegsegger select CRYPTO_HASH 3441da177e4SLinus Torvalds help 3451da177e4SLinus Torvalds MD5 message digest algorithm (RFC1321). 3461da177e4SLinus Torvalds 347584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC 348584fffc8SSebastian Siewior tristate "Michael MIC keyed digest algorithm" 34919e2bf14SAdrian-Ken Rueegsegger select CRYPTO_HASH 350584fffc8SSebastian Siewior help 351584fffc8SSebastian Siewior Michael MIC is used for message integrity protection in TKIP 352584fffc8SSebastian Siewior (IEEE 802.11i). This algorithm is required for TKIP, but it 353584fffc8SSebastian Siewior should not be used for other purposes because of the weakness 354584fffc8SSebastian Siewior of the algorithm. 355584fffc8SSebastian Siewior 35682798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128 35782798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-128 digest algorithm" 3587c4468bcSHerbert Xu select CRYPTO_HASH 35982798f90SAdrian-Ken Rueegsegger help 36082798f90SAdrian-Ken Rueegsegger RIPEMD-128 (ISO/IEC 10118-3:2004). 36182798f90SAdrian-Ken Rueegsegger 36282798f90SAdrian-Ken Rueegsegger RIPEMD-128 is a 128-bit cryptographic hash function. It should only 36382798f90SAdrian-Ken Rueegsegger to be used as a secure replacement for RIPEMD. For other use cases 36482798f90SAdrian-Ken Rueegsegger RIPEMD-160 should be used. 36582798f90SAdrian-Ken Rueegsegger 36682798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 367*6d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 36882798f90SAdrian-Ken Rueegsegger 36982798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160 37082798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-160 digest algorithm" 371e5835fbaSHerbert Xu select CRYPTO_HASH 37282798f90SAdrian-Ken Rueegsegger help 37382798f90SAdrian-Ken Rueegsegger RIPEMD-160 (ISO/IEC 10118-3:2004). 37482798f90SAdrian-Ken Rueegsegger 37582798f90SAdrian-Ken Rueegsegger RIPEMD-160 is a 160-bit cryptographic hash function. It is intended 37682798f90SAdrian-Ken Rueegsegger to be used as a secure replacement for the 128-bit hash functions 377b6d44341SAdrian Bunk MD4, MD5 and it's predecessor RIPEMD 378b6d44341SAdrian Bunk (not to be confused with RIPEMD-128). 37982798f90SAdrian-Ken Rueegsegger 380b6d44341SAdrian Bunk It's speed is comparable to SHA1 and there are no known attacks 381b6d44341SAdrian Bunk against RIPEMD-160. 382534fe2c1SAdrian-Ken Rueegsegger 383534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 384*6d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 385534fe2c1SAdrian-Ken Rueegsegger 386534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256 387534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-256 digest algorithm" 388d8a5e2e9SHerbert Xu select CRYPTO_HASH 389534fe2c1SAdrian-Ken Rueegsegger help 390b6d44341SAdrian Bunk RIPEMD-256 is an optional extension of RIPEMD-128 with a 391b6d44341SAdrian Bunk 256 bit hash. It is intended for applications that require 392b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 393b6d44341SAdrian Bunk (than RIPEMD-128). 394534fe2c1SAdrian-Ken Rueegsegger 395534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 396*6d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 397534fe2c1SAdrian-Ken Rueegsegger 398534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320 399534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-320 digest algorithm" 4003b8efb4cSHerbert Xu select CRYPTO_HASH 401534fe2c1SAdrian-Ken Rueegsegger help 402b6d44341SAdrian Bunk RIPEMD-320 is an optional extension of RIPEMD-160 with a 403b6d44341SAdrian Bunk 320 bit hash. It is intended for applications that require 404b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 405b6d44341SAdrian Bunk (than RIPEMD-160). 406534fe2c1SAdrian-Ken Rueegsegger 40782798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 408*6d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 40982798f90SAdrian-Ken Rueegsegger 4101da177e4SLinus Torvaldsconfig CRYPTO_SHA1 4111da177e4SLinus Torvalds tristate "SHA1 digest algorithm" 41254ccb367SAdrian-Ken Rueegsegger select CRYPTO_HASH 4131da177e4SLinus Torvalds help 4141da177e4SLinus Torvalds SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 4151da177e4SLinus Torvalds 4161da177e4SLinus Torvaldsconfig CRYPTO_SHA256 417cd12fb90SJonathan Lynch tristate "SHA224 and SHA256 digest algorithm" 41850e109b5SAdrian-Ken Rueegsegger select CRYPTO_HASH 4191da177e4SLinus Torvalds help 4201da177e4SLinus Torvalds SHA256 secure hash standard (DFIPS 180-2). 4211da177e4SLinus Torvalds 4221da177e4SLinus Torvalds This version of SHA implements a 256 bit hash with 128 bits of 4231da177e4SLinus Torvalds security against collision attacks. 4241da177e4SLinus Torvalds 425cd12fb90SJonathan Lynch This code also includes SHA-224, a 224 bit hash with 112 bits 426cd12fb90SJonathan Lynch of security against collision attacks. 427cd12fb90SJonathan Lynch 4281da177e4SLinus Torvaldsconfig CRYPTO_SHA512 4291da177e4SLinus Torvalds tristate "SHA384 and SHA512 digest algorithms" 430bd9d20dbSAdrian-Ken Rueegsegger select CRYPTO_HASH 4311da177e4SLinus Torvalds help 4321da177e4SLinus Torvalds SHA512 secure hash standard (DFIPS 180-2). 4331da177e4SLinus Torvalds 4341da177e4SLinus Torvalds This version of SHA implements a 512 bit hash with 256 bits of 4351da177e4SLinus Torvalds security against collision attacks. 4361da177e4SLinus Torvalds 4371da177e4SLinus Torvalds This code also includes SHA-384, a 384 bit hash with 192 bits 4381da177e4SLinus Torvalds of security against collision attacks. 4391da177e4SLinus Torvalds 4401da177e4SLinus Torvaldsconfig CRYPTO_TGR192 4411da177e4SLinus Torvalds tristate "Tiger digest algorithms" 442f63fbd3dSAdrian-Ken Rueegsegger select CRYPTO_HASH 4431da177e4SLinus Torvalds help 4441da177e4SLinus Torvalds Tiger hash algorithm 192, 160 and 128-bit hashes 4451da177e4SLinus Torvalds 4461da177e4SLinus Torvalds Tiger is a hash function optimized for 64-bit processors while 4471da177e4SLinus Torvalds still having decent performance on 32-bit processors. 4481da177e4SLinus Torvalds Tiger was developed by Ross Anderson and Eli Biham. 4491da177e4SLinus Torvalds 4501da177e4SLinus Torvalds See also: 4511da177e4SLinus Torvalds <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. 4521da177e4SLinus Torvalds 453584fffc8SSebastian Siewiorconfig CRYPTO_WP512 454584fffc8SSebastian Siewior tristate "Whirlpool digest algorithms" 4554946510bSAdrian-Ken Rueegsegger select CRYPTO_HASH 4561da177e4SLinus Torvalds help 457584fffc8SSebastian Siewior Whirlpool hash algorithm 512, 384 and 256-bit hashes 4581da177e4SLinus Torvalds 459584fffc8SSebastian Siewior Whirlpool-512 is part of the NESSIE cryptographic primitives. 460584fffc8SSebastian Siewior Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard 4611da177e4SLinus Torvalds 4621da177e4SLinus Torvalds See also: 463*6d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html> 4641da177e4SLinus Torvalds 4650e1227d3SHuang Yingconfig CRYPTO_GHASH_CLMUL_NI_INTEL 4660e1227d3SHuang Ying tristate "GHASH digest algorithm (CLMUL-NI accelerated)" 4673e02e5cbSHuang Ying depends on (X86 || UML_X86) && 64BIT 4680e1227d3SHuang Ying select CRYPTO_SHASH 4690e1227d3SHuang Ying select CRYPTO_CRYPTD 4700e1227d3SHuang Ying help 4710e1227d3SHuang Ying GHASH is message digest algorithm for GCM (Galois/Counter Mode). 4720e1227d3SHuang Ying The implementation is accelerated by CLMUL-NI of Intel. 4730e1227d3SHuang Ying 474584fffc8SSebastian Siewiorcomment "Ciphers" 4751da177e4SLinus Torvalds 4761da177e4SLinus Torvaldsconfig CRYPTO_AES 4771da177e4SLinus Torvalds tristate "AES cipher algorithms" 478cce9e06dSHerbert Xu select CRYPTO_ALGAPI 4791da177e4SLinus Torvalds help 4801da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 4811da177e4SLinus Torvalds algorithm. 4821da177e4SLinus Torvalds 4831da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 4841da177e4SLinus Torvalds both hardware and software across a wide range of computing 4851da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 4861da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 4871da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 4881da177e4SLinus Torvalds suited for restricted-space environments, in which it also 4891da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 4901da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 4911da177e4SLinus Torvalds 4921da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 4931da177e4SLinus Torvalds 4941da177e4SLinus Torvalds See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. 4951da177e4SLinus Torvalds 4961da177e4SLinus Torvaldsconfig CRYPTO_AES_586 4971da177e4SLinus Torvalds tristate "AES cipher algorithms (i586)" 498cce9e06dSHerbert Xu depends on (X86 || UML_X86) && !64BIT 499cce9e06dSHerbert Xu select CRYPTO_ALGAPI 5005157dea8SSebastian Siewior select CRYPTO_AES 5011da177e4SLinus Torvalds help 5021da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 5031da177e4SLinus Torvalds algorithm. 5041da177e4SLinus Torvalds 5051da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 5061da177e4SLinus Torvalds both hardware and software across a wide range of computing 5071da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 5081da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 5091da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 5101da177e4SLinus Torvalds suited for restricted-space environments, in which it also 5111da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 5121da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 5131da177e4SLinus Torvalds 5141da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 5151da177e4SLinus Torvalds 5161da177e4SLinus Torvalds See <http://csrc.nist.gov/encryption/aes/> for more information. 5171da177e4SLinus Torvalds 518a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64 519a2a892a2SAndreas Steinmetz tristate "AES cipher algorithms (x86_64)" 520cce9e06dSHerbert Xu depends on (X86 || UML_X86) && 64BIT 521cce9e06dSHerbert Xu select CRYPTO_ALGAPI 52281190b32SSebastian Siewior select CRYPTO_AES 523a2a892a2SAndreas Steinmetz help 524a2a892a2SAndreas Steinmetz AES cipher algorithms (FIPS-197). AES uses the Rijndael 525a2a892a2SAndreas Steinmetz algorithm. 526a2a892a2SAndreas Steinmetz 527a2a892a2SAndreas Steinmetz Rijndael appears to be consistently a very good performer in 528a2a892a2SAndreas Steinmetz both hardware and software across a wide range of computing 529a2a892a2SAndreas Steinmetz environments regardless of its use in feedback or non-feedback 530a2a892a2SAndreas Steinmetz modes. Its key setup time is excellent, and its key agility is 531a2a892a2SAndreas Steinmetz good. Rijndael's very low memory requirements make it very well 532a2a892a2SAndreas Steinmetz suited for restricted-space environments, in which it also 533a2a892a2SAndreas Steinmetz demonstrates excellent performance. Rijndael's operations are 534a2a892a2SAndreas Steinmetz among the easiest to defend against power and timing attacks. 535a2a892a2SAndreas Steinmetz 536a2a892a2SAndreas Steinmetz The AES specifies three key sizes: 128, 192 and 256 bits 537a2a892a2SAndreas Steinmetz 538a2a892a2SAndreas Steinmetz See <http://csrc.nist.gov/encryption/aes/> for more information. 539a2a892a2SAndreas Steinmetz 54054b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL 54154b6a1bdSHuang Ying tristate "AES cipher algorithms (AES-NI)" 54254b6a1bdSHuang Ying depends on (X86 || UML_X86) && 64BIT 54354b6a1bdSHuang Ying select CRYPTO_AES_X86_64 54454b6a1bdSHuang Ying select CRYPTO_CRYPTD 54554b6a1bdSHuang Ying select CRYPTO_ALGAPI 5462cf4ac8bSHuang Ying select CRYPTO_FPU 54754b6a1bdSHuang Ying help 54854b6a1bdSHuang Ying Use Intel AES-NI instructions for AES algorithm. 54954b6a1bdSHuang Ying 55054b6a1bdSHuang Ying AES cipher algorithms (FIPS-197). AES uses the Rijndael 55154b6a1bdSHuang Ying algorithm. 55254b6a1bdSHuang Ying 55354b6a1bdSHuang Ying Rijndael appears to be consistently a very good performer in 55454b6a1bdSHuang Ying both hardware and software across a wide range of computing 55554b6a1bdSHuang Ying environments regardless of its use in feedback or non-feedback 55654b6a1bdSHuang Ying modes. Its key setup time is excellent, and its key agility is 55754b6a1bdSHuang Ying good. Rijndael's very low memory requirements make it very well 55854b6a1bdSHuang Ying suited for restricted-space environments, in which it also 55954b6a1bdSHuang Ying demonstrates excellent performance. Rijndael's operations are 56054b6a1bdSHuang Ying among the easiest to defend against power and timing attacks. 56154b6a1bdSHuang Ying 56254b6a1bdSHuang Ying The AES specifies three key sizes: 128, 192 and 256 bits 56354b6a1bdSHuang Ying 56454b6a1bdSHuang Ying See <http://csrc.nist.gov/encryption/aes/> for more information. 56554b6a1bdSHuang Ying 5662cf4ac8bSHuang Ying In addition to AES cipher algorithm support, the 5672cf4ac8bSHuang Ying acceleration for some popular block cipher mode is supported 5682cf4ac8bSHuang Ying too, including ECB, CBC, CTR, LRW, PCBC, XTS. 5692cf4ac8bSHuang Ying 5701da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS 5711da177e4SLinus Torvalds tristate "Anubis cipher algorithm" 572cce9e06dSHerbert Xu select CRYPTO_ALGAPI 5731da177e4SLinus Torvalds help 5741da177e4SLinus Torvalds Anubis cipher algorithm. 5751da177e4SLinus Torvalds 5761da177e4SLinus Torvalds Anubis is a variable key length cipher which can use keys from 5771da177e4SLinus Torvalds 128 bits to 320 bits in length. It was evaluated as a entrant 5781da177e4SLinus Torvalds in the NESSIE competition. 5791da177e4SLinus Torvalds 5801da177e4SLinus Torvalds See also: 581*6d8de74cSJustin P. Mattock <https://www.cosic.esat.kuleuven.be/nessie/reports/> 582*6d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/AnubisPage.html> 5831da177e4SLinus Torvalds 584584fffc8SSebastian Siewiorconfig CRYPTO_ARC4 585584fffc8SSebastian Siewior tristate "ARC4 cipher algorithm" 586e2ee95b8SHye-Shik Chang select CRYPTO_ALGAPI 587e2ee95b8SHye-Shik Chang help 588584fffc8SSebastian Siewior ARC4 cipher algorithm. 589e2ee95b8SHye-Shik Chang 590584fffc8SSebastian Siewior ARC4 is a stream cipher using keys ranging from 8 bits to 2048 591584fffc8SSebastian Siewior bits in length. This algorithm is required for driver-based 592584fffc8SSebastian Siewior WEP, but it should not be for other purposes because of the 593584fffc8SSebastian Siewior weakness of the algorithm. 594584fffc8SSebastian Siewior 595584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH 596584fffc8SSebastian Siewior tristate "Blowfish cipher algorithm" 597584fffc8SSebastian Siewior select CRYPTO_ALGAPI 598584fffc8SSebastian Siewior help 599584fffc8SSebastian Siewior Blowfish cipher algorithm, by Bruce Schneier. 600584fffc8SSebastian Siewior 601584fffc8SSebastian Siewior This is a variable key length cipher which can use keys from 32 602584fffc8SSebastian Siewior bits to 448 bits in length. It's fast, simple and specifically 603584fffc8SSebastian Siewior designed for use on "large microprocessors". 604e2ee95b8SHye-Shik Chang 605e2ee95b8SHye-Shik Chang See also: 606584fffc8SSebastian Siewior <http://www.schneier.com/blowfish.html> 607584fffc8SSebastian Siewior 608584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA 609584fffc8SSebastian Siewior tristate "Camellia cipher algorithms" 610584fffc8SSebastian Siewior depends on CRYPTO 611584fffc8SSebastian Siewior select CRYPTO_ALGAPI 612584fffc8SSebastian Siewior help 613584fffc8SSebastian Siewior Camellia cipher algorithms module. 614584fffc8SSebastian Siewior 615584fffc8SSebastian Siewior Camellia is a symmetric key block cipher developed jointly 616584fffc8SSebastian Siewior at NTT and Mitsubishi Electric Corporation. 617584fffc8SSebastian Siewior 618584fffc8SSebastian Siewior The Camellia specifies three key sizes: 128, 192 and 256 bits. 619584fffc8SSebastian Siewior 620584fffc8SSebastian Siewior See also: 621584fffc8SSebastian Siewior <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 622584fffc8SSebastian Siewior 623584fffc8SSebastian Siewiorconfig CRYPTO_CAST5 624584fffc8SSebastian Siewior tristate "CAST5 (CAST-128) cipher algorithm" 625584fffc8SSebastian Siewior select CRYPTO_ALGAPI 626584fffc8SSebastian Siewior help 627584fffc8SSebastian Siewior The CAST5 encryption algorithm (synonymous with CAST-128) is 628584fffc8SSebastian Siewior described in RFC2144. 629584fffc8SSebastian Siewior 630584fffc8SSebastian Siewiorconfig CRYPTO_CAST6 631584fffc8SSebastian Siewior tristate "CAST6 (CAST-256) cipher algorithm" 632584fffc8SSebastian Siewior select CRYPTO_ALGAPI 633584fffc8SSebastian Siewior help 634584fffc8SSebastian Siewior The CAST6 encryption algorithm (synonymous with CAST-256) is 635584fffc8SSebastian Siewior described in RFC2612. 636584fffc8SSebastian Siewior 637584fffc8SSebastian Siewiorconfig CRYPTO_DES 638584fffc8SSebastian Siewior tristate "DES and Triple DES EDE cipher algorithms" 639584fffc8SSebastian Siewior select CRYPTO_ALGAPI 640584fffc8SSebastian Siewior help 641584fffc8SSebastian Siewior DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 642584fffc8SSebastian Siewior 643584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT 644584fffc8SSebastian Siewior tristate "FCrypt cipher algorithm" 645584fffc8SSebastian Siewior select CRYPTO_ALGAPI 646584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 647584fffc8SSebastian Siewior help 648584fffc8SSebastian Siewior FCrypt algorithm used by RxRPC. 649584fffc8SSebastian Siewior 650584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD 651584fffc8SSebastian Siewior tristate "Khazad cipher algorithm" 652584fffc8SSebastian Siewior select CRYPTO_ALGAPI 653584fffc8SSebastian Siewior help 654584fffc8SSebastian Siewior Khazad cipher algorithm. 655584fffc8SSebastian Siewior 656584fffc8SSebastian Siewior Khazad was a finalist in the initial NESSIE competition. It is 657584fffc8SSebastian Siewior an algorithm optimized for 64-bit processors with good performance 658584fffc8SSebastian Siewior on 32-bit processors. Khazad uses an 128 bit key size. 659584fffc8SSebastian Siewior 660584fffc8SSebastian Siewior See also: 661*6d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/KhazadPage.html> 662e2ee95b8SHye-Shik Chang 6632407d608STan Swee Hengconfig CRYPTO_SALSA20 6642407d608STan Swee Heng tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)" 6652407d608STan Swee Heng depends on EXPERIMENTAL 6662407d608STan Swee Heng select CRYPTO_BLKCIPHER 6672407d608STan Swee Heng help 6682407d608STan Swee Heng Salsa20 stream cipher algorithm. 6692407d608STan Swee Heng 6702407d608STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 6712407d608STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 6722407d608STan Swee Heng 6732407d608STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 6742407d608STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 6751da177e4SLinus Torvalds 676974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586 677974e4b75STan Swee Heng tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)" 678974e4b75STan Swee Heng depends on (X86 || UML_X86) && !64BIT 679974e4b75STan Swee Heng depends on EXPERIMENTAL 680974e4b75STan Swee Heng select CRYPTO_BLKCIPHER 681974e4b75STan Swee Heng help 682974e4b75STan Swee Heng Salsa20 stream cipher algorithm. 683974e4b75STan Swee Heng 684974e4b75STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 685974e4b75STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 686974e4b75STan Swee Heng 687974e4b75STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 688974e4b75STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 689974e4b75STan Swee Heng 6909a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64 6919a7dafbbSTan Swee Heng tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)" 6929a7dafbbSTan Swee Heng depends on (X86 || UML_X86) && 64BIT 6939a7dafbbSTan Swee Heng depends on EXPERIMENTAL 6949a7dafbbSTan Swee Heng select CRYPTO_BLKCIPHER 6959a7dafbbSTan Swee Heng help 6969a7dafbbSTan Swee Heng Salsa20 stream cipher algorithm. 6979a7dafbbSTan Swee Heng 6989a7dafbbSTan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 6999a7dafbbSTan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 7009a7dafbbSTan Swee Heng 7019a7dafbbSTan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 7029a7dafbbSTan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 7039a7dafbbSTan Swee Heng 704584fffc8SSebastian Siewiorconfig CRYPTO_SEED 705584fffc8SSebastian Siewior tristate "SEED cipher algorithm" 706584fffc8SSebastian Siewior select CRYPTO_ALGAPI 707584fffc8SSebastian Siewior help 708584fffc8SSebastian Siewior SEED cipher algorithm (RFC4269). 709584fffc8SSebastian Siewior 710584fffc8SSebastian Siewior SEED is a 128-bit symmetric key block cipher that has been 711584fffc8SSebastian Siewior developed by KISA (Korea Information Security Agency) as a 712584fffc8SSebastian Siewior national standard encryption algorithm of the Republic of Korea. 713584fffc8SSebastian Siewior It is a 16 round block cipher with the key size of 128 bit. 714584fffc8SSebastian Siewior 715584fffc8SSebastian Siewior See also: 716584fffc8SSebastian Siewior <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> 717584fffc8SSebastian Siewior 718584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT 719584fffc8SSebastian Siewior tristate "Serpent cipher algorithm" 720584fffc8SSebastian Siewior select CRYPTO_ALGAPI 721584fffc8SSebastian Siewior help 722584fffc8SSebastian Siewior Serpent cipher algorithm, by Anderson, Biham & Knudsen. 723584fffc8SSebastian Siewior 724584fffc8SSebastian Siewior Keys are allowed to be from 0 to 256 bits in length, in steps 725584fffc8SSebastian Siewior of 8 bits. Also includes the 'Tnepres' algorithm, a reversed 726584fffc8SSebastian Siewior variant of Serpent for compatibility with old kerneli.org code. 727584fffc8SSebastian Siewior 728584fffc8SSebastian Siewior See also: 729584fffc8SSebastian Siewior <http://www.cl.cam.ac.uk/~rja14/serpent.html> 730584fffc8SSebastian Siewior 731584fffc8SSebastian Siewiorconfig CRYPTO_TEA 732584fffc8SSebastian Siewior tristate "TEA, XTEA and XETA cipher algorithms" 733584fffc8SSebastian Siewior select CRYPTO_ALGAPI 734584fffc8SSebastian Siewior help 735584fffc8SSebastian Siewior TEA cipher algorithm. 736584fffc8SSebastian Siewior 737584fffc8SSebastian Siewior Tiny Encryption Algorithm is a simple cipher that uses 738584fffc8SSebastian Siewior many rounds for security. It is very fast and uses 739584fffc8SSebastian Siewior little memory. 740584fffc8SSebastian Siewior 741584fffc8SSebastian Siewior Xtendend Tiny Encryption Algorithm is a modification to 742584fffc8SSebastian Siewior the TEA algorithm to address a potential key weakness 743584fffc8SSebastian Siewior in the TEA algorithm. 744584fffc8SSebastian Siewior 745584fffc8SSebastian Siewior Xtendend Encryption Tiny Algorithm is a mis-implementation 746584fffc8SSebastian Siewior of the XTEA algorithm for compatibility purposes. 747584fffc8SSebastian Siewior 748584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH 749584fffc8SSebastian Siewior tristate "Twofish cipher algorithm" 750584fffc8SSebastian Siewior select CRYPTO_ALGAPI 751584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 752584fffc8SSebastian Siewior help 753584fffc8SSebastian Siewior Twofish cipher algorithm. 754584fffc8SSebastian Siewior 755584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 756584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 757584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 758584fffc8SSebastian Siewior bits. 759584fffc8SSebastian Siewior 760584fffc8SSebastian Siewior See also: 761584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 762584fffc8SSebastian Siewior 763584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON 764584fffc8SSebastian Siewior tristate 765584fffc8SSebastian Siewior help 766584fffc8SSebastian Siewior Common parts of the Twofish cipher algorithm shared by the 767584fffc8SSebastian Siewior generic c and the assembler implementations. 768584fffc8SSebastian Siewior 769584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586 770584fffc8SSebastian Siewior tristate "Twofish cipher algorithms (i586)" 771584fffc8SSebastian Siewior depends on (X86 || UML_X86) && !64BIT 772584fffc8SSebastian Siewior select CRYPTO_ALGAPI 773584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 774584fffc8SSebastian Siewior help 775584fffc8SSebastian Siewior Twofish cipher algorithm. 776584fffc8SSebastian Siewior 777584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 778584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 779584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 780584fffc8SSebastian Siewior bits. 781584fffc8SSebastian Siewior 782584fffc8SSebastian Siewior See also: 783584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 784584fffc8SSebastian Siewior 785584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64 786584fffc8SSebastian Siewior tristate "Twofish cipher algorithm (x86_64)" 787584fffc8SSebastian Siewior depends on (X86 || UML_X86) && 64BIT 788584fffc8SSebastian Siewior select CRYPTO_ALGAPI 789584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 790584fffc8SSebastian Siewior help 791584fffc8SSebastian Siewior Twofish cipher algorithm (x86_64). 792584fffc8SSebastian Siewior 793584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 794584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 795584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 796584fffc8SSebastian Siewior bits. 797584fffc8SSebastian Siewior 798584fffc8SSebastian Siewior See also: 799584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 800584fffc8SSebastian Siewior 801584fffc8SSebastian Siewiorcomment "Compression" 802584fffc8SSebastian Siewior 8031da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE 8041da177e4SLinus Torvalds tristate "Deflate compression algorithm" 805cce9e06dSHerbert Xu select CRYPTO_ALGAPI 8061da177e4SLinus Torvalds select ZLIB_INFLATE 8071da177e4SLinus Torvalds select ZLIB_DEFLATE 8081da177e4SLinus Torvalds help 8091da177e4SLinus Torvalds This is the Deflate algorithm (RFC1951), specified for use in 8101da177e4SLinus Torvalds IPSec with the IPCOMP protocol (RFC3173, RFC2394). 8111da177e4SLinus Torvalds 8121da177e4SLinus Torvalds You will most probably want this if using IPSec. 8131da177e4SLinus Torvalds 814bf68e65eSGeert Uytterhoevenconfig CRYPTO_ZLIB 815bf68e65eSGeert Uytterhoeven tristate "Zlib compression algorithm" 816bf68e65eSGeert Uytterhoeven select CRYPTO_PCOMP 817bf68e65eSGeert Uytterhoeven select ZLIB_INFLATE 818bf68e65eSGeert Uytterhoeven select ZLIB_DEFLATE 819bf68e65eSGeert Uytterhoeven select NLATTR 820bf68e65eSGeert Uytterhoeven help 821bf68e65eSGeert Uytterhoeven This is the zlib algorithm. 822bf68e65eSGeert Uytterhoeven 8230b77abb3SZoltan Sogorconfig CRYPTO_LZO 8240b77abb3SZoltan Sogor tristate "LZO compression algorithm" 8250b77abb3SZoltan Sogor select CRYPTO_ALGAPI 8260b77abb3SZoltan Sogor select LZO_COMPRESS 8270b77abb3SZoltan Sogor select LZO_DECOMPRESS 8280b77abb3SZoltan Sogor help 8290b77abb3SZoltan Sogor This is the LZO algorithm. 8300b77abb3SZoltan Sogor 83117f0f4a4SNeil Hormancomment "Random Number Generation" 83217f0f4a4SNeil Horman 83317f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG 83417f0f4a4SNeil Horman tristate "Pseudo Random Number Generation for Cryptographic modules" 8354e4ed83bSNeil Horman default m 83617f0f4a4SNeil Horman select CRYPTO_AES 83717f0f4a4SNeil Horman select CRYPTO_RNG 83817f0f4a4SNeil Horman help 83917f0f4a4SNeil Horman This option enables the generic pseudo random number generator 84017f0f4a4SNeil Horman for cryptographic modules. Uses the Algorithm specified in 8417dd607e8SJiri Kosina ANSI X9.31 A.2.4. Note that this option must be enabled if 8427dd607e8SJiri Kosina CRYPTO_FIPS is selected 84317f0f4a4SNeil Horman 8441da177e4SLinus Torvaldssource "drivers/crypto/Kconfig" 8451da177e4SLinus Torvalds 846cce9e06dSHerbert Xuendif # if CRYPTO 847