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" 26f2c89a10SHerbert Xu depends on (CRYPTO_ANSI_CPRNG || CRYPTO_DRBG) && !CRYPTO_MANAGER_DISABLE_TESTS 27002c77a4SJarod Wilson depends on MODULE_SIG 28ccb778e1SNeil Horman help 29ccb778e1SNeil Horman This options enables the fips boot option which is 30ccb778e1SNeil Horman required if you want to system to operate in a FIPS 200 31ccb778e1SNeil Horman certification. You should say no unless you know what 32e84c5480SChuck Ebbert this is. 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 51149a3971SHerbert Xu select CRYPTO_NULL2 52149a3971SHerbert Xu select CRYPTO_RNG2 536a0fcbb4SHerbert Xu 545cde0af2SHerbert Xuconfig CRYPTO_BLKCIPHER 555cde0af2SHerbert Xu tristate 566a0fcbb4SHerbert Xu select CRYPTO_BLKCIPHER2 575cde0af2SHerbert Xu select CRYPTO_ALGAPI 586a0fcbb4SHerbert Xu 596a0fcbb4SHerbert Xuconfig CRYPTO_BLKCIPHER2 606a0fcbb4SHerbert Xu tristate 616a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 626a0fcbb4SHerbert Xu select CRYPTO_RNG2 630a2e821dSHuang Ying select CRYPTO_WORKQUEUE 645cde0af2SHerbert Xu 65055bcee3SHerbert Xuconfig CRYPTO_HASH 66055bcee3SHerbert Xu tristate 676a0fcbb4SHerbert Xu select CRYPTO_HASH2 68055bcee3SHerbert Xu select CRYPTO_ALGAPI 69055bcee3SHerbert Xu 706a0fcbb4SHerbert Xuconfig CRYPTO_HASH2 716a0fcbb4SHerbert Xu tristate 726a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 736a0fcbb4SHerbert Xu 7417f0f4a4SNeil Hormanconfig CRYPTO_RNG 7517f0f4a4SNeil Horman tristate 766a0fcbb4SHerbert Xu select CRYPTO_RNG2 7717f0f4a4SNeil Horman select CRYPTO_ALGAPI 7817f0f4a4SNeil Horman 796a0fcbb4SHerbert Xuconfig CRYPTO_RNG2 806a0fcbb4SHerbert Xu tristate 816a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 826a0fcbb4SHerbert Xu 83401e4238SHerbert Xuconfig CRYPTO_RNG_DEFAULT 84401e4238SHerbert Xu tristate 85401e4238SHerbert Xu select CRYPTO_DRBG_MENU 86401e4238SHerbert Xu 873c339ab8STadeusz Strukconfig CRYPTO_AKCIPHER2 883c339ab8STadeusz Struk tristate 893c339ab8STadeusz Struk select CRYPTO_ALGAPI2 903c339ab8STadeusz Struk 913c339ab8STadeusz Strukconfig CRYPTO_AKCIPHER 923c339ab8STadeusz Struk tristate 933c339ab8STadeusz Struk select CRYPTO_AKCIPHER2 943c339ab8STadeusz Struk select CRYPTO_ALGAPI 953c339ab8STadeusz Struk 96*4e5f2c40SSalvatore Benedettoconfig CRYPTO_KPP2 97*4e5f2c40SSalvatore Benedetto tristate 98*4e5f2c40SSalvatore Benedetto select CRYPTO_ALGAPI2 99*4e5f2c40SSalvatore Benedetto 100*4e5f2c40SSalvatore Benedettoconfig CRYPTO_KPP 101*4e5f2c40SSalvatore Benedetto tristate 102*4e5f2c40SSalvatore Benedetto select CRYPTO_ALGAPI 103*4e5f2c40SSalvatore Benedetto select CRYPTO_KPP2 104*4e5f2c40SSalvatore Benedetto 105cfc2bb32STadeusz Strukconfig CRYPTO_RSA 106cfc2bb32STadeusz Struk tristate "RSA algorithm" 107425e0172STadeusz Struk select CRYPTO_AKCIPHER 10858446fefSTadeusz Struk select CRYPTO_MANAGER 109cfc2bb32STadeusz Struk select MPILIB 110cfc2bb32STadeusz Struk select ASN1 111cfc2bb32STadeusz Struk help 112cfc2bb32STadeusz Struk Generic implementation of the RSA public key algorithm. 113cfc2bb32STadeusz Struk 1142b8c19dbSHerbert Xuconfig CRYPTO_MANAGER 1152b8c19dbSHerbert Xu tristate "Cryptographic algorithm manager" 1166a0fcbb4SHerbert Xu select CRYPTO_MANAGER2 1172b8c19dbSHerbert Xu help 1182b8c19dbSHerbert Xu Create default cryptographic template instantiations such as 1192b8c19dbSHerbert Xu cbc(aes). 1202b8c19dbSHerbert Xu 1216a0fcbb4SHerbert Xuconfig CRYPTO_MANAGER2 1226a0fcbb4SHerbert Xu def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) 1236a0fcbb4SHerbert Xu select CRYPTO_AEAD2 1246a0fcbb4SHerbert Xu select CRYPTO_HASH2 1256a0fcbb4SHerbert Xu select CRYPTO_BLKCIPHER2 126946cc463STadeusz Struk select CRYPTO_AKCIPHER2 127*4e5f2c40SSalvatore Benedetto select CRYPTO_KPP2 1286a0fcbb4SHerbert Xu 129a38f7907SSteffen Klassertconfig CRYPTO_USER 130a38f7907SSteffen Klassert tristate "Userspace cryptographic algorithm configuration" 1315db017aaSHerbert Xu depends on NET 132a38f7907SSteffen Klassert select CRYPTO_MANAGER 133a38f7907SSteffen Klassert help 134d19978f5SValdis.Kletnieks@vt.edu Userspace configuration for cryptographic instantiations such as 135a38f7907SSteffen Klassert cbc(aes). 136a38f7907SSteffen Klassert 137326a6346SHerbert Xuconfig CRYPTO_MANAGER_DISABLE_TESTS 138326a6346SHerbert Xu bool "Disable run-time self tests" 13900ca28a5SHerbert Xu default y 14000ca28a5SHerbert Xu depends on CRYPTO_MANAGER2 1410b767f96SAlexander Shishkin help 142326a6346SHerbert Xu Disable run-time self tests that normally take place at 143326a6346SHerbert Xu algorithm registration. 1440b767f96SAlexander Shishkin 145584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL 14608c70fc3SJussi Kivilinna tristate "GF(2^128) multiplication functions" 147584fffc8SSebastian Siewior help 148584fffc8SSebastian Siewior Efficient table driven implementation of multiplications in the 149584fffc8SSebastian Siewior field GF(2^128). This is needed by some cypher modes. This 150584fffc8SSebastian Siewior option will be selected automatically if you select such a 151584fffc8SSebastian Siewior cipher mode. Only select this option by hand if you expect to load 152584fffc8SSebastian Siewior an external module that requires these functions. 153584fffc8SSebastian Siewior 154584fffc8SSebastian Siewiorconfig CRYPTO_NULL 155584fffc8SSebastian Siewior tristate "Null algorithms" 156149a3971SHerbert Xu select CRYPTO_NULL2 157584fffc8SSebastian Siewior help 158584fffc8SSebastian Siewior These are 'Null' algorithms, used by IPsec, which do nothing. 159584fffc8SSebastian Siewior 160149a3971SHerbert Xuconfig CRYPTO_NULL2 161dd43c4e9SHerbert Xu tristate 162149a3971SHerbert Xu select CRYPTO_ALGAPI2 163149a3971SHerbert Xu select CRYPTO_BLKCIPHER2 164149a3971SHerbert Xu select CRYPTO_HASH2 165149a3971SHerbert Xu 1665068c7a8SSteffen Klassertconfig CRYPTO_PCRYPT 1673b4afaf2SKees Cook tristate "Parallel crypto engine" 1683b4afaf2SKees Cook depends on SMP 1695068c7a8SSteffen Klassert select PADATA 1705068c7a8SSteffen Klassert select CRYPTO_MANAGER 1715068c7a8SSteffen Klassert select CRYPTO_AEAD 1725068c7a8SSteffen Klassert help 1735068c7a8SSteffen Klassert This converts an arbitrary crypto algorithm into a parallel 1745068c7a8SSteffen Klassert algorithm that executes in kernel threads. 1755068c7a8SSteffen Klassert 17625c38d3fSHuang Yingconfig CRYPTO_WORKQUEUE 17725c38d3fSHuang Ying tristate 17825c38d3fSHuang Ying 179584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD 180584fffc8SSebastian Siewior tristate "Software async crypto daemon" 181584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 182b8a28251SLoc Ho select CRYPTO_HASH 183584fffc8SSebastian Siewior select CRYPTO_MANAGER 184254eff77SHuang Ying select CRYPTO_WORKQUEUE 185584fffc8SSebastian Siewior help 186584fffc8SSebastian Siewior This is a generic software asynchronous crypto daemon that 187584fffc8SSebastian Siewior converts an arbitrary synchronous software crypto algorithm 188584fffc8SSebastian Siewior into an asynchronous algorithm that executes in a kernel thread. 189584fffc8SSebastian Siewior 1901e65b81aSTim Chenconfig CRYPTO_MCRYPTD 1911e65b81aSTim Chen tristate "Software async multi-buffer crypto daemon" 1921e65b81aSTim Chen select CRYPTO_BLKCIPHER 1931e65b81aSTim Chen select CRYPTO_HASH 1941e65b81aSTim Chen select CRYPTO_MANAGER 1951e65b81aSTim Chen select CRYPTO_WORKQUEUE 1961e65b81aSTim Chen help 1971e65b81aSTim Chen This is a generic software asynchronous crypto daemon that 1981e65b81aSTim Chen provides the kernel thread to assist multi-buffer crypto 1991e65b81aSTim Chen algorithms for submitting jobs and flushing jobs in multi-buffer 2001e65b81aSTim Chen crypto algorithms. Multi-buffer crypto algorithms are executed 2011e65b81aSTim Chen in the context of this kernel thread and drivers can post 2020e56673bSTed Percival their crypto request asynchronously to be processed by this daemon. 2031e65b81aSTim Chen 204584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC 205584fffc8SSebastian Siewior tristate "Authenc support" 206584fffc8SSebastian Siewior select CRYPTO_AEAD 207584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 208584fffc8SSebastian Siewior select CRYPTO_MANAGER 209584fffc8SSebastian Siewior select CRYPTO_HASH 210e94c6a7aSHerbert Xu select CRYPTO_NULL 211584fffc8SSebastian Siewior help 212584fffc8SSebastian Siewior Authenc: Combined mode wrapper for IPsec. 213584fffc8SSebastian Siewior This is required for IPSec. 214584fffc8SSebastian Siewior 215584fffc8SSebastian Siewiorconfig CRYPTO_TEST 216584fffc8SSebastian Siewior tristate "Testing module" 217584fffc8SSebastian Siewior depends on m 218da7f033dSHerbert Xu select CRYPTO_MANAGER 219584fffc8SSebastian Siewior help 220584fffc8SSebastian Siewior Quick & dirty crypto test module. 221584fffc8SSebastian Siewior 222a62b01cdSArd Biesheuvelconfig CRYPTO_ABLK_HELPER 223ffaf9156SJussi Kivilinna tristate 224ffaf9156SJussi Kivilinna select CRYPTO_CRYPTD 225ffaf9156SJussi Kivilinna 226596d8750SJussi Kivilinnaconfig CRYPTO_GLUE_HELPER_X86 227596d8750SJussi Kivilinna tristate 228596d8750SJussi Kivilinna depends on X86 229596d8750SJussi Kivilinna select CRYPTO_ALGAPI 230596d8750SJussi Kivilinna 231735d37b5SBaolin Wangconfig CRYPTO_ENGINE 232735d37b5SBaolin Wang tristate 233735d37b5SBaolin Wang 234584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data" 235584fffc8SSebastian Siewior 236584fffc8SSebastian Siewiorconfig CRYPTO_CCM 237584fffc8SSebastian Siewior tristate "CCM support" 238584fffc8SSebastian Siewior select CRYPTO_CTR 239584fffc8SSebastian Siewior select CRYPTO_AEAD 240584fffc8SSebastian Siewior help 241584fffc8SSebastian Siewior Support for Counter with CBC MAC. Required for IPsec. 242584fffc8SSebastian Siewior 243584fffc8SSebastian Siewiorconfig CRYPTO_GCM 244584fffc8SSebastian Siewior tristate "GCM/GMAC support" 245584fffc8SSebastian Siewior select CRYPTO_CTR 246584fffc8SSebastian Siewior select CRYPTO_AEAD 2479382d97aSHuang Ying select CRYPTO_GHASH 2489489667dSJussi Kivilinna select CRYPTO_NULL 249584fffc8SSebastian Siewior help 250584fffc8SSebastian Siewior Support for Galois/Counter Mode (GCM) and Galois Message 251584fffc8SSebastian Siewior Authentication Code (GMAC). Required for IPSec. 252584fffc8SSebastian Siewior 25371ebc4d1SMartin Williconfig CRYPTO_CHACHA20POLY1305 25471ebc4d1SMartin Willi tristate "ChaCha20-Poly1305 AEAD support" 25571ebc4d1SMartin Willi select CRYPTO_CHACHA20 25671ebc4d1SMartin Willi select CRYPTO_POLY1305 25771ebc4d1SMartin Willi select CRYPTO_AEAD 25871ebc4d1SMartin Willi help 25971ebc4d1SMartin Willi ChaCha20-Poly1305 AEAD support, RFC7539. 26071ebc4d1SMartin Willi 26171ebc4d1SMartin Willi Support for the AEAD wrapper using the ChaCha20 stream cipher combined 26271ebc4d1SMartin Willi with the Poly1305 authenticator. It is defined in RFC7539 for use in 26371ebc4d1SMartin Willi IETF protocols. 26471ebc4d1SMartin Willi 265584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV 266584fffc8SSebastian Siewior tristate "Sequence Number IV Generator" 267584fffc8SSebastian Siewior select CRYPTO_AEAD 268584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 269856e3f40SHerbert Xu select CRYPTO_NULL 270401e4238SHerbert Xu select CRYPTO_RNG_DEFAULT 271584fffc8SSebastian Siewior help 272584fffc8SSebastian Siewior This IV generator generates an IV based on a sequence number by 273584fffc8SSebastian Siewior xoring it with a salt. This algorithm is mainly useful for CTR 274584fffc8SSebastian Siewior 275a10f554fSHerbert Xuconfig CRYPTO_ECHAINIV 276a10f554fSHerbert Xu tristate "Encrypted Chain IV Generator" 277a10f554fSHerbert Xu select CRYPTO_AEAD 278a10f554fSHerbert Xu select CRYPTO_NULL 279401e4238SHerbert Xu select CRYPTO_RNG_DEFAULT 2803491244cSHerbert Xu default m 281a10f554fSHerbert Xu help 282a10f554fSHerbert Xu This IV generator generates an IV based on the encryption of 283a10f554fSHerbert Xu a sequence number xored with a salt. This is the default 284a10f554fSHerbert Xu algorithm for CBC. 285a10f554fSHerbert Xu 286584fffc8SSebastian Siewiorcomment "Block modes" 287584fffc8SSebastian Siewior 288584fffc8SSebastian Siewiorconfig CRYPTO_CBC 289584fffc8SSebastian Siewior tristate "CBC support" 290584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 291584fffc8SSebastian Siewior select CRYPTO_MANAGER 292584fffc8SSebastian Siewior help 293584fffc8SSebastian Siewior CBC: Cipher Block Chaining mode 294584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 295584fffc8SSebastian Siewior 296584fffc8SSebastian Siewiorconfig CRYPTO_CTR 297584fffc8SSebastian Siewior tristate "CTR support" 298584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 299584fffc8SSebastian Siewior select CRYPTO_SEQIV 300584fffc8SSebastian Siewior select CRYPTO_MANAGER 301584fffc8SSebastian Siewior help 302584fffc8SSebastian Siewior CTR: Counter mode 303584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 304584fffc8SSebastian Siewior 305584fffc8SSebastian Siewiorconfig CRYPTO_CTS 306584fffc8SSebastian Siewior tristate "CTS support" 307584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 308584fffc8SSebastian Siewior help 309584fffc8SSebastian Siewior CTS: Cipher Text Stealing 310584fffc8SSebastian Siewior This is the Cipher Text Stealing mode as described by 311584fffc8SSebastian Siewior Section 8 of rfc2040 and referenced by rfc3962. 312584fffc8SSebastian Siewior (rfc3962 includes errata information in its Appendix A) 313584fffc8SSebastian Siewior This mode is required for Kerberos gss mechanism support 314584fffc8SSebastian Siewior for AES encryption. 315584fffc8SSebastian Siewior 316584fffc8SSebastian Siewiorconfig CRYPTO_ECB 317584fffc8SSebastian Siewior tristate "ECB support" 318584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 319584fffc8SSebastian Siewior select CRYPTO_MANAGER 320584fffc8SSebastian Siewior help 321584fffc8SSebastian Siewior ECB: Electronic CodeBook mode 322584fffc8SSebastian Siewior This is the simplest block cipher algorithm. It simply encrypts 323584fffc8SSebastian Siewior the input block by block. 324584fffc8SSebastian Siewior 325584fffc8SSebastian Siewiorconfig CRYPTO_LRW 3262470a2b2SJussi Kivilinna tristate "LRW support" 327584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 328584fffc8SSebastian Siewior select CRYPTO_MANAGER 329584fffc8SSebastian Siewior select CRYPTO_GF128MUL 330584fffc8SSebastian Siewior help 331584fffc8SSebastian Siewior LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable 332584fffc8SSebastian Siewior narrow block cipher mode for dm-crypt. Use it with cipher 333584fffc8SSebastian Siewior specification string aes-lrw-benbi, the key must be 256, 320 or 384. 334584fffc8SSebastian Siewior The first 128, 192 or 256 bits in the key are used for AES and the 335584fffc8SSebastian Siewior rest is used to tie each cipher block to its logical position. 336584fffc8SSebastian Siewior 337584fffc8SSebastian Siewiorconfig CRYPTO_PCBC 338584fffc8SSebastian Siewior tristate "PCBC support" 339584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 340584fffc8SSebastian Siewior select CRYPTO_MANAGER 341584fffc8SSebastian Siewior help 342584fffc8SSebastian Siewior PCBC: Propagating Cipher Block Chaining mode 343584fffc8SSebastian Siewior This block cipher algorithm is required for RxRPC. 344584fffc8SSebastian Siewior 345584fffc8SSebastian Siewiorconfig CRYPTO_XTS 3465bcf8e6dSJussi Kivilinna tristate "XTS support" 347584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 348584fffc8SSebastian Siewior select CRYPTO_MANAGER 349584fffc8SSebastian Siewior select CRYPTO_GF128MUL 350584fffc8SSebastian Siewior help 351584fffc8SSebastian Siewior XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, 352584fffc8SSebastian Siewior key size 256, 384 or 512 bits. This implementation currently 353584fffc8SSebastian Siewior can't handle a sectorsize which is not a multiple of 16 bytes. 354584fffc8SSebastian Siewior 3551c49678eSStephan Muellerconfig CRYPTO_KEYWRAP 3561c49678eSStephan Mueller tristate "Key wrapping support" 3571c49678eSStephan Mueller select CRYPTO_BLKCIPHER 3581c49678eSStephan Mueller help 3591c49678eSStephan Mueller Support for key wrapping (NIST SP800-38F / RFC3394) without 3601c49678eSStephan Mueller padding. 3611c49678eSStephan Mueller 362584fffc8SSebastian Siewiorcomment "Hash modes" 363584fffc8SSebastian Siewior 36493b5e86aSJussi Kivilinnaconfig CRYPTO_CMAC 36593b5e86aSJussi Kivilinna tristate "CMAC support" 36693b5e86aSJussi Kivilinna select CRYPTO_HASH 36793b5e86aSJussi Kivilinna select CRYPTO_MANAGER 36893b5e86aSJussi Kivilinna help 36993b5e86aSJussi Kivilinna Cipher-based Message Authentication Code (CMAC) specified by 37093b5e86aSJussi Kivilinna The National Institute of Standards and Technology (NIST). 37193b5e86aSJussi Kivilinna 37293b5e86aSJussi Kivilinna https://tools.ietf.org/html/rfc4493 37393b5e86aSJussi Kivilinna http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf 37493b5e86aSJussi Kivilinna 3751da177e4SLinus Torvaldsconfig CRYPTO_HMAC 3768425165dSHerbert Xu tristate "HMAC support" 3770796ae06SHerbert Xu select CRYPTO_HASH 37843518407SHerbert Xu select CRYPTO_MANAGER 3791da177e4SLinus Torvalds help 3801da177e4SLinus Torvalds HMAC: Keyed-Hashing for Message Authentication (RFC2104). 3811da177e4SLinus Torvalds This is required for IPSec. 3821da177e4SLinus Torvalds 383333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC 384333b0d7eSKazunori MIYAZAWA tristate "XCBC support" 385333b0d7eSKazunori MIYAZAWA select CRYPTO_HASH 386333b0d7eSKazunori MIYAZAWA select CRYPTO_MANAGER 387333b0d7eSKazunori MIYAZAWA help 388333b0d7eSKazunori MIYAZAWA XCBC: Keyed-Hashing with encryption algorithm 389333b0d7eSKazunori MIYAZAWA http://www.ietf.org/rfc/rfc3566.txt 390333b0d7eSKazunori MIYAZAWA http://csrc.nist.gov/encryption/modes/proposedmodes/ 391333b0d7eSKazunori MIYAZAWA xcbc-mac/xcbc-mac-spec.pdf 392333b0d7eSKazunori MIYAZAWA 393f1939f7cSShane Wangconfig CRYPTO_VMAC 394f1939f7cSShane Wang tristate "VMAC support" 395f1939f7cSShane Wang select CRYPTO_HASH 396f1939f7cSShane Wang select CRYPTO_MANAGER 397f1939f7cSShane Wang help 398f1939f7cSShane Wang VMAC is a message authentication algorithm designed for 399f1939f7cSShane Wang very high speed on 64-bit architectures. 400f1939f7cSShane Wang 401f1939f7cSShane Wang See also: 402f1939f7cSShane Wang <http://fastcrypto.org/vmac> 403f1939f7cSShane Wang 404584fffc8SSebastian Siewiorcomment "Digest" 405584fffc8SSebastian Siewior 406584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C 407584fffc8SSebastian Siewior tristate "CRC32c CRC algorithm" 4085773a3e6SHerbert Xu select CRYPTO_HASH 4096a0962b2SDarrick J. Wong select CRC32 4101da177e4SLinus Torvalds help 411584fffc8SSebastian Siewior Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used 412584fffc8SSebastian Siewior by iSCSI for header and data digests and by others. 41369c35efcSHerbert Xu See Castagnoli93. Module will be crc32c. 4141da177e4SLinus Torvalds 4158cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL 4168cb51ba8SAustin Zhang tristate "CRC32c INTEL hardware acceleration" 4178cb51ba8SAustin Zhang depends on X86 4188cb51ba8SAustin Zhang select CRYPTO_HASH 4198cb51ba8SAustin Zhang help 4208cb51ba8SAustin Zhang In Intel processor with SSE4.2 supported, the processor will 4218cb51ba8SAustin Zhang support CRC32C implementation using hardware accelerated CRC32 4228cb51ba8SAustin Zhang instruction. This option will create 'crc32c-intel' module, 4238cb51ba8SAustin Zhang which will enable any routine to use the CRC32 instruction to 4248cb51ba8SAustin Zhang gain performance compared with software implementation. 4258cb51ba8SAustin Zhang Module will be crc32c-intel. 4268cb51ba8SAustin Zhang 427442a7c40SDavid S. Millerconfig CRYPTO_CRC32C_SPARC64 428442a7c40SDavid S. Miller tristate "CRC32c CRC algorithm (SPARC64)" 429442a7c40SDavid S. Miller depends on SPARC64 430442a7c40SDavid S. Miller select CRYPTO_HASH 431442a7c40SDavid S. Miller select CRC32 432442a7c40SDavid S. Miller help 433442a7c40SDavid S. Miller CRC32c CRC algorithm implemented using sparc64 crypto instructions, 434442a7c40SDavid S. Miller when available. 435442a7c40SDavid S. Miller 43678c37d19SAlexander Boykoconfig CRYPTO_CRC32 43778c37d19SAlexander Boyko tristate "CRC32 CRC algorithm" 43878c37d19SAlexander Boyko select CRYPTO_HASH 43978c37d19SAlexander Boyko select CRC32 44078c37d19SAlexander Boyko help 44178c37d19SAlexander Boyko CRC-32-IEEE 802.3 cyclic redundancy-check algorithm. 44278c37d19SAlexander Boyko Shash crypto api wrappers to crc32_le function. 44378c37d19SAlexander Boyko 44478c37d19SAlexander Boykoconfig CRYPTO_CRC32_PCLMUL 44578c37d19SAlexander Boyko tristate "CRC32 PCLMULQDQ hardware acceleration" 44678c37d19SAlexander Boyko depends on X86 44778c37d19SAlexander Boyko select CRYPTO_HASH 44878c37d19SAlexander Boyko select CRC32 44978c37d19SAlexander Boyko help 45078c37d19SAlexander Boyko From Intel Westmere and AMD Bulldozer processor with SSE4.2 45178c37d19SAlexander Boyko and PCLMULQDQ supported, the processor will support 45278c37d19SAlexander Boyko CRC32 PCLMULQDQ implementation using hardware accelerated PCLMULQDQ 45378c37d19SAlexander Boyko instruction. This option will create 'crc32-plcmul' module, 45478c37d19SAlexander Boyko which will enable any routine to use the CRC-32-IEEE 802.3 checksum 45578c37d19SAlexander Boyko and gain better performance as compared with the table implementation. 45678c37d19SAlexander Boyko 45768411521SHerbert Xuconfig CRYPTO_CRCT10DIF 45868411521SHerbert Xu tristate "CRCT10DIF algorithm" 45968411521SHerbert Xu select CRYPTO_HASH 46068411521SHerbert Xu help 46168411521SHerbert Xu CRC T10 Data Integrity Field computation is being cast as 46268411521SHerbert Xu a crypto transform. This allows for faster crc t10 diff 46368411521SHerbert Xu transforms to be used if they are available. 46468411521SHerbert Xu 46568411521SHerbert Xuconfig CRYPTO_CRCT10DIF_PCLMUL 46668411521SHerbert Xu tristate "CRCT10DIF PCLMULQDQ hardware acceleration" 46768411521SHerbert Xu depends on X86 && 64BIT && CRC_T10DIF 46868411521SHerbert Xu select CRYPTO_HASH 46968411521SHerbert Xu help 47068411521SHerbert Xu For x86_64 processors with SSE4.2 and PCLMULQDQ supported, 47168411521SHerbert Xu CRC T10 DIF PCLMULQDQ computation can be hardware 47268411521SHerbert Xu accelerated PCLMULQDQ instruction. This option will create 47368411521SHerbert Xu 'crct10dif-plcmul' module, which is faster when computing the 47468411521SHerbert Xu crct10dif checksum as compared with the generic table implementation. 47568411521SHerbert Xu 4762cdc6899SHuang Yingconfig CRYPTO_GHASH 4772cdc6899SHuang Ying tristate "GHASH digest algorithm" 4782cdc6899SHuang Ying select CRYPTO_GF128MUL 479578c60fbSArnd Bergmann select CRYPTO_HASH 4802cdc6899SHuang Ying help 4812cdc6899SHuang Ying GHASH is message digest algorithm for GCM (Galois/Counter Mode). 4822cdc6899SHuang Ying 483f979e014SMartin Williconfig CRYPTO_POLY1305 484f979e014SMartin Willi tristate "Poly1305 authenticator algorithm" 485578c60fbSArnd Bergmann select CRYPTO_HASH 486f979e014SMartin Willi help 487f979e014SMartin Willi Poly1305 authenticator algorithm, RFC7539. 488f979e014SMartin Willi 489f979e014SMartin Willi Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein. 490f979e014SMartin Willi It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use 491f979e014SMartin Willi in IETF protocols. This is the portable C implementation of Poly1305. 492f979e014SMartin Willi 493c70f4abeSMartin Williconfig CRYPTO_POLY1305_X86_64 494b1ccc8f4SMartin Willi tristate "Poly1305 authenticator algorithm (x86_64/SSE2/AVX2)" 495c70f4abeSMartin Willi depends on X86 && 64BIT 496c70f4abeSMartin Willi select CRYPTO_POLY1305 497c70f4abeSMartin Willi help 498c70f4abeSMartin Willi Poly1305 authenticator algorithm, RFC7539. 499c70f4abeSMartin Willi 500c70f4abeSMartin Willi Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein. 501c70f4abeSMartin Willi It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use 502c70f4abeSMartin Willi in IETF protocols. This is the x86_64 assembler implementation using SIMD 503c70f4abeSMartin Willi instructions. 504c70f4abeSMartin Willi 5051da177e4SLinus Torvaldsconfig CRYPTO_MD4 5061da177e4SLinus Torvalds tristate "MD4 digest algorithm" 507808a1763SAdrian-Ken Rueegsegger select CRYPTO_HASH 5081da177e4SLinus Torvalds help 5091da177e4SLinus Torvalds MD4 message digest algorithm (RFC1320). 5101da177e4SLinus Torvalds 5111da177e4SLinus Torvaldsconfig CRYPTO_MD5 5121da177e4SLinus Torvalds tristate "MD5 digest algorithm" 51314b75ba7SAdrian-Ken Rueegsegger select CRYPTO_HASH 5141da177e4SLinus Torvalds help 5151da177e4SLinus Torvalds MD5 message digest algorithm (RFC1321). 5161da177e4SLinus Torvalds 517d69e75deSAaro Koskinenconfig CRYPTO_MD5_OCTEON 518d69e75deSAaro Koskinen tristate "MD5 digest algorithm (OCTEON)" 519d69e75deSAaro Koskinen depends on CPU_CAVIUM_OCTEON 520d69e75deSAaro Koskinen select CRYPTO_MD5 521d69e75deSAaro Koskinen select CRYPTO_HASH 522d69e75deSAaro Koskinen help 523d69e75deSAaro Koskinen MD5 message digest algorithm (RFC1321) implemented 524d69e75deSAaro Koskinen using OCTEON crypto instructions, when available. 525d69e75deSAaro Koskinen 526e8e59953SMarkus Stockhausenconfig CRYPTO_MD5_PPC 527e8e59953SMarkus Stockhausen tristate "MD5 digest algorithm (PPC)" 528e8e59953SMarkus Stockhausen depends on PPC 529e8e59953SMarkus Stockhausen select CRYPTO_HASH 530e8e59953SMarkus Stockhausen help 531e8e59953SMarkus Stockhausen MD5 message digest algorithm (RFC1321) implemented 532e8e59953SMarkus Stockhausen in PPC assembler. 533e8e59953SMarkus Stockhausen 534fa4dfedcSDavid S. Millerconfig CRYPTO_MD5_SPARC64 535fa4dfedcSDavid S. Miller tristate "MD5 digest algorithm (SPARC64)" 536fa4dfedcSDavid S. Miller depends on SPARC64 537fa4dfedcSDavid S. Miller select CRYPTO_MD5 538fa4dfedcSDavid S. Miller select CRYPTO_HASH 539fa4dfedcSDavid S. Miller help 540fa4dfedcSDavid S. Miller MD5 message digest algorithm (RFC1321) implemented 541fa4dfedcSDavid S. Miller using sparc64 crypto instructions, when available. 542fa4dfedcSDavid S. Miller 543584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC 544584fffc8SSebastian Siewior tristate "Michael MIC keyed digest algorithm" 54519e2bf14SAdrian-Ken Rueegsegger select CRYPTO_HASH 546584fffc8SSebastian Siewior help 547584fffc8SSebastian Siewior Michael MIC is used for message integrity protection in TKIP 548584fffc8SSebastian Siewior (IEEE 802.11i). This algorithm is required for TKIP, but it 549584fffc8SSebastian Siewior should not be used for other purposes because of the weakness 550584fffc8SSebastian Siewior of the algorithm. 551584fffc8SSebastian Siewior 55282798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128 55382798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-128 digest algorithm" 5547c4468bcSHerbert Xu select CRYPTO_HASH 55582798f90SAdrian-Ken Rueegsegger help 55682798f90SAdrian-Ken Rueegsegger RIPEMD-128 (ISO/IEC 10118-3:2004). 55782798f90SAdrian-Ken Rueegsegger 55882798f90SAdrian-Ken Rueegsegger RIPEMD-128 is a 128-bit cryptographic hash function. It should only 55935ed4b35SMichael Witten be used as a secure replacement for RIPEMD. For other use cases, 56082798f90SAdrian-Ken Rueegsegger RIPEMD-160 should be used. 56182798f90SAdrian-Ken Rueegsegger 56282798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 5636d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 56482798f90SAdrian-Ken Rueegsegger 56582798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160 56682798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-160 digest algorithm" 567e5835fbaSHerbert Xu select CRYPTO_HASH 56882798f90SAdrian-Ken Rueegsegger help 56982798f90SAdrian-Ken Rueegsegger RIPEMD-160 (ISO/IEC 10118-3:2004). 57082798f90SAdrian-Ken Rueegsegger 57182798f90SAdrian-Ken Rueegsegger RIPEMD-160 is a 160-bit cryptographic hash function. It is intended 57282798f90SAdrian-Ken Rueegsegger to be used as a secure replacement for the 128-bit hash functions 573b6d44341SAdrian Bunk MD4, MD5 and it's predecessor RIPEMD 574b6d44341SAdrian Bunk (not to be confused with RIPEMD-128). 57582798f90SAdrian-Ken Rueegsegger 576b6d44341SAdrian Bunk It's speed is comparable to SHA1 and there are no known attacks 577b6d44341SAdrian Bunk against RIPEMD-160. 578534fe2c1SAdrian-Ken Rueegsegger 579534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 5806d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 581534fe2c1SAdrian-Ken Rueegsegger 582534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256 583534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-256 digest algorithm" 584d8a5e2e9SHerbert Xu select CRYPTO_HASH 585534fe2c1SAdrian-Ken Rueegsegger help 586b6d44341SAdrian Bunk RIPEMD-256 is an optional extension of RIPEMD-128 with a 587b6d44341SAdrian Bunk 256 bit hash. It is intended for applications that require 588b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 589b6d44341SAdrian Bunk (than RIPEMD-128). 590534fe2c1SAdrian-Ken Rueegsegger 591534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 5926d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 593534fe2c1SAdrian-Ken Rueegsegger 594534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320 595534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-320 digest algorithm" 5963b8efb4cSHerbert Xu select CRYPTO_HASH 597534fe2c1SAdrian-Ken Rueegsegger help 598b6d44341SAdrian Bunk RIPEMD-320 is an optional extension of RIPEMD-160 with a 599b6d44341SAdrian Bunk 320 bit hash. It is intended for applications that require 600b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 601b6d44341SAdrian Bunk (than RIPEMD-160). 602534fe2c1SAdrian-Ken Rueegsegger 60382798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 6046d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 60582798f90SAdrian-Ken Rueegsegger 6061da177e4SLinus Torvaldsconfig CRYPTO_SHA1 6071da177e4SLinus Torvalds tristate "SHA1 digest algorithm" 60854ccb367SAdrian-Ken Rueegsegger select CRYPTO_HASH 6091da177e4SLinus Torvalds help 6101da177e4SLinus Torvalds SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 6111da177e4SLinus Torvalds 61266be8951SMathias Krauseconfig CRYPTO_SHA1_SSSE3 613e38b6b7fStim tristate "SHA1 digest algorithm (SSSE3/AVX/AVX2/SHA-NI)" 61466be8951SMathias Krause depends on X86 && 64BIT 61566be8951SMathias Krause select CRYPTO_SHA1 61666be8951SMathias Krause select CRYPTO_HASH 61766be8951SMathias Krause help 61866be8951SMathias Krause SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 61966be8951SMathias Krause using Supplemental SSE3 (SSSE3) instructions or Advanced Vector 620e38b6b7fStim Extensions (AVX/AVX2) or SHA-NI(SHA Extensions New Instructions), 621e38b6b7fStim when available. 62266be8951SMathias Krause 6238275d1aaSTim Chenconfig CRYPTO_SHA256_SSSE3 624e38b6b7fStim tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2/SHA-NI)" 6258275d1aaSTim Chen depends on X86 && 64BIT 6268275d1aaSTim Chen select CRYPTO_SHA256 6278275d1aaSTim Chen select CRYPTO_HASH 6288275d1aaSTim Chen help 6298275d1aaSTim Chen SHA-256 secure hash standard (DFIPS 180-2) implemented 6308275d1aaSTim Chen using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector 6318275d1aaSTim Chen Extensions version 1 (AVX1), or Advanced Vector Extensions 632e38b6b7fStim version 2 (AVX2) instructions, or SHA-NI (SHA Extensions New 633e38b6b7fStim Instructions) when available. 6348275d1aaSTim Chen 63587de4579STim Chenconfig CRYPTO_SHA512_SSSE3 63687de4579STim Chen tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)" 63787de4579STim Chen depends on X86 && 64BIT 63887de4579STim Chen select CRYPTO_SHA512 63987de4579STim Chen select CRYPTO_HASH 64087de4579STim Chen help 64187de4579STim Chen SHA-512 secure hash standard (DFIPS 180-2) implemented 64287de4579STim Chen using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector 64387de4579STim Chen Extensions version 1 (AVX1), or Advanced Vector Extensions 64487de4579STim Chen version 2 (AVX2) instructions, when available. 64587de4579STim Chen 646efdb6f6eSAaro Koskinenconfig CRYPTO_SHA1_OCTEON 647efdb6f6eSAaro Koskinen tristate "SHA1 digest algorithm (OCTEON)" 648efdb6f6eSAaro Koskinen depends on CPU_CAVIUM_OCTEON 649efdb6f6eSAaro Koskinen select CRYPTO_SHA1 650efdb6f6eSAaro Koskinen select CRYPTO_HASH 651efdb6f6eSAaro Koskinen help 652efdb6f6eSAaro Koskinen SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 653efdb6f6eSAaro Koskinen using OCTEON crypto instructions, when available. 654efdb6f6eSAaro Koskinen 6554ff28d4cSDavid S. Millerconfig CRYPTO_SHA1_SPARC64 6564ff28d4cSDavid S. Miller tristate "SHA1 digest algorithm (SPARC64)" 6574ff28d4cSDavid S. Miller depends on SPARC64 6584ff28d4cSDavid S. Miller select CRYPTO_SHA1 6594ff28d4cSDavid S. Miller select CRYPTO_HASH 6604ff28d4cSDavid S. Miller help 6614ff28d4cSDavid S. Miller SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 6624ff28d4cSDavid S. Miller using sparc64 crypto instructions, when available. 6634ff28d4cSDavid S. Miller 664323a6bf1SMichael Ellermanconfig CRYPTO_SHA1_PPC 665323a6bf1SMichael Ellerman tristate "SHA1 digest algorithm (powerpc)" 666323a6bf1SMichael Ellerman depends on PPC 667323a6bf1SMichael Ellerman help 668323a6bf1SMichael Ellerman This is the powerpc hardware accelerated implementation of the 669323a6bf1SMichael Ellerman SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 670323a6bf1SMichael Ellerman 671d9850fc5SMarkus Stockhausenconfig CRYPTO_SHA1_PPC_SPE 672d9850fc5SMarkus Stockhausen tristate "SHA1 digest algorithm (PPC SPE)" 673d9850fc5SMarkus Stockhausen depends on PPC && SPE 674d9850fc5SMarkus Stockhausen help 675d9850fc5SMarkus Stockhausen SHA-1 secure hash standard (DFIPS 180-4) implemented 676d9850fc5SMarkus Stockhausen using powerpc SPE SIMD instruction set. 677d9850fc5SMarkus Stockhausen 6781e65b81aSTim Chenconfig CRYPTO_SHA1_MB 6791e65b81aSTim Chen tristate "SHA1 digest algorithm (x86_64 Multi-Buffer, Experimental)" 6801e65b81aSTim Chen depends on X86 && 64BIT 6811e65b81aSTim Chen select CRYPTO_SHA1 6821e65b81aSTim Chen select CRYPTO_HASH 6831e65b81aSTim Chen select CRYPTO_MCRYPTD 6841e65b81aSTim Chen help 6851e65b81aSTim Chen SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 6861e65b81aSTim Chen using multi-buffer technique. This algorithm computes on 6871e65b81aSTim Chen multiple data lanes concurrently with SIMD instructions for 6881e65b81aSTim Chen better throughput. It should not be enabled by default but 6891e65b81aSTim Chen used when there is significant amount of work to keep the keep 6901e65b81aSTim Chen the data lanes filled to get performance benefit. If the data 6911e65b81aSTim Chen lanes remain unfilled, a flush operation will be initiated to 6921e65b81aSTim Chen process the crypto jobs, adding a slight latency. 6931e65b81aSTim Chen 6941da177e4SLinus Torvaldsconfig CRYPTO_SHA256 695cd12fb90SJonathan Lynch tristate "SHA224 and SHA256 digest algorithm" 69650e109b5SAdrian-Ken Rueegsegger select CRYPTO_HASH 6971da177e4SLinus Torvalds help 6981da177e4SLinus Torvalds SHA256 secure hash standard (DFIPS 180-2). 6991da177e4SLinus Torvalds 7001da177e4SLinus Torvalds This version of SHA implements a 256 bit hash with 128 bits of 7011da177e4SLinus Torvalds security against collision attacks. 7021da177e4SLinus Torvalds 703cd12fb90SJonathan Lynch This code also includes SHA-224, a 224 bit hash with 112 bits 704cd12fb90SJonathan Lynch of security against collision attacks. 705cd12fb90SJonathan Lynch 7062ecc1e95SMarkus Stockhausenconfig CRYPTO_SHA256_PPC_SPE 7072ecc1e95SMarkus Stockhausen tristate "SHA224 and SHA256 digest algorithm (PPC SPE)" 7082ecc1e95SMarkus Stockhausen depends on PPC && SPE 7092ecc1e95SMarkus Stockhausen select CRYPTO_SHA256 7102ecc1e95SMarkus Stockhausen select CRYPTO_HASH 7112ecc1e95SMarkus Stockhausen help 7122ecc1e95SMarkus Stockhausen SHA224 and SHA256 secure hash standard (DFIPS 180-2) 7132ecc1e95SMarkus Stockhausen implemented using powerpc SPE SIMD instruction set. 7142ecc1e95SMarkus Stockhausen 715efdb6f6eSAaro Koskinenconfig CRYPTO_SHA256_OCTEON 716efdb6f6eSAaro Koskinen tristate "SHA224 and SHA256 digest algorithm (OCTEON)" 717efdb6f6eSAaro Koskinen depends on CPU_CAVIUM_OCTEON 718efdb6f6eSAaro Koskinen select CRYPTO_SHA256 719efdb6f6eSAaro Koskinen select CRYPTO_HASH 720efdb6f6eSAaro Koskinen help 721efdb6f6eSAaro Koskinen SHA-256 secure hash standard (DFIPS 180-2) implemented 722efdb6f6eSAaro Koskinen using OCTEON crypto instructions, when available. 723efdb6f6eSAaro Koskinen 72486c93b24SDavid S. Millerconfig CRYPTO_SHA256_SPARC64 72586c93b24SDavid S. Miller tristate "SHA224 and SHA256 digest algorithm (SPARC64)" 72686c93b24SDavid S. Miller depends on SPARC64 72786c93b24SDavid S. Miller select CRYPTO_SHA256 72886c93b24SDavid S. Miller select CRYPTO_HASH 72986c93b24SDavid S. Miller help 73086c93b24SDavid S. Miller SHA-256 secure hash standard (DFIPS 180-2) implemented 73186c93b24SDavid S. Miller using sparc64 crypto instructions, when available. 73286c93b24SDavid S. Miller 7331da177e4SLinus Torvaldsconfig CRYPTO_SHA512 7341da177e4SLinus Torvalds tristate "SHA384 and SHA512 digest algorithms" 735bd9d20dbSAdrian-Ken Rueegsegger select CRYPTO_HASH 7361da177e4SLinus Torvalds help 7371da177e4SLinus Torvalds SHA512 secure hash standard (DFIPS 180-2). 7381da177e4SLinus Torvalds 7391da177e4SLinus Torvalds This version of SHA implements a 512 bit hash with 256 bits of 7401da177e4SLinus Torvalds security against collision attacks. 7411da177e4SLinus Torvalds 7421da177e4SLinus Torvalds This code also includes SHA-384, a 384 bit hash with 192 bits 7431da177e4SLinus Torvalds of security against collision attacks. 7441da177e4SLinus Torvalds 745efdb6f6eSAaro Koskinenconfig CRYPTO_SHA512_OCTEON 746efdb6f6eSAaro Koskinen tristate "SHA384 and SHA512 digest algorithms (OCTEON)" 747efdb6f6eSAaro Koskinen depends on CPU_CAVIUM_OCTEON 748efdb6f6eSAaro Koskinen select CRYPTO_SHA512 749efdb6f6eSAaro Koskinen select CRYPTO_HASH 750efdb6f6eSAaro Koskinen help 751efdb6f6eSAaro Koskinen SHA-512 secure hash standard (DFIPS 180-2) implemented 752efdb6f6eSAaro Koskinen using OCTEON crypto instructions, when available. 753efdb6f6eSAaro Koskinen 754775e0c69SDavid S. Millerconfig CRYPTO_SHA512_SPARC64 755775e0c69SDavid S. Miller tristate "SHA384 and SHA512 digest algorithm (SPARC64)" 756775e0c69SDavid S. Miller depends on SPARC64 757775e0c69SDavid S. Miller select CRYPTO_SHA512 758775e0c69SDavid S. Miller select CRYPTO_HASH 759775e0c69SDavid S. Miller help 760775e0c69SDavid S. Miller SHA-512 secure hash standard (DFIPS 180-2) implemented 761775e0c69SDavid S. Miller using sparc64 crypto instructions, when available. 762775e0c69SDavid S. Miller 76353964b9eSJeff Garzikconfig CRYPTO_SHA3 76453964b9eSJeff Garzik tristate "SHA3 digest algorithm" 76553964b9eSJeff Garzik select CRYPTO_HASH 76653964b9eSJeff Garzik help 76753964b9eSJeff Garzik SHA-3 secure hash standard (DFIPS 202). It's based on 76853964b9eSJeff Garzik cryptographic sponge function family called Keccak. 76953964b9eSJeff Garzik 77053964b9eSJeff Garzik References: 77153964b9eSJeff Garzik http://keccak.noekeon.org/ 77253964b9eSJeff Garzik 7731da177e4SLinus Torvaldsconfig CRYPTO_TGR192 7741da177e4SLinus Torvalds tristate "Tiger digest algorithms" 775f63fbd3dSAdrian-Ken Rueegsegger select CRYPTO_HASH 7761da177e4SLinus Torvalds help 7771da177e4SLinus Torvalds Tiger hash algorithm 192, 160 and 128-bit hashes 7781da177e4SLinus Torvalds 7791da177e4SLinus Torvalds Tiger is a hash function optimized for 64-bit processors while 7801da177e4SLinus Torvalds still having decent performance on 32-bit processors. 7811da177e4SLinus Torvalds Tiger was developed by Ross Anderson and Eli Biham. 7821da177e4SLinus Torvalds 7831da177e4SLinus Torvalds See also: 7841da177e4SLinus Torvalds <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. 7851da177e4SLinus Torvalds 786584fffc8SSebastian Siewiorconfig CRYPTO_WP512 787584fffc8SSebastian Siewior tristate "Whirlpool digest algorithms" 7884946510bSAdrian-Ken Rueegsegger select CRYPTO_HASH 7891da177e4SLinus Torvalds help 790584fffc8SSebastian Siewior Whirlpool hash algorithm 512, 384 and 256-bit hashes 7911da177e4SLinus Torvalds 792584fffc8SSebastian Siewior Whirlpool-512 is part of the NESSIE cryptographic primitives. 793584fffc8SSebastian Siewior Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard 7941da177e4SLinus Torvalds 7951da177e4SLinus Torvalds See also: 7966d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html> 7971da177e4SLinus Torvalds 7980e1227d3SHuang Yingconfig CRYPTO_GHASH_CLMUL_NI_INTEL 7990e1227d3SHuang Ying tristate "GHASH digest algorithm (CLMUL-NI accelerated)" 8008af00860SRichard Weinberger depends on X86 && 64BIT 8010e1227d3SHuang Ying select CRYPTO_CRYPTD 8020e1227d3SHuang Ying help 8030e1227d3SHuang Ying GHASH is message digest algorithm for GCM (Galois/Counter Mode). 8040e1227d3SHuang Ying The implementation is accelerated by CLMUL-NI of Intel. 8050e1227d3SHuang Ying 806584fffc8SSebastian Siewiorcomment "Ciphers" 8071da177e4SLinus Torvalds 8081da177e4SLinus Torvaldsconfig CRYPTO_AES 8091da177e4SLinus Torvalds tristate "AES cipher algorithms" 810cce9e06dSHerbert Xu select CRYPTO_ALGAPI 8111da177e4SLinus Torvalds help 8121da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 8131da177e4SLinus Torvalds algorithm. 8141da177e4SLinus Torvalds 8151da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 8161da177e4SLinus Torvalds both hardware and software across a wide range of computing 8171da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 8181da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 8191da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 8201da177e4SLinus Torvalds suited for restricted-space environments, in which it also 8211da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 8221da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 8231da177e4SLinus Torvalds 8241da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 8251da177e4SLinus Torvalds 8261da177e4SLinus Torvalds See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. 8271da177e4SLinus Torvalds 8281da177e4SLinus Torvaldsconfig CRYPTO_AES_586 8291da177e4SLinus Torvalds tristate "AES cipher algorithms (i586)" 830cce9e06dSHerbert Xu depends on (X86 || UML_X86) && !64BIT 831cce9e06dSHerbert Xu select CRYPTO_ALGAPI 8325157dea8SSebastian Siewior select CRYPTO_AES 8331da177e4SLinus Torvalds help 8341da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 8351da177e4SLinus Torvalds algorithm. 8361da177e4SLinus Torvalds 8371da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 8381da177e4SLinus Torvalds both hardware and software across a wide range of computing 8391da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 8401da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 8411da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 8421da177e4SLinus Torvalds suited for restricted-space environments, in which it also 8431da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 8441da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 8451da177e4SLinus Torvalds 8461da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 8471da177e4SLinus Torvalds 8481da177e4SLinus Torvalds See <http://csrc.nist.gov/encryption/aes/> for more information. 8491da177e4SLinus Torvalds 850a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64 851a2a892a2SAndreas Steinmetz tristate "AES cipher algorithms (x86_64)" 852cce9e06dSHerbert Xu depends on (X86 || UML_X86) && 64BIT 853cce9e06dSHerbert Xu select CRYPTO_ALGAPI 85481190b32SSebastian Siewior select CRYPTO_AES 855a2a892a2SAndreas Steinmetz help 856a2a892a2SAndreas Steinmetz AES cipher algorithms (FIPS-197). AES uses the Rijndael 857a2a892a2SAndreas Steinmetz algorithm. 858a2a892a2SAndreas Steinmetz 859a2a892a2SAndreas Steinmetz Rijndael appears to be consistently a very good performer in 860a2a892a2SAndreas Steinmetz both hardware and software across a wide range of computing 861a2a892a2SAndreas Steinmetz environments regardless of its use in feedback or non-feedback 862a2a892a2SAndreas Steinmetz modes. Its key setup time is excellent, and its key agility is 863a2a892a2SAndreas Steinmetz good. Rijndael's very low memory requirements make it very well 864a2a892a2SAndreas Steinmetz suited for restricted-space environments, in which it also 865a2a892a2SAndreas Steinmetz demonstrates excellent performance. Rijndael's operations are 866a2a892a2SAndreas Steinmetz among the easiest to defend against power and timing attacks. 867a2a892a2SAndreas Steinmetz 868a2a892a2SAndreas Steinmetz The AES specifies three key sizes: 128, 192 and 256 bits 869a2a892a2SAndreas Steinmetz 870a2a892a2SAndreas Steinmetz See <http://csrc.nist.gov/encryption/aes/> for more information. 871a2a892a2SAndreas Steinmetz 87254b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL 87354b6a1bdSHuang Ying tristate "AES cipher algorithms (AES-NI)" 8748af00860SRichard Weinberger depends on X86 8750d258efbSMathias Krause select CRYPTO_AES_X86_64 if 64BIT 8760d258efbSMathias Krause select CRYPTO_AES_586 if !64BIT 87754b6a1bdSHuang Ying select CRYPTO_CRYPTD 878801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 87954b6a1bdSHuang Ying select CRYPTO_ALGAPI 8807643a11aSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 if 64BIT 881023af608SJussi Kivilinna select CRYPTO_LRW 882023af608SJussi Kivilinna select CRYPTO_XTS 88354b6a1bdSHuang Ying help 88454b6a1bdSHuang Ying Use Intel AES-NI instructions for AES algorithm. 88554b6a1bdSHuang Ying 88654b6a1bdSHuang Ying AES cipher algorithms (FIPS-197). AES uses the Rijndael 88754b6a1bdSHuang Ying algorithm. 88854b6a1bdSHuang Ying 88954b6a1bdSHuang Ying Rijndael appears to be consistently a very good performer in 89054b6a1bdSHuang Ying both hardware and software across a wide range of computing 89154b6a1bdSHuang Ying environments regardless of its use in feedback or non-feedback 89254b6a1bdSHuang Ying modes. Its key setup time is excellent, and its key agility is 89354b6a1bdSHuang Ying good. Rijndael's very low memory requirements make it very well 89454b6a1bdSHuang Ying suited for restricted-space environments, in which it also 89554b6a1bdSHuang Ying demonstrates excellent performance. Rijndael's operations are 89654b6a1bdSHuang Ying among the easiest to defend against power and timing attacks. 89754b6a1bdSHuang Ying 89854b6a1bdSHuang Ying The AES specifies three key sizes: 128, 192 and 256 bits 89954b6a1bdSHuang Ying 90054b6a1bdSHuang Ying See <http://csrc.nist.gov/encryption/aes/> for more information. 90154b6a1bdSHuang Ying 9020d258efbSMathias Krause In addition to AES cipher algorithm support, the acceleration 9030d258efbSMathias Krause for some popular block cipher mode is supported too, including 9040d258efbSMathias Krause ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional 9050d258efbSMathias Krause acceleration for CTR. 9062cf4ac8bSHuang Ying 9079bf4852dSDavid S. Millerconfig CRYPTO_AES_SPARC64 9089bf4852dSDavid S. Miller tristate "AES cipher algorithms (SPARC64)" 9099bf4852dSDavid S. Miller depends on SPARC64 9109bf4852dSDavid S. Miller select CRYPTO_CRYPTD 9119bf4852dSDavid S. Miller select CRYPTO_ALGAPI 9129bf4852dSDavid S. Miller help 9139bf4852dSDavid S. Miller Use SPARC64 crypto opcodes for AES algorithm. 9149bf4852dSDavid S. Miller 9159bf4852dSDavid S. Miller AES cipher algorithms (FIPS-197). AES uses the Rijndael 9169bf4852dSDavid S. Miller algorithm. 9179bf4852dSDavid S. Miller 9189bf4852dSDavid S. Miller Rijndael appears to be consistently a very good performer in 9199bf4852dSDavid S. Miller both hardware and software across a wide range of computing 9209bf4852dSDavid S. Miller environments regardless of its use in feedback or non-feedback 9219bf4852dSDavid S. Miller modes. Its key setup time is excellent, and its key agility is 9229bf4852dSDavid S. Miller good. Rijndael's very low memory requirements make it very well 9239bf4852dSDavid S. Miller suited for restricted-space environments, in which it also 9249bf4852dSDavid S. Miller demonstrates excellent performance. Rijndael's operations are 9259bf4852dSDavid S. Miller among the easiest to defend against power and timing attacks. 9269bf4852dSDavid S. Miller 9279bf4852dSDavid S. Miller The AES specifies three key sizes: 128, 192 and 256 bits 9289bf4852dSDavid S. Miller 9299bf4852dSDavid S. Miller See <http://csrc.nist.gov/encryption/aes/> for more information. 9309bf4852dSDavid S. Miller 9319bf4852dSDavid S. Miller In addition to AES cipher algorithm support, the acceleration 9329bf4852dSDavid S. Miller for some popular block cipher mode is supported too, including 9339bf4852dSDavid S. Miller ECB and CBC. 9349bf4852dSDavid S. Miller 935504c6143SMarkus Stockhausenconfig CRYPTO_AES_PPC_SPE 936504c6143SMarkus Stockhausen tristate "AES cipher algorithms (PPC SPE)" 937504c6143SMarkus Stockhausen depends on PPC && SPE 938504c6143SMarkus Stockhausen help 939504c6143SMarkus Stockhausen AES cipher algorithms (FIPS-197). Additionally the acceleration 940504c6143SMarkus Stockhausen for popular block cipher modes ECB, CBC, CTR and XTS is supported. 941504c6143SMarkus Stockhausen This module should only be used for low power (router) devices 942504c6143SMarkus Stockhausen without hardware AES acceleration (e.g. caam crypto). It reduces the 943504c6143SMarkus Stockhausen size of the AES tables from 16KB to 8KB + 256 bytes and mitigates 944504c6143SMarkus Stockhausen timining attacks. Nevertheless it might be not as secure as other 945504c6143SMarkus Stockhausen architecture specific assembler implementations that work on 1KB 946504c6143SMarkus Stockhausen tables or 256 bytes S-boxes. 947504c6143SMarkus Stockhausen 9481da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS 9491da177e4SLinus Torvalds tristate "Anubis cipher algorithm" 950cce9e06dSHerbert Xu select CRYPTO_ALGAPI 9511da177e4SLinus Torvalds help 9521da177e4SLinus Torvalds Anubis cipher algorithm. 9531da177e4SLinus Torvalds 9541da177e4SLinus Torvalds Anubis is a variable key length cipher which can use keys from 9551da177e4SLinus Torvalds 128 bits to 320 bits in length. It was evaluated as a entrant 9561da177e4SLinus Torvalds in the NESSIE competition. 9571da177e4SLinus Torvalds 9581da177e4SLinus Torvalds See also: 9596d8de74cSJustin P. Mattock <https://www.cosic.esat.kuleuven.be/nessie/reports/> 9606d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/AnubisPage.html> 9611da177e4SLinus Torvalds 962584fffc8SSebastian Siewiorconfig CRYPTO_ARC4 963584fffc8SSebastian Siewior tristate "ARC4 cipher algorithm" 964b9b0f080SSebastian Andrzej Siewior select CRYPTO_BLKCIPHER 965e2ee95b8SHye-Shik Chang help 966584fffc8SSebastian Siewior ARC4 cipher algorithm. 967e2ee95b8SHye-Shik Chang 968584fffc8SSebastian Siewior ARC4 is a stream cipher using keys ranging from 8 bits to 2048 969584fffc8SSebastian Siewior bits in length. This algorithm is required for driver-based 970584fffc8SSebastian Siewior WEP, but it should not be for other purposes because of the 971584fffc8SSebastian Siewior weakness of the algorithm. 972584fffc8SSebastian Siewior 973584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH 974584fffc8SSebastian Siewior tristate "Blowfish cipher algorithm" 975584fffc8SSebastian Siewior select CRYPTO_ALGAPI 97652ba867cSJussi Kivilinna select CRYPTO_BLOWFISH_COMMON 977584fffc8SSebastian Siewior help 978584fffc8SSebastian Siewior Blowfish cipher algorithm, by Bruce Schneier. 979584fffc8SSebastian Siewior 980584fffc8SSebastian Siewior This is a variable key length cipher which can use keys from 32 981584fffc8SSebastian Siewior bits to 448 bits in length. It's fast, simple and specifically 982584fffc8SSebastian Siewior designed for use on "large microprocessors". 983e2ee95b8SHye-Shik Chang 984e2ee95b8SHye-Shik Chang See also: 985584fffc8SSebastian Siewior <http://www.schneier.com/blowfish.html> 986584fffc8SSebastian Siewior 98752ba867cSJussi Kivilinnaconfig CRYPTO_BLOWFISH_COMMON 98852ba867cSJussi Kivilinna tristate 98952ba867cSJussi Kivilinna help 99052ba867cSJussi Kivilinna Common parts of the Blowfish cipher algorithm shared by the 99152ba867cSJussi Kivilinna generic c and the assembler implementations. 99252ba867cSJussi Kivilinna 99352ba867cSJussi Kivilinna See also: 99452ba867cSJussi Kivilinna <http://www.schneier.com/blowfish.html> 99552ba867cSJussi Kivilinna 99664b94ceaSJussi Kivilinnaconfig CRYPTO_BLOWFISH_X86_64 99764b94ceaSJussi Kivilinna tristate "Blowfish cipher algorithm (x86_64)" 998f21a7c19SAl Viro depends on X86 && 64BIT 99964b94ceaSJussi Kivilinna select CRYPTO_ALGAPI 100064b94ceaSJussi Kivilinna select CRYPTO_BLOWFISH_COMMON 100164b94ceaSJussi Kivilinna help 100264b94ceaSJussi Kivilinna Blowfish cipher algorithm (x86_64), by Bruce Schneier. 100364b94ceaSJussi Kivilinna 100464b94ceaSJussi Kivilinna This is a variable key length cipher which can use keys from 32 100564b94ceaSJussi Kivilinna bits to 448 bits in length. It's fast, simple and specifically 100664b94ceaSJussi Kivilinna designed for use on "large microprocessors". 100764b94ceaSJussi Kivilinna 100864b94ceaSJussi Kivilinna See also: 100964b94ceaSJussi Kivilinna <http://www.schneier.com/blowfish.html> 101064b94ceaSJussi Kivilinna 1011584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA 1012584fffc8SSebastian Siewior tristate "Camellia cipher algorithms" 1013584fffc8SSebastian Siewior depends on CRYPTO 1014584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1015584fffc8SSebastian Siewior help 1016584fffc8SSebastian Siewior Camellia cipher algorithms module. 1017584fffc8SSebastian Siewior 1018584fffc8SSebastian Siewior Camellia is a symmetric key block cipher developed jointly 1019584fffc8SSebastian Siewior at NTT and Mitsubishi Electric Corporation. 1020584fffc8SSebastian Siewior 1021584fffc8SSebastian Siewior The Camellia specifies three key sizes: 128, 192 and 256 bits. 1022584fffc8SSebastian Siewior 1023584fffc8SSebastian Siewior See also: 1024584fffc8SSebastian Siewior <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1025584fffc8SSebastian Siewior 10260b95ec56SJussi Kivilinnaconfig CRYPTO_CAMELLIA_X86_64 10270b95ec56SJussi Kivilinna tristate "Camellia cipher algorithm (x86_64)" 1028f21a7c19SAl Viro depends on X86 && 64BIT 10290b95ec56SJussi Kivilinna depends on CRYPTO 10300b95ec56SJussi Kivilinna select CRYPTO_ALGAPI 1031964263afSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 10320b95ec56SJussi Kivilinna select CRYPTO_LRW 10330b95ec56SJussi Kivilinna select CRYPTO_XTS 10340b95ec56SJussi Kivilinna help 10350b95ec56SJussi Kivilinna Camellia cipher algorithm module (x86_64). 10360b95ec56SJussi Kivilinna 10370b95ec56SJussi Kivilinna Camellia is a symmetric key block cipher developed jointly 10380b95ec56SJussi Kivilinna at NTT and Mitsubishi Electric Corporation. 10390b95ec56SJussi Kivilinna 10400b95ec56SJussi Kivilinna The Camellia specifies three key sizes: 128, 192 and 256 bits. 10410b95ec56SJussi Kivilinna 10420b95ec56SJussi Kivilinna See also: 10430b95ec56SJussi Kivilinna <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 10440b95ec56SJussi Kivilinna 1045d9b1d2e7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX_X86_64 1046d9b1d2e7SJussi Kivilinna tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)" 1047d9b1d2e7SJussi Kivilinna depends on X86 && 64BIT 1048d9b1d2e7SJussi Kivilinna depends on CRYPTO 1049d9b1d2e7SJussi Kivilinna select CRYPTO_ALGAPI 1050d9b1d2e7SJussi Kivilinna select CRYPTO_CRYPTD 1051801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1052d9b1d2e7SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1053d9b1d2e7SJussi Kivilinna select CRYPTO_CAMELLIA_X86_64 1054d9b1d2e7SJussi Kivilinna select CRYPTO_LRW 1055d9b1d2e7SJussi Kivilinna select CRYPTO_XTS 1056d9b1d2e7SJussi Kivilinna help 1057d9b1d2e7SJussi Kivilinna Camellia cipher algorithm module (x86_64/AES-NI/AVX). 1058d9b1d2e7SJussi Kivilinna 1059d9b1d2e7SJussi Kivilinna Camellia is a symmetric key block cipher developed jointly 1060d9b1d2e7SJussi Kivilinna at NTT and Mitsubishi Electric Corporation. 1061d9b1d2e7SJussi Kivilinna 1062d9b1d2e7SJussi Kivilinna The Camellia specifies three key sizes: 128, 192 and 256 bits. 1063d9b1d2e7SJussi Kivilinna 1064d9b1d2e7SJussi Kivilinna See also: 1065d9b1d2e7SJussi Kivilinna <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1066d9b1d2e7SJussi Kivilinna 1067f3f935a7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 1068f3f935a7SJussi Kivilinna tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX2)" 1069f3f935a7SJussi Kivilinna depends on X86 && 64BIT 1070f3f935a7SJussi Kivilinna depends on CRYPTO 1071f3f935a7SJussi Kivilinna select CRYPTO_ALGAPI 1072f3f935a7SJussi Kivilinna select CRYPTO_CRYPTD 1073801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1074f3f935a7SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1075f3f935a7SJussi Kivilinna select CRYPTO_CAMELLIA_X86_64 1076f3f935a7SJussi Kivilinna select CRYPTO_CAMELLIA_AESNI_AVX_X86_64 1077f3f935a7SJussi Kivilinna select CRYPTO_LRW 1078f3f935a7SJussi Kivilinna select CRYPTO_XTS 1079f3f935a7SJussi Kivilinna help 1080f3f935a7SJussi Kivilinna Camellia cipher algorithm module (x86_64/AES-NI/AVX2). 1081f3f935a7SJussi Kivilinna 1082f3f935a7SJussi Kivilinna Camellia is a symmetric key block cipher developed jointly 1083f3f935a7SJussi Kivilinna at NTT and Mitsubishi Electric Corporation. 1084f3f935a7SJussi Kivilinna 1085f3f935a7SJussi Kivilinna The Camellia specifies three key sizes: 128, 192 and 256 bits. 1086f3f935a7SJussi Kivilinna 1087f3f935a7SJussi Kivilinna See also: 1088f3f935a7SJussi Kivilinna <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1089f3f935a7SJussi Kivilinna 109081658ad0SDavid S. Millerconfig CRYPTO_CAMELLIA_SPARC64 109181658ad0SDavid S. Miller tristate "Camellia cipher algorithm (SPARC64)" 109281658ad0SDavid S. Miller depends on SPARC64 109381658ad0SDavid S. Miller depends on CRYPTO 109481658ad0SDavid S. Miller select CRYPTO_ALGAPI 109581658ad0SDavid S. Miller help 109681658ad0SDavid S. Miller Camellia cipher algorithm module (SPARC64). 109781658ad0SDavid S. Miller 109881658ad0SDavid S. Miller Camellia is a symmetric key block cipher developed jointly 109981658ad0SDavid S. Miller at NTT and Mitsubishi Electric Corporation. 110081658ad0SDavid S. Miller 110181658ad0SDavid S. Miller The Camellia specifies three key sizes: 128, 192 and 256 bits. 110281658ad0SDavid S. Miller 110381658ad0SDavid S. Miller See also: 110481658ad0SDavid S. Miller <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 110581658ad0SDavid S. Miller 1106044ab525SJussi Kivilinnaconfig CRYPTO_CAST_COMMON 1107044ab525SJussi Kivilinna tristate 1108044ab525SJussi Kivilinna help 1109044ab525SJussi Kivilinna Common parts of the CAST cipher algorithms shared by the 1110044ab525SJussi Kivilinna generic c and the assembler implementations. 1111044ab525SJussi Kivilinna 1112584fffc8SSebastian Siewiorconfig CRYPTO_CAST5 1113584fffc8SSebastian Siewior tristate "CAST5 (CAST-128) cipher algorithm" 1114584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1115044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 1116584fffc8SSebastian Siewior help 1117584fffc8SSebastian Siewior The CAST5 encryption algorithm (synonymous with CAST-128) is 1118584fffc8SSebastian Siewior described in RFC2144. 1119584fffc8SSebastian Siewior 11204d6d6a2cSJohannes Goetzfriedconfig CRYPTO_CAST5_AVX_X86_64 11214d6d6a2cSJohannes Goetzfried tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)" 11224d6d6a2cSJohannes Goetzfried depends on X86 && 64BIT 11234d6d6a2cSJohannes Goetzfried select CRYPTO_ALGAPI 11244d6d6a2cSJohannes Goetzfried select CRYPTO_CRYPTD 1125801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1126044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 11274d6d6a2cSJohannes Goetzfried select CRYPTO_CAST5 11284d6d6a2cSJohannes Goetzfried help 11294d6d6a2cSJohannes Goetzfried The CAST5 encryption algorithm (synonymous with CAST-128) is 11304d6d6a2cSJohannes Goetzfried described in RFC2144. 11314d6d6a2cSJohannes Goetzfried 11324d6d6a2cSJohannes Goetzfried This module provides the Cast5 cipher algorithm that processes 11334d6d6a2cSJohannes Goetzfried sixteen blocks parallel using the AVX instruction set. 11344d6d6a2cSJohannes Goetzfried 1135584fffc8SSebastian Siewiorconfig CRYPTO_CAST6 1136584fffc8SSebastian Siewior tristate "CAST6 (CAST-256) cipher algorithm" 1137584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1138044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 1139584fffc8SSebastian Siewior help 1140584fffc8SSebastian Siewior The CAST6 encryption algorithm (synonymous with CAST-256) is 1141584fffc8SSebastian Siewior described in RFC2612. 1142584fffc8SSebastian Siewior 11434ea1277dSJohannes Goetzfriedconfig CRYPTO_CAST6_AVX_X86_64 11444ea1277dSJohannes Goetzfried tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)" 11454ea1277dSJohannes Goetzfried depends on X86 && 64BIT 11464ea1277dSJohannes Goetzfried select CRYPTO_ALGAPI 11474ea1277dSJohannes Goetzfried select CRYPTO_CRYPTD 1148801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 11494ea1277dSJohannes Goetzfried select CRYPTO_GLUE_HELPER_X86 1150044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 11514ea1277dSJohannes Goetzfried select CRYPTO_CAST6 11524ea1277dSJohannes Goetzfried select CRYPTO_LRW 11534ea1277dSJohannes Goetzfried select CRYPTO_XTS 11544ea1277dSJohannes Goetzfried help 11554ea1277dSJohannes Goetzfried The CAST6 encryption algorithm (synonymous with CAST-256) is 11564ea1277dSJohannes Goetzfried described in RFC2612. 11574ea1277dSJohannes Goetzfried 11584ea1277dSJohannes Goetzfried This module provides the Cast6 cipher algorithm that processes 11594ea1277dSJohannes Goetzfried eight blocks parallel using the AVX instruction set. 11604ea1277dSJohannes Goetzfried 1161584fffc8SSebastian Siewiorconfig CRYPTO_DES 1162584fffc8SSebastian Siewior tristate "DES and Triple DES EDE cipher algorithms" 1163584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1164584fffc8SSebastian Siewior help 1165584fffc8SSebastian Siewior DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 1166584fffc8SSebastian Siewior 1167c5aac2dfSDavid S. Millerconfig CRYPTO_DES_SPARC64 1168c5aac2dfSDavid S. Miller tristate "DES and Triple DES EDE cipher algorithms (SPARC64)" 116997da37b3SDave Jones depends on SPARC64 1170c5aac2dfSDavid S. Miller select CRYPTO_ALGAPI 1171c5aac2dfSDavid S. Miller select CRYPTO_DES 1172c5aac2dfSDavid S. Miller help 1173c5aac2dfSDavid S. Miller DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3), 1174c5aac2dfSDavid S. Miller optimized using SPARC64 crypto opcodes. 1175c5aac2dfSDavid S. Miller 11766574e6c6SJussi Kivilinnaconfig CRYPTO_DES3_EDE_X86_64 11776574e6c6SJussi Kivilinna tristate "Triple DES EDE cipher algorithm (x86-64)" 11786574e6c6SJussi Kivilinna depends on X86 && 64BIT 11796574e6c6SJussi Kivilinna select CRYPTO_ALGAPI 11806574e6c6SJussi Kivilinna select CRYPTO_DES 11816574e6c6SJussi Kivilinna help 11826574e6c6SJussi Kivilinna Triple DES EDE (FIPS 46-3) algorithm. 11836574e6c6SJussi Kivilinna 11846574e6c6SJussi Kivilinna This module provides implementation of the Triple DES EDE cipher 11856574e6c6SJussi Kivilinna algorithm that is optimized for x86-64 processors. Two versions of 11866574e6c6SJussi Kivilinna algorithm are provided; regular processing one input block and 11876574e6c6SJussi Kivilinna one that processes three blocks parallel. 11886574e6c6SJussi Kivilinna 1189584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT 1190584fffc8SSebastian Siewior tristate "FCrypt cipher algorithm" 1191584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1192584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 1193584fffc8SSebastian Siewior help 1194584fffc8SSebastian Siewior FCrypt algorithm used by RxRPC. 1195584fffc8SSebastian Siewior 1196584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD 1197584fffc8SSebastian Siewior tristate "Khazad cipher algorithm" 1198584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1199584fffc8SSebastian Siewior help 1200584fffc8SSebastian Siewior Khazad cipher algorithm. 1201584fffc8SSebastian Siewior 1202584fffc8SSebastian Siewior Khazad was a finalist in the initial NESSIE competition. It is 1203584fffc8SSebastian Siewior an algorithm optimized for 64-bit processors with good performance 1204584fffc8SSebastian Siewior on 32-bit processors. Khazad uses an 128 bit key size. 1205584fffc8SSebastian Siewior 1206584fffc8SSebastian Siewior See also: 12076d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/KhazadPage.html> 1208e2ee95b8SHye-Shik Chang 12092407d608STan Swee Hengconfig CRYPTO_SALSA20 12103b4afaf2SKees Cook tristate "Salsa20 stream cipher algorithm" 12112407d608STan Swee Heng select CRYPTO_BLKCIPHER 12122407d608STan Swee Heng help 12132407d608STan Swee Heng Salsa20 stream cipher algorithm. 12142407d608STan Swee Heng 12152407d608STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 12162407d608STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 12172407d608STan Swee Heng 12182407d608STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 12192407d608STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 12201da177e4SLinus Torvalds 1221974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586 12223b4afaf2SKees Cook tristate "Salsa20 stream cipher algorithm (i586)" 1223974e4b75STan Swee Heng depends on (X86 || UML_X86) && !64BIT 1224974e4b75STan Swee Heng select CRYPTO_BLKCIPHER 1225974e4b75STan Swee Heng help 1226974e4b75STan Swee Heng Salsa20 stream cipher algorithm. 1227974e4b75STan Swee Heng 1228974e4b75STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 1229974e4b75STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 1230974e4b75STan Swee Heng 1231974e4b75STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 1232974e4b75STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 1233974e4b75STan Swee Heng 12349a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64 12353b4afaf2SKees Cook tristate "Salsa20 stream cipher algorithm (x86_64)" 12369a7dafbbSTan Swee Heng depends on (X86 || UML_X86) && 64BIT 12379a7dafbbSTan Swee Heng select CRYPTO_BLKCIPHER 12389a7dafbbSTan Swee Heng help 12399a7dafbbSTan Swee Heng Salsa20 stream cipher algorithm. 12409a7dafbbSTan Swee Heng 12419a7dafbbSTan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 12429a7dafbbSTan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 12439a7dafbbSTan Swee Heng 12449a7dafbbSTan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 12459a7dafbbSTan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 12469a7dafbbSTan Swee Heng 1247c08d0e64SMartin Williconfig CRYPTO_CHACHA20 1248c08d0e64SMartin Willi tristate "ChaCha20 cipher algorithm" 1249c08d0e64SMartin Willi select CRYPTO_BLKCIPHER 1250c08d0e64SMartin Willi help 1251c08d0e64SMartin Willi ChaCha20 cipher algorithm, RFC7539. 1252c08d0e64SMartin Willi 1253c08d0e64SMartin Willi ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J. 1254c08d0e64SMartin Willi Bernstein and further specified in RFC7539 for use in IETF protocols. 1255c08d0e64SMartin Willi This is the portable C implementation of ChaCha20. 1256c08d0e64SMartin Willi 1257c08d0e64SMartin Willi See also: 1258c08d0e64SMartin Willi <http://cr.yp.to/chacha/chacha-20080128.pdf> 1259c08d0e64SMartin Willi 1260c9320b6dSMartin Williconfig CRYPTO_CHACHA20_X86_64 12613d1e93cdSMartin Willi tristate "ChaCha20 cipher algorithm (x86_64/SSSE3/AVX2)" 1262c9320b6dSMartin Willi depends on X86 && 64BIT 1263c9320b6dSMartin Willi select CRYPTO_BLKCIPHER 1264c9320b6dSMartin Willi select CRYPTO_CHACHA20 1265c9320b6dSMartin Willi help 1266c9320b6dSMartin Willi ChaCha20 cipher algorithm, RFC7539. 1267c9320b6dSMartin Willi 1268c9320b6dSMartin Willi ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J. 1269c9320b6dSMartin Willi Bernstein and further specified in RFC7539 for use in IETF protocols. 1270c9320b6dSMartin Willi This is the x86_64 assembler implementation using SIMD instructions. 1271c9320b6dSMartin Willi 1272c9320b6dSMartin Willi See also: 1273c9320b6dSMartin Willi <http://cr.yp.to/chacha/chacha-20080128.pdf> 1274c9320b6dSMartin Willi 1275584fffc8SSebastian Siewiorconfig CRYPTO_SEED 1276584fffc8SSebastian Siewior tristate "SEED cipher algorithm" 1277584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1278584fffc8SSebastian Siewior help 1279584fffc8SSebastian Siewior SEED cipher algorithm (RFC4269). 1280584fffc8SSebastian Siewior 1281584fffc8SSebastian Siewior SEED is a 128-bit symmetric key block cipher that has been 1282584fffc8SSebastian Siewior developed by KISA (Korea Information Security Agency) as a 1283584fffc8SSebastian Siewior national standard encryption algorithm of the Republic of Korea. 1284584fffc8SSebastian Siewior It is a 16 round block cipher with the key size of 128 bit. 1285584fffc8SSebastian Siewior 1286584fffc8SSebastian Siewior See also: 1287584fffc8SSebastian Siewior <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> 1288584fffc8SSebastian Siewior 1289584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT 1290584fffc8SSebastian Siewior tristate "Serpent cipher algorithm" 1291584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1292584fffc8SSebastian Siewior help 1293584fffc8SSebastian Siewior Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1294584fffc8SSebastian Siewior 1295584fffc8SSebastian Siewior Keys are allowed to be from 0 to 256 bits in length, in steps 1296584fffc8SSebastian Siewior of 8 bits. Also includes the 'Tnepres' algorithm, a reversed 1297584fffc8SSebastian Siewior variant of Serpent for compatibility with old kerneli.org code. 1298584fffc8SSebastian Siewior 1299584fffc8SSebastian Siewior See also: 1300584fffc8SSebastian Siewior <http://www.cl.cam.ac.uk/~rja14/serpent.html> 1301584fffc8SSebastian Siewior 1302937c30d7SJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_X86_64 1303937c30d7SJussi Kivilinna tristate "Serpent cipher algorithm (x86_64/SSE2)" 1304937c30d7SJussi Kivilinna depends on X86 && 64BIT 1305937c30d7SJussi Kivilinna select CRYPTO_ALGAPI 1306341975bfSJussi Kivilinna select CRYPTO_CRYPTD 1307801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1308596d8750SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1309937c30d7SJussi Kivilinna select CRYPTO_SERPENT 1310feaf0cfcSJussi Kivilinna select CRYPTO_LRW 1311feaf0cfcSJussi Kivilinna select CRYPTO_XTS 1312937c30d7SJussi Kivilinna help 1313937c30d7SJussi Kivilinna Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1314937c30d7SJussi Kivilinna 1315937c30d7SJussi Kivilinna Keys are allowed to be from 0 to 256 bits in length, in steps 1316937c30d7SJussi Kivilinna of 8 bits. 1317937c30d7SJussi Kivilinna 13181e6232f8SMasanari Iida This module provides Serpent cipher algorithm that processes eight 1319937c30d7SJussi Kivilinna blocks parallel using SSE2 instruction set. 1320937c30d7SJussi Kivilinna 1321937c30d7SJussi Kivilinna See also: 1322937c30d7SJussi Kivilinna <http://www.cl.cam.ac.uk/~rja14/serpent.html> 1323937c30d7SJussi Kivilinna 1324251496dbSJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_586 1325251496dbSJussi Kivilinna tristate "Serpent cipher algorithm (i586/SSE2)" 1326251496dbSJussi Kivilinna depends on X86 && !64BIT 1327251496dbSJussi Kivilinna select CRYPTO_ALGAPI 1328341975bfSJussi Kivilinna select CRYPTO_CRYPTD 1329801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1330596d8750SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1331251496dbSJussi Kivilinna select CRYPTO_SERPENT 1332feaf0cfcSJussi Kivilinna select CRYPTO_LRW 1333feaf0cfcSJussi Kivilinna select CRYPTO_XTS 1334251496dbSJussi Kivilinna help 1335251496dbSJussi Kivilinna Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1336251496dbSJussi Kivilinna 1337251496dbSJussi Kivilinna Keys are allowed to be from 0 to 256 bits in length, in steps 1338251496dbSJussi Kivilinna of 8 bits. 1339251496dbSJussi Kivilinna 1340251496dbSJussi Kivilinna This module provides Serpent cipher algorithm that processes four 1341251496dbSJussi Kivilinna blocks parallel using SSE2 instruction set. 1342251496dbSJussi Kivilinna 1343251496dbSJussi Kivilinna See also: 1344251496dbSJussi Kivilinna <http://www.cl.cam.ac.uk/~rja14/serpent.html> 1345251496dbSJussi Kivilinna 13467efe4076SJohannes Goetzfriedconfig CRYPTO_SERPENT_AVX_X86_64 13477efe4076SJohannes Goetzfried tristate "Serpent cipher algorithm (x86_64/AVX)" 13487efe4076SJohannes Goetzfried depends on X86 && 64BIT 13497efe4076SJohannes Goetzfried select CRYPTO_ALGAPI 13507efe4076SJohannes Goetzfried select CRYPTO_CRYPTD 1351801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 13521d0debbdSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 13537efe4076SJohannes Goetzfried select CRYPTO_SERPENT 13547efe4076SJohannes Goetzfried select CRYPTO_LRW 13557efe4076SJohannes Goetzfried select CRYPTO_XTS 13567efe4076SJohannes Goetzfried help 13577efe4076SJohannes Goetzfried Serpent cipher algorithm, by Anderson, Biham & Knudsen. 13587efe4076SJohannes Goetzfried 13597efe4076SJohannes Goetzfried Keys are allowed to be from 0 to 256 bits in length, in steps 13607efe4076SJohannes Goetzfried of 8 bits. 13617efe4076SJohannes Goetzfried 13627efe4076SJohannes Goetzfried This module provides the Serpent cipher algorithm that processes 13637efe4076SJohannes Goetzfried eight blocks parallel using the AVX instruction set. 13647efe4076SJohannes Goetzfried 13657efe4076SJohannes Goetzfried See also: 13667efe4076SJohannes Goetzfried <http://www.cl.cam.ac.uk/~rja14/serpent.html> 13677efe4076SJohannes Goetzfried 136856d76c96SJussi Kivilinnaconfig CRYPTO_SERPENT_AVX2_X86_64 136956d76c96SJussi Kivilinna tristate "Serpent cipher algorithm (x86_64/AVX2)" 137056d76c96SJussi Kivilinna depends on X86 && 64BIT 137156d76c96SJussi Kivilinna select CRYPTO_ALGAPI 137256d76c96SJussi Kivilinna select CRYPTO_CRYPTD 1373801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 137456d76c96SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 137556d76c96SJussi Kivilinna select CRYPTO_SERPENT 137656d76c96SJussi Kivilinna select CRYPTO_SERPENT_AVX_X86_64 137756d76c96SJussi Kivilinna select CRYPTO_LRW 137856d76c96SJussi Kivilinna select CRYPTO_XTS 137956d76c96SJussi Kivilinna help 138056d76c96SJussi Kivilinna Serpent cipher algorithm, by Anderson, Biham & Knudsen. 138156d76c96SJussi Kivilinna 138256d76c96SJussi Kivilinna Keys are allowed to be from 0 to 256 bits in length, in steps 138356d76c96SJussi Kivilinna of 8 bits. 138456d76c96SJussi Kivilinna 138556d76c96SJussi Kivilinna This module provides Serpent cipher algorithm that processes 16 138656d76c96SJussi Kivilinna blocks parallel using AVX2 instruction set. 138756d76c96SJussi Kivilinna 138856d76c96SJussi Kivilinna See also: 138956d76c96SJussi Kivilinna <http://www.cl.cam.ac.uk/~rja14/serpent.html> 139056d76c96SJussi Kivilinna 1391584fffc8SSebastian Siewiorconfig CRYPTO_TEA 1392584fffc8SSebastian Siewior tristate "TEA, XTEA and XETA cipher algorithms" 1393584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1394584fffc8SSebastian Siewior help 1395584fffc8SSebastian Siewior TEA cipher algorithm. 1396584fffc8SSebastian Siewior 1397584fffc8SSebastian Siewior Tiny Encryption Algorithm is a simple cipher that uses 1398584fffc8SSebastian Siewior many rounds for security. It is very fast and uses 1399584fffc8SSebastian Siewior little memory. 1400584fffc8SSebastian Siewior 1401584fffc8SSebastian Siewior Xtendend Tiny Encryption Algorithm is a modification to 1402584fffc8SSebastian Siewior the TEA algorithm to address a potential key weakness 1403584fffc8SSebastian Siewior in the TEA algorithm. 1404584fffc8SSebastian Siewior 1405584fffc8SSebastian Siewior Xtendend Encryption Tiny Algorithm is a mis-implementation 1406584fffc8SSebastian Siewior of the XTEA algorithm for compatibility purposes. 1407584fffc8SSebastian Siewior 1408584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH 1409584fffc8SSebastian Siewior tristate "Twofish cipher algorithm" 1410584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1411584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 1412584fffc8SSebastian Siewior help 1413584fffc8SSebastian Siewior Twofish cipher algorithm. 1414584fffc8SSebastian Siewior 1415584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 1416584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 1417584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 1418584fffc8SSebastian Siewior bits. 1419584fffc8SSebastian Siewior 1420584fffc8SSebastian Siewior See also: 1421584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 1422584fffc8SSebastian Siewior 1423584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON 1424584fffc8SSebastian Siewior tristate 1425584fffc8SSebastian Siewior help 1426584fffc8SSebastian Siewior Common parts of the Twofish cipher algorithm shared by the 1427584fffc8SSebastian Siewior generic c and the assembler implementations. 1428584fffc8SSebastian Siewior 1429584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586 1430584fffc8SSebastian Siewior tristate "Twofish cipher algorithms (i586)" 1431584fffc8SSebastian Siewior depends on (X86 || UML_X86) && !64BIT 1432584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1433584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 1434584fffc8SSebastian Siewior help 1435584fffc8SSebastian Siewior Twofish cipher algorithm. 1436584fffc8SSebastian Siewior 1437584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 1438584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 1439584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 1440584fffc8SSebastian Siewior bits. 1441584fffc8SSebastian Siewior 1442584fffc8SSebastian Siewior See also: 1443584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 1444584fffc8SSebastian Siewior 1445584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64 1446584fffc8SSebastian Siewior tristate "Twofish cipher algorithm (x86_64)" 1447584fffc8SSebastian Siewior depends on (X86 || UML_X86) && 64BIT 1448584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1449584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 1450584fffc8SSebastian Siewior help 1451584fffc8SSebastian Siewior Twofish cipher algorithm (x86_64). 1452584fffc8SSebastian Siewior 1453584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 1454584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 1455584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 1456584fffc8SSebastian Siewior bits. 1457584fffc8SSebastian Siewior 1458584fffc8SSebastian Siewior See also: 1459584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 1460584fffc8SSebastian Siewior 14618280daadSJussi Kivilinnaconfig CRYPTO_TWOFISH_X86_64_3WAY 14628280daadSJussi Kivilinna tristate "Twofish cipher algorithm (x86_64, 3-way parallel)" 1463f21a7c19SAl Viro depends on X86 && 64BIT 14648280daadSJussi Kivilinna select CRYPTO_ALGAPI 14658280daadSJussi Kivilinna select CRYPTO_TWOFISH_COMMON 14668280daadSJussi Kivilinna select CRYPTO_TWOFISH_X86_64 1467414cb5e7SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1468e7cda5d2SJussi Kivilinna select CRYPTO_LRW 1469e7cda5d2SJussi Kivilinna select CRYPTO_XTS 14708280daadSJussi Kivilinna help 14718280daadSJussi Kivilinna Twofish cipher algorithm (x86_64, 3-way parallel). 14728280daadSJussi Kivilinna 14738280daadSJussi Kivilinna Twofish was submitted as an AES (Advanced Encryption Standard) 14748280daadSJussi Kivilinna candidate cipher by researchers at CounterPane Systems. It is a 14758280daadSJussi Kivilinna 16 round block cipher supporting key sizes of 128, 192, and 256 14768280daadSJussi Kivilinna bits. 14778280daadSJussi Kivilinna 14788280daadSJussi Kivilinna This module provides Twofish cipher algorithm that processes three 14798280daadSJussi Kivilinna blocks parallel, utilizing resources of out-of-order CPUs better. 14808280daadSJussi Kivilinna 14818280daadSJussi Kivilinna See also: 14828280daadSJussi Kivilinna <http://www.schneier.com/twofish.html> 14838280daadSJussi Kivilinna 1484107778b5SJohannes Goetzfriedconfig CRYPTO_TWOFISH_AVX_X86_64 1485107778b5SJohannes Goetzfried tristate "Twofish cipher algorithm (x86_64/AVX)" 1486107778b5SJohannes Goetzfried depends on X86 && 64BIT 1487107778b5SJohannes Goetzfried select CRYPTO_ALGAPI 1488107778b5SJohannes Goetzfried select CRYPTO_CRYPTD 1489801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1490a7378d4eSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1491107778b5SJohannes Goetzfried select CRYPTO_TWOFISH_COMMON 1492107778b5SJohannes Goetzfried select CRYPTO_TWOFISH_X86_64 1493107778b5SJohannes Goetzfried select CRYPTO_TWOFISH_X86_64_3WAY 1494107778b5SJohannes Goetzfried select CRYPTO_LRW 1495107778b5SJohannes Goetzfried select CRYPTO_XTS 1496107778b5SJohannes Goetzfried help 1497107778b5SJohannes Goetzfried Twofish cipher algorithm (x86_64/AVX). 1498107778b5SJohannes Goetzfried 1499107778b5SJohannes Goetzfried Twofish was submitted as an AES (Advanced Encryption Standard) 1500107778b5SJohannes Goetzfried candidate cipher by researchers at CounterPane Systems. It is a 1501107778b5SJohannes Goetzfried 16 round block cipher supporting key sizes of 128, 192, and 256 1502107778b5SJohannes Goetzfried bits. 1503107778b5SJohannes Goetzfried 1504107778b5SJohannes Goetzfried This module provides the Twofish cipher algorithm that processes 1505107778b5SJohannes Goetzfried eight blocks parallel using the AVX Instruction Set. 1506107778b5SJohannes Goetzfried 1507107778b5SJohannes Goetzfried See also: 1508107778b5SJohannes Goetzfried <http://www.schneier.com/twofish.html> 1509107778b5SJohannes Goetzfried 1510584fffc8SSebastian Siewiorcomment "Compression" 1511584fffc8SSebastian Siewior 15121da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE 15131da177e4SLinus Torvalds tristate "Deflate compression algorithm" 1514cce9e06dSHerbert Xu select CRYPTO_ALGAPI 15151da177e4SLinus Torvalds select ZLIB_INFLATE 15161da177e4SLinus Torvalds select ZLIB_DEFLATE 15171da177e4SLinus Torvalds help 15181da177e4SLinus Torvalds This is the Deflate algorithm (RFC1951), specified for use in 15191da177e4SLinus Torvalds IPSec with the IPCOMP protocol (RFC3173, RFC2394). 15201da177e4SLinus Torvalds 15211da177e4SLinus Torvalds You will most probably want this if using IPSec. 15221da177e4SLinus Torvalds 15230b77abb3SZoltan Sogorconfig CRYPTO_LZO 15240b77abb3SZoltan Sogor tristate "LZO compression algorithm" 15250b77abb3SZoltan Sogor select CRYPTO_ALGAPI 15260b77abb3SZoltan Sogor select LZO_COMPRESS 15270b77abb3SZoltan Sogor select LZO_DECOMPRESS 15280b77abb3SZoltan Sogor help 15290b77abb3SZoltan Sogor This is the LZO algorithm. 15300b77abb3SZoltan Sogor 153135a1fc18SSeth Jenningsconfig CRYPTO_842 153235a1fc18SSeth Jennings tristate "842 compression algorithm" 15332062c5b6SDan Streetman select CRYPTO_ALGAPI 15342062c5b6SDan Streetman select 842_COMPRESS 15352062c5b6SDan Streetman select 842_DECOMPRESS 153635a1fc18SSeth Jennings help 153735a1fc18SSeth Jennings This is the 842 algorithm. 153835a1fc18SSeth Jennings 15390ea8530dSChanho Minconfig CRYPTO_LZ4 15400ea8530dSChanho Min tristate "LZ4 compression algorithm" 15410ea8530dSChanho Min select CRYPTO_ALGAPI 15420ea8530dSChanho Min select LZ4_COMPRESS 15430ea8530dSChanho Min select LZ4_DECOMPRESS 15440ea8530dSChanho Min help 15450ea8530dSChanho Min This is the LZ4 algorithm. 15460ea8530dSChanho Min 15470ea8530dSChanho Minconfig CRYPTO_LZ4HC 15480ea8530dSChanho Min tristate "LZ4HC compression algorithm" 15490ea8530dSChanho Min select CRYPTO_ALGAPI 15500ea8530dSChanho Min select LZ4HC_COMPRESS 15510ea8530dSChanho Min select LZ4_DECOMPRESS 15520ea8530dSChanho Min help 15530ea8530dSChanho Min This is the LZ4 high compression mode algorithm. 15540ea8530dSChanho Min 155517f0f4a4SNeil Hormancomment "Random Number Generation" 155617f0f4a4SNeil Horman 155717f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG 155817f0f4a4SNeil Horman tristate "Pseudo Random Number Generation for Cryptographic modules" 155917f0f4a4SNeil Horman select CRYPTO_AES 156017f0f4a4SNeil Horman select CRYPTO_RNG 156117f0f4a4SNeil Horman help 156217f0f4a4SNeil Horman This option enables the generic pseudo random number generator 156317f0f4a4SNeil Horman for cryptographic modules. Uses the Algorithm specified in 15647dd607e8SJiri Kosina ANSI X9.31 A.2.4. Note that this option must be enabled if 15657dd607e8SJiri Kosina CRYPTO_FIPS is selected 156617f0f4a4SNeil Horman 1567f2c89a10SHerbert Xumenuconfig CRYPTO_DRBG_MENU 1568419090c6SStephan Mueller tristate "NIST SP800-90A DRBG" 1569419090c6SStephan Mueller help 1570419090c6SStephan Mueller NIST SP800-90A compliant DRBG. In the following submenu, one or 1571419090c6SStephan Mueller more of the DRBG types must be selected. 1572419090c6SStephan Mueller 1573f2c89a10SHerbert Xuif CRYPTO_DRBG_MENU 1574419090c6SStephan Mueller 1575419090c6SStephan Muellerconfig CRYPTO_DRBG_HMAC 1576401e4238SHerbert Xu bool 1577419090c6SStephan Mueller default y 1578419090c6SStephan Mueller select CRYPTO_HMAC 1579826775bbSHerbert Xu select CRYPTO_SHA256 1580419090c6SStephan Mueller 1581419090c6SStephan Muellerconfig CRYPTO_DRBG_HASH 1582419090c6SStephan Mueller bool "Enable Hash DRBG" 1583826775bbSHerbert Xu select CRYPTO_SHA256 1584419090c6SStephan Mueller help 1585419090c6SStephan Mueller Enable the Hash DRBG variant as defined in NIST SP800-90A. 1586419090c6SStephan Mueller 1587419090c6SStephan Muellerconfig CRYPTO_DRBG_CTR 1588419090c6SStephan Mueller bool "Enable CTR DRBG" 1589419090c6SStephan Mueller select CRYPTO_AES 159035591285SStephan Mueller depends on CRYPTO_CTR 1591419090c6SStephan Mueller help 1592419090c6SStephan Mueller Enable the CTR DRBG variant as defined in NIST SP800-90A. 1593419090c6SStephan Mueller 1594f2c89a10SHerbert Xuconfig CRYPTO_DRBG 1595f2c89a10SHerbert Xu tristate 1596401e4238SHerbert Xu default CRYPTO_DRBG_MENU 1597f2c89a10SHerbert Xu select CRYPTO_RNG 1598bb5530e4SStephan Mueller select CRYPTO_JITTERENTROPY 1599f2c89a10SHerbert Xu 1600f2c89a10SHerbert Xuendif # if CRYPTO_DRBG_MENU 1601419090c6SStephan Mueller 1602bb5530e4SStephan Muellerconfig CRYPTO_JITTERENTROPY 1603bb5530e4SStephan Mueller tristate "Jitterentropy Non-Deterministic Random Number Generator" 16042f313e02SArnd Bergmann select CRYPTO_RNG 1605bb5530e4SStephan Mueller help 1606bb5530e4SStephan Mueller The Jitterentropy RNG is a noise that is intended 1607bb5530e4SStephan Mueller to provide seed to another RNG. The RNG does not 1608bb5530e4SStephan Mueller perform any cryptographic whitening of the generated 1609bb5530e4SStephan Mueller random numbers. This Jitterentropy RNG registers with 1610bb5530e4SStephan Mueller the kernel crypto API and can be used by any caller. 1611bb5530e4SStephan Mueller 161203c8efc1SHerbert Xuconfig CRYPTO_USER_API 161303c8efc1SHerbert Xu tristate 161403c8efc1SHerbert Xu 1615fe869cdbSHerbert Xuconfig CRYPTO_USER_API_HASH 1616fe869cdbSHerbert Xu tristate "User-space interface for hash algorithms" 16177451708fSHerbert Xu depends on NET 1618fe869cdbSHerbert Xu select CRYPTO_HASH 1619fe869cdbSHerbert Xu select CRYPTO_USER_API 1620fe869cdbSHerbert Xu help 1621fe869cdbSHerbert Xu This option enables the user-spaces interface for hash 1622fe869cdbSHerbert Xu algorithms. 1623fe869cdbSHerbert Xu 16248ff59090SHerbert Xuconfig CRYPTO_USER_API_SKCIPHER 16258ff59090SHerbert Xu tristate "User-space interface for symmetric key cipher algorithms" 16267451708fSHerbert Xu depends on NET 16278ff59090SHerbert Xu select CRYPTO_BLKCIPHER 16288ff59090SHerbert Xu select CRYPTO_USER_API 16298ff59090SHerbert Xu help 16308ff59090SHerbert Xu This option enables the user-spaces interface for symmetric 16318ff59090SHerbert Xu key cipher algorithms. 16328ff59090SHerbert Xu 16332f375538SStephan Muellerconfig CRYPTO_USER_API_RNG 16342f375538SStephan Mueller tristate "User-space interface for random number generator algorithms" 16352f375538SStephan Mueller depends on NET 16362f375538SStephan Mueller select CRYPTO_RNG 16372f375538SStephan Mueller select CRYPTO_USER_API 16382f375538SStephan Mueller help 16392f375538SStephan Mueller This option enables the user-spaces interface for random 16402f375538SStephan Mueller number generator algorithms. 16412f375538SStephan Mueller 1642b64a2d95SHerbert Xuconfig CRYPTO_USER_API_AEAD 1643b64a2d95SHerbert Xu tristate "User-space interface for AEAD cipher algorithms" 1644b64a2d95SHerbert Xu depends on NET 1645b64a2d95SHerbert Xu select CRYPTO_AEAD 1646b64a2d95SHerbert Xu select CRYPTO_USER_API 1647b64a2d95SHerbert Xu help 1648b64a2d95SHerbert Xu This option enables the user-spaces interface for AEAD 1649b64a2d95SHerbert Xu cipher algorithms. 1650b64a2d95SHerbert Xu 1651ee08997fSDmitry Kasatkinconfig CRYPTO_HASH_INFO 1652ee08997fSDmitry Kasatkin bool 1653ee08997fSDmitry Kasatkin 16541da177e4SLinus Torvaldssource "drivers/crypto/Kconfig" 1655964f3b3bSDavid Howellssource crypto/asymmetric_keys/Kconfig 1656cfc411e7SDavid Howellssource certs/Kconfig 16571da177e4SLinus Torvalds 1658cce9e06dSHerbert Xuendif # if CRYPTO 1659