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 516a0fcbb4SHerbert Xu 525cde0af2SHerbert Xuconfig CRYPTO_BLKCIPHER 535cde0af2SHerbert Xu tristate 546a0fcbb4SHerbert Xu select CRYPTO_BLKCIPHER2 555cde0af2SHerbert Xu select CRYPTO_ALGAPI 566a0fcbb4SHerbert Xu 576a0fcbb4SHerbert Xuconfig CRYPTO_BLKCIPHER2 586a0fcbb4SHerbert Xu tristate 596a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 606a0fcbb4SHerbert Xu select CRYPTO_RNG2 610a2e821dSHuang Ying select CRYPTO_WORKQUEUE 625cde0af2SHerbert Xu 63055bcee3SHerbert Xuconfig CRYPTO_HASH 64055bcee3SHerbert Xu tristate 656a0fcbb4SHerbert Xu select CRYPTO_HASH2 66055bcee3SHerbert Xu select CRYPTO_ALGAPI 67055bcee3SHerbert Xu 686a0fcbb4SHerbert Xuconfig CRYPTO_HASH2 696a0fcbb4SHerbert Xu tristate 706a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 716a0fcbb4SHerbert Xu 7217f0f4a4SNeil Hormanconfig CRYPTO_RNG 7317f0f4a4SNeil Horman tristate 746a0fcbb4SHerbert Xu select CRYPTO_RNG2 7517f0f4a4SNeil Horman select CRYPTO_ALGAPI 7617f0f4a4SNeil Horman 776a0fcbb4SHerbert Xuconfig CRYPTO_RNG2 786a0fcbb4SHerbert Xu tristate 796a0fcbb4SHerbert Xu select CRYPTO_ALGAPI2 806a0fcbb4SHerbert Xu 81401e4238SHerbert Xuconfig CRYPTO_RNG_DEFAULT 82401e4238SHerbert Xu tristate 83401e4238SHerbert Xu select CRYPTO_DRBG_MENU 84401e4238SHerbert Xu 85a1d2f095SGeert Uytterhoevenconfig CRYPTO_PCOMP 86a1d2f095SGeert Uytterhoeven tristate 87bc94e596SHerbert Xu select CRYPTO_PCOMP2 88bc94e596SHerbert Xu select CRYPTO_ALGAPI 89bc94e596SHerbert Xu 90bc94e596SHerbert Xuconfig CRYPTO_PCOMP2 91bc94e596SHerbert Xu tristate 92a1d2f095SGeert Uytterhoeven select CRYPTO_ALGAPI2 93a1d2f095SGeert Uytterhoeven 943c339ab8STadeusz Strukconfig CRYPTO_AKCIPHER2 953c339ab8STadeusz Struk tristate 963c339ab8STadeusz Struk select CRYPTO_ALGAPI2 973c339ab8STadeusz Struk 983c339ab8STadeusz Strukconfig CRYPTO_AKCIPHER 993c339ab8STadeusz Struk tristate 1003c339ab8STadeusz Struk select CRYPTO_AKCIPHER2 1013c339ab8STadeusz Struk select CRYPTO_ALGAPI 1023c339ab8STadeusz Struk 103cfc2bb32STadeusz Strukconfig CRYPTO_RSA 104cfc2bb32STadeusz Struk tristate "RSA algorithm" 105425e0172STadeusz Struk select CRYPTO_AKCIPHER 106cfc2bb32STadeusz Struk select MPILIB 107cfc2bb32STadeusz Struk select ASN1 108cfc2bb32STadeusz Struk help 109cfc2bb32STadeusz Struk Generic implementation of the RSA public key algorithm. 110cfc2bb32STadeusz Struk 1112b8c19dbSHerbert Xuconfig CRYPTO_MANAGER 1122b8c19dbSHerbert Xu tristate "Cryptographic algorithm manager" 1136a0fcbb4SHerbert Xu select CRYPTO_MANAGER2 1142b8c19dbSHerbert Xu help 1152b8c19dbSHerbert Xu Create default cryptographic template instantiations such as 1162b8c19dbSHerbert Xu cbc(aes). 1172b8c19dbSHerbert Xu 1186a0fcbb4SHerbert Xuconfig CRYPTO_MANAGER2 1196a0fcbb4SHerbert Xu def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) 1206a0fcbb4SHerbert Xu select CRYPTO_AEAD2 1216a0fcbb4SHerbert Xu select CRYPTO_HASH2 1226a0fcbb4SHerbert Xu select CRYPTO_BLKCIPHER2 123bc94e596SHerbert Xu select CRYPTO_PCOMP2 124946cc463STadeusz Struk select CRYPTO_AKCIPHER2 1256a0fcbb4SHerbert Xu 126a38f7907SSteffen Klassertconfig CRYPTO_USER 127a38f7907SSteffen Klassert tristate "Userspace cryptographic algorithm configuration" 1285db017aaSHerbert Xu depends on NET 129a38f7907SSteffen Klassert select CRYPTO_MANAGER 130a38f7907SSteffen Klassert help 131d19978f5SValdis.Kletnieks@vt.edu Userspace configuration for cryptographic instantiations such as 132a38f7907SSteffen Klassert cbc(aes). 133a38f7907SSteffen Klassert 134326a6346SHerbert Xuconfig CRYPTO_MANAGER_DISABLE_TESTS 135326a6346SHerbert Xu bool "Disable run-time self tests" 13600ca28a5SHerbert Xu default y 13700ca28a5SHerbert Xu depends on CRYPTO_MANAGER2 1380b767f96SAlexander Shishkin help 139326a6346SHerbert Xu Disable run-time self tests that normally take place at 140326a6346SHerbert Xu algorithm registration. 1410b767f96SAlexander Shishkin 142584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL 14308c70fc3SJussi Kivilinna tristate "GF(2^128) multiplication functions" 144584fffc8SSebastian Siewior help 145584fffc8SSebastian Siewior Efficient table driven implementation of multiplications in the 146584fffc8SSebastian Siewior field GF(2^128). This is needed by some cypher modes. This 147584fffc8SSebastian Siewior option will be selected automatically if you select such a 148584fffc8SSebastian Siewior cipher mode. Only select this option by hand if you expect to load 149584fffc8SSebastian Siewior an external module that requires these functions. 150584fffc8SSebastian Siewior 151584fffc8SSebastian Siewiorconfig CRYPTO_NULL 152584fffc8SSebastian Siewior tristate "Null algorithms" 153584fffc8SSebastian Siewior select CRYPTO_ALGAPI 154584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 155d35d2454SHerbert Xu select CRYPTO_HASH 156584fffc8SSebastian Siewior help 157584fffc8SSebastian Siewior These are 'Null' algorithms, used by IPsec, which do nothing. 158584fffc8SSebastian Siewior 1595068c7a8SSteffen Klassertconfig CRYPTO_PCRYPT 1603b4afaf2SKees Cook tristate "Parallel crypto engine" 1613b4afaf2SKees Cook depends on SMP 1625068c7a8SSteffen Klassert select PADATA 1635068c7a8SSteffen Klassert select CRYPTO_MANAGER 1645068c7a8SSteffen Klassert select CRYPTO_AEAD 1655068c7a8SSteffen Klassert help 1665068c7a8SSteffen Klassert This converts an arbitrary crypto algorithm into a parallel 1675068c7a8SSteffen Klassert algorithm that executes in kernel threads. 1685068c7a8SSteffen Klassert 16925c38d3fSHuang Yingconfig CRYPTO_WORKQUEUE 17025c38d3fSHuang Ying tristate 17125c38d3fSHuang Ying 172584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD 173584fffc8SSebastian Siewior tristate "Software async crypto daemon" 174584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 175b8a28251SLoc Ho select CRYPTO_HASH 176584fffc8SSebastian Siewior select CRYPTO_MANAGER 177254eff77SHuang Ying select CRYPTO_WORKQUEUE 178584fffc8SSebastian Siewior help 179584fffc8SSebastian Siewior This is a generic software asynchronous crypto daemon that 180584fffc8SSebastian Siewior converts an arbitrary synchronous software crypto algorithm 181584fffc8SSebastian Siewior into an asynchronous algorithm that executes in a kernel thread. 182584fffc8SSebastian Siewior 1831e65b81aSTim Chenconfig CRYPTO_MCRYPTD 1841e65b81aSTim Chen tristate "Software async multi-buffer crypto daemon" 1851e65b81aSTim Chen select CRYPTO_BLKCIPHER 1861e65b81aSTim Chen select CRYPTO_HASH 1871e65b81aSTim Chen select CRYPTO_MANAGER 1881e65b81aSTim Chen select CRYPTO_WORKQUEUE 1891e65b81aSTim Chen help 1901e65b81aSTim Chen This is a generic software asynchronous crypto daemon that 1911e65b81aSTim Chen provides the kernel thread to assist multi-buffer crypto 1921e65b81aSTim Chen algorithms for submitting jobs and flushing jobs in multi-buffer 1931e65b81aSTim Chen crypto algorithms. Multi-buffer crypto algorithms are executed 1941e65b81aSTim Chen in the context of this kernel thread and drivers can post 1950e56673bSTed Percival their crypto request asynchronously to be processed by this daemon. 1961e65b81aSTim Chen 197584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC 198584fffc8SSebastian Siewior tristate "Authenc support" 199584fffc8SSebastian Siewior select CRYPTO_AEAD 200584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 201584fffc8SSebastian Siewior select CRYPTO_MANAGER 202584fffc8SSebastian Siewior select CRYPTO_HASH 203584fffc8SSebastian Siewior help 204584fffc8SSebastian Siewior Authenc: Combined mode wrapper for IPsec. 205584fffc8SSebastian Siewior This is required for IPSec. 206584fffc8SSebastian Siewior 207584fffc8SSebastian Siewiorconfig CRYPTO_TEST 208584fffc8SSebastian Siewior tristate "Testing module" 209584fffc8SSebastian Siewior depends on m 210da7f033dSHerbert Xu select CRYPTO_MANAGER 211584fffc8SSebastian Siewior help 212584fffc8SSebastian Siewior Quick & dirty crypto test module. 213584fffc8SSebastian Siewior 214a62b01cdSArd Biesheuvelconfig CRYPTO_ABLK_HELPER 215ffaf9156SJussi Kivilinna tristate 216ffaf9156SJussi Kivilinna select CRYPTO_CRYPTD 217ffaf9156SJussi Kivilinna 218596d8750SJussi Kivilinnaconfig CRYPTO_GLUE_HELPER_X86 219596d8750SJussi Kivilinna tristate 220596d8750SJussi Kivilinna depends on X86 221596d8750SJussi Kivilinna select CRYPTO_ALGAPI 222596d8750SJussi Kivilinna 223584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data" 224584fffc8SSebastian Siewior 225584fffc8SSebastian Siewiorconfig CRYPTO_CCM 226584fffc8SSebastian Siewior tristate "CCM support" 227584fffc8SSebastian Siewior select CRYPTO_CTR 228584fffc8SSebastian Siewior select CRYPTO_AEAD 229584fffc8SSebastian Siewior help 230584fffc8SSebastian Siewior Support for Counter with CBC MAC. Required for IPsec. 231584fffc8SSebastian Siewior 232584fffc8SSebastian Siewiorconfig CRYPTO_GCM 233584fffc8SSebastian Siewior tristate "GCM/GMAC support" 234584fffc8SSebastian Siewior select CRYPTO_CTR 235584fffc8SSebastian Siewior select CRYPTO_AEAD 2369382d97aSHuang Ying select CRYPTO_GHASH 2379489667dSJussi Kivilinna select CRYPTO_NULL 238584fffc8SSebastian Siewior help 239584fffc8SSebastian Siewior Support for Galois/Counter Mode (GCM) and Galois Message 240584fffc8SSebastian Siewior Authentication Code (GMAC). Required for IPSec. 241584fffc8SSebastian Siewior 24271ebc4d1SMartin Williconfig CRYPTO_CHACHA20POLY1305 24371ebc4d1SMartin Willi tristate "ChaCha20-Poly1305 AEAD support" 24471ebc4d1SMartin Willi select CRYPTO_CHACHA20 24571ebc4d1SMartin Willi select CRYPTO_POLY1305 24671ebc4d1SMartin Willi select CRYPTO_AEAD 24771ebc4d1SMartin Willi help 24871ebc4d1SMartin Willi ChaCha20-Poly1305 AEAD support, RFC7539. 24971ebc4d1SMartin Willi 25071ebc4d1SMartin Willi Support for the AEAD wrapper using the ChaCha20 stream cipher combined 25171ebc4d1SMartin Willi with the Poly1305 authenticator. It is defined in RFC7539 for use in 25271ebc4d1SMartin Willi IETF protocols. 25371ebc4d1SMartin Willi 254584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV 255584fffc8SSebastian Siewior tristate "Sequence Number IV Generator" 256584fffc8SSebastian Siewior select CRYPTO_AEAD 257584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 258856e3f40SHerbert Xu select CRYPTO_NULL 259401e4238SHerbert Xu select CRYPTO_RNG_DEFAULT 260584fffc8SSebastian Siewior help 261584fffc8SSebastian Siewior This IV generator generates an IV based on a sequence number by 262584fffc8SSebastian Siewior xoring it with a salt. This algorithm is mainly useful for CTR 263584fffc8SSebastian Siewior 264a10f554fSHerbert Xuconfig CRYPTO_ECHAINIV 265a10f554fSHerbert Xu tristate "Encrypted Chain IV Generator" 266a10f554fSHerbert Xu select CRYPTO_AEAD 267a10f554fSHerbert Xu select CRYPTO_NULL 268401e4238SHerbert Xu select CRYPTO_RNG_DEFAULT 2693491244cSHerbert Xu default m 270a10f554fSHerbert Xu help 271a10f554fSHerbert Xu This IV generator generates an IV based on the encryption of 272a10f554fSHerbert Xu a sequence number xored with a salt. This is the default 273a10f554fSHerbert Xu algorithm for CBC. 274a10f554fSHerbert Xu 275584fffc8SSebastian Siewiorcomment "Block modes" 276584fffc8SSebastian Siewior 277584fffc8SSebastian Siewiorconfig CRYPTO_CBC 278584fffc8SSebastian Siewior tristate "CBC support" 279584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 280584fffc8SSebastian Siewior select CRYPTO_MANAGER 281584fffc8SSebastian Siewior help 282584fffc8SSebastian Siewior CBC: Cipher Block Chaining mode 283584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 284584fffc8SSebastian Siewior 285584fffc8SSebastian Siewiorconfig CRYPTO_CTR 286584fffc8SSebastian Siewior tristate "CTR support" 287584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 288584fffc8SSebastian Siewior select CRYPTO_SEQIV 289584fffc8SSebastian Siewior select CRYPTO_MANAGER 290584fffc8SSebastian Siewior help 291584fffc8SSebastian Siewior CTR: Counter mode 292584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 293584fffc8SSebastian Siewior 294584fffc8SSebastian Siewiorconfig CRYPTO_CTS 295584fffc8SSebastian Siewior tristate "CTS support" 296584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 297584fffc8SSebastian Siewior help 298584fffc8SSebastian Siewior CTS: Cipher Text Stealing 299584fffc8SSebastian Siewior This is the Cipher Text Stealing mode as described by 300584fffc8SSebastian Siewior Section 8 of rfc2040 and referenced by rfc3962. 301584fffc8SSebastian Siewior (rfc3962 includes errata information in its Appendix A) 302584fffc8SSebastian Siewior This mode is required for Kerberos gss mechanism support 303584fffc8SSebastian Siewior for AES encryption. 304584fffc8SSebastian Siewior 305584fffc8SSebastian Siewiorconfig CRYPTO_ECB 306584fffc8SSebastian Siewior tristate "ECB support" 307584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 308584fffc8SSebastian Siewior select CRYPTO_MANAGER 309584fffc8SSebastian Siewior help 310584fffc8SSebastian Siewior ECB: Electronic CodeBook mode 311584fffc8SSebastian Siewior This is the simplest block cipher algorithm. It simply encrypts 312584fffc8SSebastian Siewior the input block by block. 313584fffc8SSebastian Siewior 314584fffc8SSebastian Siewiorconfig CRYPTO_LRW 3152470a2b2SJussi Kivilinna tristate "LRW support" 316584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 317584fffc8SSebastian Siewior select CRYPTO_MANAGER 318584fffc8SSebastian Siewior select CRYPTO_GF128MUL 319584fffc8SSebastian Siewior help 320584fffc8SSebastian Siewior LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable 321584fffc8SSebastian Siewior narrow block cipher mode for dm-crypt. Use it with cipher 322584fffc8SSebastian Siewior specification string aes-lrw-benbi, the key must be 256, 320 or 384. 323584fffc8SSebastian Siewior The first 128, 192 or 256 bits in the key are used for AES and the 324584fffc8SSebastian Siewior rest is used to tie each cipher block to its logical position. 325584fffc8SSebastian Siewior 326584fffc8SSebastian Siewiorconfig CRYPTO_PCBC 327584fffc8SSebastian Siewior tristate "PCBC support" 328584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 329584fffc8SSebastian Siewior select CRYPTO_MANAGER 330584fffc8SSebastian Siewior help 331584fffc8SSebastian Siewior PCBC: Propagating Cipher Block Chaining mode 332584fffc8SSebastian Siewior This block cipher algorithm is required for RxRPC. 333584fffc8SSebastian Siewior 334584fffc8SSebastian Siewiorconfig CRYPTO_XTS 3355bcf8e6dSJussi Kivilinna tristate "XTS support" 336584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 337584fffc8SSebastian Siewior select CRYPTO_MANAGER 338584fffc8SSebastian Siewior select CRYPTO_GF128MUL 339584fffc8SSebastian Siewior help 340584fffc8SSebastian Siewior XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, 341584fffc8SSebastian Siewior key size 256, 384 or 512 bits. This implementation currently 342584fffc8SSebastian Siewior can't handle a sectorsize which is not a multiple of 16 bytes. 343584fffc8SSebastian Siewior 344584fffc8SSebastian Siewiorcomment "Hash modes" 345584fffc8SSebastian Siewior 34693b5e86aSJussi Kivilinnaconfig CRYPTO_CMAC 34793b5e86aSJussi Kivilinna tristate "CMAC support" 34893b5e86aSJussi Kivilinna select CRYPTO_HASH 34993b5e86aSJussi Kivilinna select CRYPTO_MANAGER 35093b5e86aSJussi Kivilinna help 35193b5e86aSJussi Kivilinna Cipher-based Message Authentication Code (CMAC) specified by 35293b5e86aSJussi Kivilinna The National Institute of Standards and Technology (NIST). 35393b5e86aSJussi Kivilinna 35493b5e86aSJussi Kivilinna https://tools.ietf.org/html/rfc4493 35593b5e86aSJussi Kivilinna http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf 35693b5e86aSJussi Kivilinna 3571da177e4SLinus Torvaldsconfig CRYPTO_HMAC 3588425165dSHerbert Xu tristate "HMAC support" 3590796ae06SHerbert Xu select CRYPTO_HASH 36043518407SHerbert Xu select CRYPTO_MANAGER 3611da177e4SLinus Torvalds help 3621da177e4SLinus Torvalds HMAC: Keyed-Hashing for Message Authentication (RFC2104). 3631da177e4SLinus Torvalds This is required for IPSec. 3641da177e4SLinus Torvalds 365333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC 366333b0d7eSKazunori MIYAZAWA tristate "XCBC support" 367333b0d7eSKazunori MIYAZAWA select CRYPTO_HASH 368333b0d7eSKazunori MIYAZAWA select CRYPTO_MANAGER 369333b0d7eSKazunori MIYAZAWA help 370333b0d7eSKazunori MIYAZAWA XCBC: Keyed-Hashing with encryption algorithm 371333b0d7eSKazunori MIYAZAWA http://www.ietf.org/rfc/rfc3566.txt 372333b0d7eSKazunori MIYAZAWA http://csrc.nist.gov/encryption/modes/proposedmodes/ 373333b0d7eSKazunori MIYAZAWA xcbc-mac/xcbc-mac-spec.pdf 374333b0d7eSKazunori MIYAZAWA 375f1939f7cSShane Wangconfig CRYPTO_VMAC 376f1939f7cSShane Wang tristate "VMAC support" 377f1939f7cSShane Wang select CRYPTO_HASH 378f1939f7cSShane Wang select CRYPTO_MANAGER 379f1939f7cSShane Wang help 380f1939f7cSShane Wang VMAC is a message authentication algorithm designed for 381f1939f7cSShane Wang very high speed on 64-bit architectures. 382f1939f7cSShane Wang 383f1939f7cSShane Wang See also: 384f1939f7cSShane Wang <http://fastcrypto.org/vmac> 385f1939f7cSShane Wang 386584fffc8SSebastian Siewiorcomment "Digest" 387584fffc8SSebastian Siewior 388584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C 389584fffc8SSebastian Siewior tristate "CRC32c CRC algorithm" 3905773a3e6SHerbert Xu select CRYPTO_HASH 3916a0962b2SDarrick J. Wong select CRC32 3921da177e4SLinus Torvalds help 393584fffc8SSebastian Siewior Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used 394584fffc8SSebastian Siewior by iSCSI for header and data digests and by others. 39569c35efcSHerbert Xu See Castagnoli93. Module will be crc32c. 3961da177e4SLinus Torvalds 3978cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL 3988cb51ba8SAustin Zhang tristate "CRC32c INTEL hardware acceleration" 3998cb51ba8SAustin Zhang depends on X86 4008cb51ba8SAustin Zhang select CRYPTO_HASH 4018cb51ba8SAustin Zhang help 4028cb51ba8SAustin Zhang In Intel processor with SSE4.2 supported, the processor will 4038cb51ba8SAustin Zhang support CRC32C implementation using hardware accelerated CRC32 4048cb51ba8SAustin Zhang instruction. This option will create 'crc32c-intel' module, 4058cb51ba8SAustin Zhang which will enable any routine to use the CRC32 instruction to 4068cb51ba8SAustin Zhang gain performance compared with software implementation. 4078cb51ba8SAustin Zhang Module will be crc32c-intel. 4088cb51ba8SAustin Zhang 409442a7c40SDavid S. Millerconfig CRYPTO_CRC32C_SPARC64 410442a7c40SDavid S. Miller tristate "CRC32c CRC algorithm (SPARC64)" 411442a7c40SDavid S. Miller depends on SPARC64 412442a7c40SDavid S. Miller select CRYPTO_HASH 413442a7c40SDavid S. Miller select CRC32 414442a7c40SDavid S. Miller help 415442a7c40SDavid S. Miller CRC32c CRC algorithm implemented using sparc64 crypto instructions, 416442a7c40SDavid S. Miller when available. 417442a7c40SDavid S. Miller 41878c37d19SAlexander Boykoconfig CRYPTO_CRC32 41978c37d19SAlexander Boyko tristate "CRC32 CRC algorithm" 42078c37d19SAlexander Boyko select CRYPTO_HASH 42178c37d19SAlexander Boyko select CRC32 42278c37d19SAlexander Boyko help 42378c37d19SAlexander Boyko CRC-32-IEEE 802.3 cyclic redundancy-check algorithm. 42478c37d19SAlexander Boyko Shash crypto api wrappers to crc32_le function. 42578c37d19SAlexander Boyko 42678c37d19SAlexander Boykoconfig CRYPTO_CRC32_PCLMUL 42778c37d19SAlexander Boyko tristate "CRC32 PCLMULQDQ hardware acceleration" 42878c37d19SAlexander Boyko depends on X86 42978c37d19SAlexander Boyko select CRYPTO_HASH 43078c37d19SAlexander Boyko select CRC32 43178c37d19SAlexander Boyko help 43278c37d19SAlexander Boyko From Intel Westmere and AMD Bulldozer processor with SSE4.2 43378c37d19SAlexander Boyko and PCLMULQDQ supported, the processor will support 43478c37d19SAlexander Boyko CRC32 PCLMULQDQ implementation using hardware accelerated PCLMULQDQ 43578c37d19SAlexander Boyko instruction. This option will create 'crc32-plcmul' module, 43678c37d19SAlexander Boyko which will enable any routine to use the CRC-32-IEEE 802.3 checksum 43778c37d19SAlexander Boyko and gain better performance as compared with the table implementation. 43878c37d19SAlexander Boyko 43968411521SHerbert Xuconfig CRYPTO_CRCT10DIF 44068411521SHerbert Xu tristate "CRCT10DIF algorithm" 44168411521SHerbert Xu select CRYPTO_HASH 44268411521SHerbert Xu help 44368411521SHerbert Xu CRC T10 Data Integrity Field computation is being cast as 44468411521SHerbert Xu a crypto transform. This allows for faster crc t10 diff 44568411521SHerbert Xu transforms to be used if they are available. 44668411521SHerbert Xu 44768411521SHerbert Xuconfig CRYPTO_CRCT10DIF_PCLMUL 44868411521SHerbert Xu tristate "CRCT10DIF PCLMULQDQ hardware acceleration" 44968411521SHerbert Xu depends on X86 && 64BIT && CRC_T10DIF 45068411521SHerbert Xu select CRYPTO_HASH 45168411521SHerbert Xu help 45268411521SHerbert Xu For x86_64 processors with SSE4.2 and PCLMULQDQ supported, 45368411521SHerbert Xu CRC T10 DIF PCLMULQDQ computation can be hardware 45468411521SHerbert Xu accelerated PCLMULQDQ instruction. This option will create 45568411521SHerbert Xu 'crct10dif-plcmul' module, which is faster when computing the 45668411521SHerbert Xu crct10dif checksum as compared with the generic table implementation. 45768411521SHerbert Xu 4582cdc6899SHuang Yingconfig CRYPTO_GHASH 4592cdc6899SHuang Ying tristate "GHASH digest algorithm" 4602cdc6899SHuang Ying select CRYPTO_GF128MUL 4612cdc6899SHuang Ying help 4622cdc6899SHuang Ying GHASH is message digest algorithm for GCM (Galois/Counter Mode). 4632cdc6899SHuang Ying 464f979e014SMartin Williconfig CRYPTO_POLY1305 465f979e014SMartin Willi tristate "Poly1305 authenticator algorithm" 466f979e014SMartin Willi help 467f979e014SMartin Willi Poly1305 authenticator algorithm, RFC7539. 468f979e014SMartin Willi 469f979e014SMartin Willi Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein. 470f979e014SMartin Willi It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use 471f979e014SMartin Willi in IETF protocols. This is the portable C implementation of Poly1305. 472f979e014SMartin Willi 473c70f4abeSMartin Williconfig CRYPTO_POLY1305_X86_64 474*b1ccc8f4SMartin Willi tristate "Poly1305 authenticator algorithm (x86_64/SSE2/AVX2)" 475c70f4abeSMartin Willi depends on X86 && 64BIT 476c70f4abeSMartin Willi select CRYPTO_POLY1305 477c70f4abeSMartin Willi help 478c70f4abeSMartin Willi Poly1305 authenticator algorithm, RFC7539. 479c70f4abeSMartin Willi 480c70f4abeSMartin Willi Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein. 481c70f4abeSMartin Willi It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use 482c70f4abeSMartin Willi in IETF protocols. This is the x86_64 assembler implementation using SIMD 483c70f4abeSMartin Willi instructions. 484c70f4abeSMartin Willi 4851da177e4SLinus Torvaldsconfig CRYPTO_MD4 4861da177e4SLinus Torvalds tristate "MD4 digest algorithm" 487808a1763SAdrian-Ken Rueegsegger select CRYPTO_HASH 4881da177e4SLinus Torvalds help 4891da177e4SLinus Torvalds MD4 message digest algorithm (RFC1320). 4901da177e4SLinus Torvalds 4911da177e4SLinus Torvaldsconfig CRYPTO_MD5 4921da177e4SLinus Torvalds tristate "MD5 digest algorithm" 49314b75ba7SAdrian-Ken Rueegsegger select CRYPTO_HASH 4941da177e4SLinus Torvalds help 4951da177e4SLinus Torvalds MD5 message digest algorithm (RFC1321). 4961da177e4SLinus Torvalds 497d69e75deSAaro Koskinenconfig CRYPTO_MD5_OCTEON 498d69e75deSAaro Koskinen tristate "MD5 digest algorithm (OCTEON)" 499d69e75deSAaro Koskinen depends on CPU_CAVIUM_OCTEON 500d69e75deSAaro Koskinen select CRYPTO_MD5 501d69e75deSAaro Koskinen select CRYPTO_HASH 502d69e75deSAaro Koskinen help 503d69e75deSAaro Koskinen MD5 message digest algorithm (RFC1321) implemented 504d69e75deSAaro Koskinen using OCTEON crypto instructions, when available. 505d69e75deSAaro Koskinen 506e8e59953SMarkus Stockhausenconfig CRYPTO_MD5_PPC 507e8e59953SMarkus Stockhausen tristate "MD5 digest algorithm (PPC)" 508e8e59953SMarkus Stockhausen depends on PPC 509e8e59953SMarkus Stockhausen select CRYPTO_HASH 510e8e59953SMarkus Stockhausen help 511e8e59953SMarkus Stockhausen MD5 message digest algorithm (RFC1321) implemented 512e8e59953SMarkus Stockhausen in PPC assembler. 513e8e59953SMarkus Stockhausen 514fa4dfedcSDavid S. Millerconfig CRYPTO_MD5_SPARC64 515fa4dfedcSDavid S. Miller tristate "MD5 digest algorithm (SPARC64)" 516fa4dfedcSDavid S. Miller depends on SPARC64 517fa4dfedcSDavid S. Miller select CRYPTO_MD5 518fa4dfedcSDavid S. Miller select CRYPTO_HASH 519fa4dfedcSDavid S. Miller help 520fa4dfedcSDavid S. Miller MD5 message digest algorithm (RFC1321) implemented 521fa4dfedcSDavid S. Miller using sparc64 crypto instructions, when available. 522fa4dfedcSDavid S. Miller 523584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC 524584fffc8SSebastian Siewior tristate "Michael MIC keyed digest algorithm" 52519e2bf14SAdrian-Ken Rueegsegger select CRYPTO_HASH 526584fffc8SSebastian Siewior help 527584fffc8SSebastian Siewior Michael MIC is used for message integrity protection in TKIP 528584fffc8SSebastian Siewior (IEEE 802.11i). This algorithm is required for TKIP, but it 529584fffc8SSebastian Siewior should not be used for other purposes because of the weakness 530584fffc8SSebastian Siewior of the algorithm. 531584fffc8SSebastian Siewior 53282798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128 53382798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-128 digest algorithm" 5347c4468bcSHerbert Xu select CRYPTO_HASH 53582798f90SAdrian-Ken Rueegsegger help 53682798f90SAdrian-Ken Rueegsegger RIPEMD-128 (ISO/IEC 10118-3:2004). 53782798f90SAdrian-Ken Rueegsegger 53882798f90SAdrian-Ken Rueegsegger RIPEMD-128 is a 128-bit cryptographic hash function. It should only 53935ed4b35SMichael Witten be used as a secure replacement for RIPEMD. For other use cases, 54082798f90SAdrian-Ken Rueegsegger RIPEMD-160 should be used. 54182798f90SAdrian-Ken Rueegsegger 54282798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 5436d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 54482798f90SAdrian-Ken Rueegsegger 54582798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160 54682798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-160 digest algorithm" 547e5835fbaSHerbert Xu select CRYPTO_HASH 54882798f90SAdrian-Ken Rueegsegger help 54982798f90SAdrian-Ken Rueegsegger RIPEMD-160 (ISO/IEC 10118-3:2004). 55082798f90SAdrian-Ken Rueegsegger 55182798f90SAdrian-Ken Rueegsegger RIPEMD-160 is a 160-bit cryptographic hash function. It is intended 55282798f90SAdrian-Ken Rueegsegger to be used as a secure replacement for the 128-bit hash functions 553b6d44341SAdrian Bunk MD4, MD5 and it's predecessor RIPEMD 554b6d44341SAdrian Bunk (not to be confused with RIPEMD-128). 55582798f90SAdrian-Ken Rueegsegger 556b6d44341SAdrian Bunk It's speed is comparable to SHA1 and there are no known attacks 557b6d44341SAdrian Bunk against RIPEMD-160. 558534fe2c1SAdrian-Ken Rueegsegger 559534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 5606d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 561534fe2c1SAdrian-Ken Rueegsegger 562534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256 563534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-256 digest algorithm" 564d8a5e2e9SHerbert Xu select CRYPTO_HASH 565534fe2c1SAdrian-Ken Rueegsegger help 566b6d44341SAdrian Bunk RIPEMD-256 is an optional extension of RIPEMD-128 with a 567b6d44341SAdrian Bunk 256 bit hash. It is intended for applications that require 568b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 569b6d44341SAdrian Bunk (than RIPEMD-128). 570534fe2c1SAdrian-Ken Rueegsegger 571534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 5726d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 573534fe2c1SAdrian-Ken Rueegsegger 574534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320 575534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-320 digest algorithm" 5763b8efb4cSHerbert Xu select CRYPTO_HASH 577534fe2c1SAdrian-Ken Rueegsegger help 578b6d44341SAdrian Bunk RIPEMD-320 is an optional extension of RIPEMD-160 with a 579b6d44341SAdrian Bunk 320 bit hash. It is intended for applications that require 580b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 581b6d44341SAdrian Bunk (than RIPEMD-160). 582534fe2c1SAdrian-Ken Rueegsegger 58382798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 5846d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 58582798f90SAdrian-Ken Rueegsegger 5861da177e4SLinus Torvaldsconfig CRYPTO_SHA1 5871da177e4SLinus Torvalds tristate "SHA1 digest algorithm" 58854ccb367SAdrian-Ken Rueegsegger select CRYPTO_HASH 5891da177e4SLinus Torvalds help 5901da177e4SLinus Torvalds SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 5911da177e4SLinus Torvalds 59266be8951SMathias Krauseconfig CRYPTO_SHA1_SSSE3 5937c1da8d0Schandramouli narayanan tristate "SHA1 digest algorithm (SSSE3/AVX/AVX2)" 59466be8951SMathias Krause depends on X86 && 64BIT 59566be8951SMathias Krause select CRYPTO_SHA1 59666be8951SMathias Krause select CRYPTO_HASH 59766be8951SMathias Krause help 59866be8951SMathias Krause SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 59966be8951SMathias Krause using Supplemental SSE3 (SSSE3) instructions or Advanced Vector 6007c1da8d0Schandramouli narayanan Extensions (AVX/AVX2), when available. 60166be8951SMathias Krause 6028275d1aaSTim Chenconfig CRYPTO_SHA256_SSSE3 6038275d1aaSTim Chen tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2)" 6048275d1aaSTim Chen depends on X86 && 64BIT 6058275d1aaSTim Chen select CRYPTO_SHA256 6068275d1aaSTim Chen select CRYPTO_HASH 6078275d1aaSTim Chen help 6088275d1aaSTim Chen SHA-256 secure hash standard (DFIPS 180-2) implemented 6098275d1aaSTim Chen using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector 6108275d1aaSTim Chen Extensions version 1 (AVX1), or Advanced Vector Extensions 6118275d1aaSTim Chen version 2 (AVX2) instructions, when available. 6128275d1aaSTim Chen 61387de4579STim Chenconfig CRYPTO_SHA512_SSSE3 61487de4579STim Chen tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)" 61587de4579STim Chen depends on X86 && 64BIT 61687de4579STim Chen select CRYPTO_SHA512 61787de4579STim Chen select CRYPTO_HASH 61887de4579STim Chen help 61987de4579STim Chen SHA-512 secure hash standard (DFIPS 180-2) implemented 62087de4579STim Chen using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector 62187de4579STim Chen Extensions version 1 (AVX1), or Advanced Vector Extensions 62287de4579STim Chen version 2 (AVX2) instructions, when available. 62387de4579STim Chen 624efdb6f6eSAaro Koskinenconfig CRYPTO_SHA1_OCTEON 625efdb6f6eSAaro Koskinen tristate "SHA1 digest algorithm (OCTEON)" 626efdb6f6eSAaro Koskinen depends on CPU_CAVIUM_OCTEON 627efdb6f6eSAaro Koskinen select CRYPTO_SHA1 628efdb6f6eSAaro Koskinen select CRYPTO_HASH 629efdb6f6eSAaro Koskinen help 630efdb6f6eSAaro Koskinen SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 631efdb6f6eSAaro Koskinen using OCTEON crypto instructions, when available. 632efdb6f6eSAaro Koskinen 6334ff28d4cSDavid S. Millerconfig CRYPTO_SHA1_SPARC64 6344ff28d4cSDavid S. Miller tristate "SHA1 digest algorithm (SPARC64)" 6354ff28d4cSDavid S. Miller depends on SPARC64 6364ff28d4cSDavid S. Miller select CRYPTO_SHA1 6374ff28d4cSDavid S. Miller select CRYPTO_HASH 6384ff28d4cSDavid S. Miller help 6394ff28d4cSDavid S. Miller SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 6404ff28d4cSDavid S. Miller using sparc64 crypto instructions, when available. 6414ff28d4cSDavid S. Miller 642323a6bf1SMichael Ellermanconfig CRYPTO_SHA1_PPC 643323a6bf1SMichael Ellerman tristate "SHA1 digest algorithm (powerpc)" 644323a6bf1SMichael Ellerman depends on PPC 645323a6bf1SMichael Ellerman help 646323a6bf1SMichael Ellerman This is the powerpc hardware accelerated implementation of the 647323a6bf1SMichael Ellerman SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 648323a6bf1SMichael Ellerman 649d9850fc5SMarkus Stockhausenconfig CRYPTO_SHA1_PPC_SPE 650d9850fc5SMarkus Stockhausen tristate "SHA1 digest algorithm (PPC SPE)" 651d9850fc5SMarkus Stockhausen depends on PPC && SPE 652d9850fc5SMarkus Stockhausen help 653d9850fc5SMarkus Stockhausen SHA-1 secure hash standard (DFIPS 180-4) implemented 654d9850fc5SMarkus Stockhausen using powerpc SPE SIMD instruction set. 655d9850fc5SMarkus Stockhausen 6561e65b81aSTim Chenconfig CRYPTO_SHA1_MB 6571e65b81aSTim Chen tristate "SHA1 digest algorithm (x86_64 Multi-Buffer, Experimental)" 6581e65b81aSTim Chen depends on X86 && 64BIT 6591e65b81aSTim Chen select CRYPTO_SHA1 6601e65b81aSTim Chen select CRYPTO_HASH 6611e65b81aSTim Chen select CRYPTO_MCRYPTD 6621e65b81aSTim Chen help 6631e65b81aSTim Chen SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 6641e65b81aSTim Chen using multi-buffer technique. This algorithm computes on 6651e65b81aSTim Chen multiple data lanes concurrently with SIMD instructions for 6661e65b81aSTim Chen better throughput. It should not be enabled by default but 6671e65b81aSTim Chen used when there is significant amount of work to keep the keep 6681e65b81aSTim Chen the data lanes filled to get performance benefit. If the data 6691e65b81aSTim Chen lanes remain unfilled, a flush operation will be initiated to 6701e65b81aSTim Chen process the crypto jobs, adding a slight latency. 6711e65b81aSTim Chen 6721da177e4SLinus Torvaldsconfig CRYPTO_SHA256 673cd12fb90SJonathan Lynch tristate "SHA224 and SHA256 digest algorithm" 67450e109b5SAdrian-Ken Rueegsegger select CRYPTO_HASH 6751da177e4SLinus Torvalds help 6761da177e4SLinus Torvalds SHA256 secure hash standard (DFIPS 180-2). 6771da177e4SLinus Torvalds 6781da177e4SLinus Torvalds This version of SHA implements a 256 bit hash with 128 bits of 6791da177e4SLinus Torvalds security against collision attacks. 6801da177e4SLinus Torvalds 681cd12fb90SJonathan Lynch This code also includes SHA-224, a 224 bit hash with 112 bits 682cd12fb90SJonathan Lynch of security against collision attacks. 683cd12fb90SJonathan Lynch 6842ecc1e95SMarkus Stockhausenconfig CRYPTO_SHA256_PPC_SPE 6852ecc1e95SMarkus Stockhausen tristate "SHA224 and SHA256 digest algorithm (PPC SPE)" 6862ecc1e95SMarkus Stockhausen depends on PPC && SPE 6872ecc1e95SMarkus Stockhausen select CRYPTO_SHA256 6882ecc1e95SMarkus Stockhausen select CRYPTO_HASH 6892ecc1e95SMarkus Stockhausen help 6902ecc1e95SMarkus Stockhausen SHA224 and SHA256 secure hash standard (DFIPS 180-2) 6912ecc1e95SMarkus Stockhausen implemented using powerpc SPE SIMD instruction set. 6922ecc1e95SMarkus Stockhausen 693efdb6f6eSAaro Koskinenconfig CRYPTO_SHA256_OCTEON 694efdb6f6eSAaro Koskinen tristate "SHA224 and SHA256 digest algorithm (OCTEON)" 695efdb6f6eSAaro Koskinen depends on CPU_CAVIUM_OCTEON 696efdb6f6eSAaro Koskinen select CRYPTO_SHA256 697efdb6f6eSAaro Koskinen select CRYPTO_HASH 698efdb6f6eSAaro Koskinen help 699efdb6f6eSAaro Koskinen SHA-256 secure hash standard (DFIPS 180-2) implemented 700efdb6f6eSAaro Koskinen using OCTEON crypto instructions, when available. 701efdb6f6eSAaro Koskinen 70286c93b24SDavid S. Millerconfig CRYPTO_SHA256_SPARC64 70386c93b24SDavid S. Miller tristate "SHA224 and SHA256 digest algorithm (SPARC64)" 70486c93b24SDavid S. Miller depends on SPARC64 70586c93b24SDavid S. Miller select CRYPTO_SHA256 70686c93b24SDavid S. Miller select CRYPTO_HASH 70786c93b24SDavid S. Miller help 70886c93b24SDavid S. Miller SHA-256 secure hash standard (DFIPS 180-2) implemented 70986c93b24SDavid S. Miller using sparc64 crypto instructions, when available. 71086c93b24SDavid S. Miller 7111da177e4SLinus Torvaldsconfig CRYPTO_SHA512 7121da177e4SLinus Torvalds tristate "SHA384 and SHA512 digest algorithms" 713bd9d20dbSAdrian-Ken Rueegsegger select CRYPTO_HASH 7141da177e4SLinus Torvalds help 7151da177e4SLinus Torvalds SHA512 secure hash standard (DFIPS 180-2). 7161da177e4SLinus Torvalds 7171da177e4SLinus Torvalds This version of SHA implements a 512 bit hash with 256 bits of 7181da177e4SLinus Torvalds security against collision attacks. 7191da177e4SLinus Torvalds 7201da177e4SLinus Torvalds This code also includes SHA-384, a 384 bit hash with 192 bits 7211da177e4SLinus Torvalds of security against collision attacks. 7221da177e4SLinus Torvalds 723efdb6f6eSAaro Koskinenconfig CRYPTO_SHA512_OCTEON 724efdb6f6eSAaro Koskinen tristate "SHA384 and SHA512 digest algorithms (OCTEON)" 725efdb6f6eSAaro Koskinen depends on CPU_CAVIUM_OCTEON 726efdb6f6eSAaro Koskinen select CRYPTO_SHA512 727efdb6f6eSAaro Koskinen select CRYPTO_HASH 728efdb6f6eSAaro Koskinen help 729efdb6f6eSAaro Koskinen SHA-512 secure hash standard (DFIPS 180-2) implemented 730efdb6f6eSAaro Koskinen using OCTEON crypto instructions, when available. 731efdb6f6eSAaro Koskinen 732775e0c69SDavid S. Millerconfig CRYPTO_SHA512_SPARC64 733775e0c69SDavid S. Miller tristate "SHA384 and SHA512 digest algorithm (SPARC64)" 734775e0c69SDavid S. Miller depends on SPARC64 735775e0c69SDavid S. Miller select CRYPTO_SHA512 736775e0c69SDavid S. Miller select CRYPTO_HASH 737775e0c69SDavid S. Miller help 738775e0c69SDavid S. Miller SHA-512 secure hash standard (DFIPS 180-2) implemented 739775e0c69SDavid S. Miller using sparc64 crypto instructions, when available. 740775e0c69SDavid S. Miller 7411da177e4SLinus Torvaldsconfig CRYPTO_TGR192 7421da177e4SLinus Torvalds tristate "Tiger digest algorithms" 743f63fbd3dSAdrian-Ken Rueegsegger select CRYPTO_HASH 7441da177e4SLinus Torvalds help 7451da177e4SLinus Torvalds Tiger hash algorithm 192, 160 and 128-bit hashes 7461da177e4SLinus Torvalds 7471da177e4SLinus Torvalds Tiger is a hash function optimized for 64-bit processors while 7481da177e4SLinus Torvalds still having decent performance on 32-bit processors. 7491da177e4SLinus Torvalds Tiger was developed by Ross Anderson and Eli Biham. 7501da177e4SLinus Torvalds 7511da177e4SLinus Torvalds See also: 7521da177e4SLinus Torvalds <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. 7531da177e4SLinus Torvalds 754584fffc8SSebastian Siewiorconfig CRYPTO_WP512 755584fffc8SSebastian Siewior tristate "Whirlpool digest algorithms" 7564946510bSAdrian-Ken Rueegsegger select CRYPTO_HASH 7571da177e4SLinus Torvalds help 758584fffc8SSebastian Siewior Whirlpool hash algorithm 512, 384 and 256-bit hashes 7591da177e4SLinus Torvalds 760584fffc8SSebastian Siewior Whirlpool-512 is part of the NESSIE cryptographic primitives. 761584fffc8SSebastian Siewior Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard 7621da177e4SLinus Torvalds 7631da177e4SLinus Torvalds See also: 7646d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html> 7651da177e4SLinus Torvalds 7660e1227d3SHuang Yingconfig CRYPTO_GHASH_CLMUL_NI_INTEL 7670e1227d3SHuang Ying tristate "GHASH digest algorithm (CLMUL-NI accelerated)" 7688af00860SRichard Weinberger depends on X86 && 64BIT 7690e1227d3SHuang Ying select CRYPTO_CRYPTD 7700e1227d3SHuang Ying help 7710e1227d3SHuang Ying GHASH is message digest algorithm for GCM (Galois/Counter Mode). 7720e1227d3SHuang Ying The implementation is accelerated by CLMUL-NI of Intel. 7730e1227d3SHuang Ying 774584fffc8SSebastian Siewiorcomment "Ciphers" 7751da177e4SLinus Torvalds 7761da177e4SLinus Torvaldsconfig CRYPTO_AES 7771da177e4SLinus Torvalds tristate "AES cipher algorithms" 778cce9e06dSHerbert Xu select CRYPTO_ALGAPI 7791da177e4SLinus Torvalds help 7801da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 7811da177e4SLinus Torvalds algorithm. 7821da177e4SLinus Torvalds 7831da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 7841da177e4SLinus Torvalds both hardware and software across a wide range of computing 7851da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 7861da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 7871da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 7881da177e4SLinus Torvalds suited for restricted-space environments, in which it also 7891da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 7901da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 7911da177e4SLinus Torvalds 7921da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 7931da177e4SLinus Torvalds 7941da177e4SLinus Torvalds See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. 7951da177e4SLinus Torvalds 7961da177e4SLinus Torvaldsconfig CRYPTO_AES_586 7971da177e4SLinus Torvalds tristate "AES cipher algorithms (i586)" 798cce9e06dSHerbert Xu depends on (X86 || UML_X86) && !64BIT 799cce9e06dSHerbert Xu select CRYPTO_ALGAPI 8005157dea8SSebastian Siewior select CRYPTO_AES 8011da177e4SLinus Torvalds help 8021da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 8031da177e4SLinus Torvalds algorithm. 8041da177e4SLinus Torvalds 8051da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 8061da177e4SLinus Torvalds both hardware and software across a wide range of computing 8071da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 8081da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 8091da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 8101da177e4SLinus Torvalds suited for restricted-space environments, in which it also 8111da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 8121da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 8131da177e4SLinus Torvalds 8141da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 8151da177e4SLinus Torvalds 8161da177e4SLinus Torvalds See <http://csrc.nist.gov/encryption/aes/> for more information. 8171da177e4SLinus Torvalds 818a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64 819a2a892a2SAndreas Steinmetz tristate "AES cipher algorithms (x86_64)" 820cce9e06dSHerbert Xu depends on (X86 || UML_X86) && 64BIT 821cce9e06dSHerbert Xu select CRYPTO_ALGAPI 82281190b32SSebastian Siewior select CRYPTO_AES 823a2a892a2SAndreas Steinmetz help 824a2a892a2SAndreas Steinmetz AES cipher algorithms (FIPS-197). AES uses the Rijndael 825a2a892a2SAndreas Steinmetz algorithm. 826a2a892a2SAndreas Steinmetz 827a2a892a2SAndreas Steinmetz Rijndael appears to be consistently a very good performer in 828a2a892a2SAndreas Steinmetz both hardware and software across a wide range of computing 829a2a892a2SAndreas Steinmetz environments regardless of its use in feedback or non-feedback 830a2a892a2SAndreas Steinmetz modes. Its key setup time is excellent, and its key agility is 831a2a892a2SAndreas Steinmetz good. Rijndael's very low memory requirements make it very well 832a2a892a2SAndreas Steinmetz suited for restricted-space environments, in which it also 833a2a892a2SAndreas Steinmetz demonstrates excellent performance. Rijndael's operations are 834a2a892a2SAndreas Steinmetz among the easiest to defend against power and timing attacks. 835a2a892a2SAndreas Steinmetz 836a2a892a2SAndreas Steinmetz The AES specifies three key sizes: 128, 192 and 256 bits 837a2a892a2SAndreas Steinmetz 838a2a892a2SAndreas Steinmetz See <http://csrc.nist.gov/encryption/aes/> for more information. 839a2a892a2SAndreas Steinmetz 84054b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL 84154b6a1bdSHuang Ying tristate "AES cipher algorithms (AES-NI)" 8428af00860SRichard Weinberger depends on X86 8430d258efbSMathias Krause select CRYPTO_AES_X86_64 if 64BIT 8440d258efbSMathias Krause select CRYPTO_AES_586 if !64BIT 84554b6a1bdSHuang Ying select CRYPTO_CRYPTD 846801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 84754b6a1bdSHuang Ying select CRYPTO_ALGAPI 8487643a11aSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 if 64BIT 849023af608SJussi Kivilinna select CRYPTO_LRW 850023af608SJussi Kivilinna select CRYPTO_XTS 85154b6a1bdSHuang Ying help 85254b6a1bdSHuang Ying Use Intel AES-NI instructions for AES algorithm. 85354b6a1bdSHuang Ying 85454b6a1bdSHuang Ying AES cipher algorithms (FIPS-197). AES uses the Rijndael 85554b6a1bdSHuang Ying algorithm. 85654b6a1bdSHuang Ying 85754b6a1bdSHuang Ying Rijndael appears to be consistently a very good performer in 85854b6a1bdSHuang Ying both hardware and software across a wide range of computing 85954b6a1bdSHuang Ying environments regardless of its use in feedback or non-feedback 86054b6a1bdSHuang Ying modes. Its key setup time is excellent, and its key agility is 86154b6a1bdSHuang Ying good. Rijndael's very low memory requirements make it very well 86254b6a1bdSHuang Ying suited for restricted-space environments, in which it also 86354b6a1bdSHuang Ying demonstrates excellent performance. Rijndael's operations are 86454b6a1bdSHuang Ying among the easiest to defend against power and timing attacks. 86554b6a1bdSHuang Ying 86654b6a1bdSHuang Ying The AES specifies three key sizes: 128, 192 and 256 bits 86754b6a1bdSHuang Ying 86854b6a1bdSHuang Ying See <http://csrc.nist.gov/encryption/aes/> for more information. 86954b6a1bdSHuang Ying 8700d258efbSMathias Krause In addition to AES cipher algorithm support, the acceleration 8710d258efbSMathias Krause for some popular block cipher mode is supported too, including 8720d258efbSMathias Krause ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional 8730d258efbSMathias Krause acceleration for CTR. 8742cf4ac8bSHuang Ying 8759bf4852dSDavid S. Millerconfig CRYPTO_AES_SPARC64 8769bf4852dSDavid S. Miller tristate "AES cipher algorithms (SPARC64)" 8779bf4852dSDavid S. Miller depends on SPARC64 8789bf4852dSDavid S. Miller select CRYPTO_CRYPTD 8799bf4852dSDavid S. Miller select CRYPTO_ALGAPI 8809bf4852dSDavid S. Miller help 8819bf4852dSDavid S. Miller Use SPARC64 crypto opcodes for AES algorithm. 8829bf4852dSDavid S. Miller 8839bf4852dSDavid S. Miller AES cipher algorithms (FIPS-197). AES uses the Rijndael 8849bf4852dSDavid S. Miller algorithm. 8859bf4852dSDavid S. Miller 8869bf4852dSDavid S. Miller Rijndael appears to be consistently a very good performer in 8879bf4852dSDavid S. Miller both hardware and software across a wide range of computing 8889bf4852dSDavid S. Miller environments regardless of its use in feedback or non-feedback 8899bf4852dSDavid S. Miller modes. Its key setup time is excellent, and its key agility is 8909bf4852dSDavid S. Miller good. Rijndael's very low memory requirements make it very well 8919bf4852dSDavid S. Miller suited for restricted-space environments, in which it also 8929bf4852dSDavid S. Miller demonstrates excellent performance. Rijndael's operations are 8939bf4852dSDavid S. Miller among the easiest to defend against power and timing attacks. 8949bf4852dSDavid S. Miller 8959bf4852dSDavid S. Miller The AES specifies three key sizes: 128, 192 and 256 bits 8969bf4852dSDavid S. Miller 8979bf4852dSDavid S. Miller See <http://csrc.nist.gov/encryption/aes/> for more information. 8989bf4852dSDavid S. Miller 8999bf4852dSDavid S. Miller In addition to AES cipher algorithm support, the acceleration 9009bf4852dSDavid S. Miller for some popular block cipher mode is supported too, including 9019bf4852dSDavid S. Miller ECB and CBC. 9029bf4852dSDavid S. Miller 903504c6143SMarkus Stockhausenconfig CRYPTO_AES_PPC_SPE 904504c6143SMarkus Stockhausen tristate "AES cipher algorithms (PPC SPE)" 905504c6143SMarkus Stockhausen depends on PPC && SPE 906504c6143SMarkus Stockhausen help 907504c6143SMarkus Stockhausen AES cipher algorithms (FIPS-197). Additionally the acceleration 908504c6143SMarkus Stockhausen for popular block cipher modes ECB, CBC, CTR and XTS is supported. 909504c6143SMarkus Stockhausen This module should only be used for low power (router) devices 910504c6143SMarkus Stockhausen without hardware AES acceleration (e.g. caam crypto). It reduces the 911504c6143SMarkus Stockhausen size of the AES tables from 16KB to 8KB + 256 bytes and mitigates 912504c6143SMarkus Stockhausen timining attacks. Nevertheless it might be not as secure as other 913504c6143SMarkus Stockhausen architecture specific assembler implementations that work on 1KB 914504c6143SMarkus Stockhausen tables or 256 bytes S-boxes. 915504c6143SMarkus Stockhausen 9161da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS 9171da177e4SLinus Torvalds tristate "Anubis cipher algorithm" 918cce9e06dSHerbert Xu select CRYPTO_ALGAPI 9191da177e4SLinus Torvalds help 9201da177e4SLinus Torvalds Anubis cipher algorithm. 9211da177e4SLinus Torvalds 9221da177e4SLinus Torvalds Anubis is a variable key length cipher which can use keys from 9231da177e4SLinus Torvalds 128 bits to 320 bits in length. It was evaluated as a entrant 9241da177e4SLinus Torvalds in the NESSIE competition. 9251da177e4SLinus Torvalds 9261da177e4SLinus Torvalds See also: 9276d8de74cSJustin P. Mattock <https://www.cosic.esat.kuleuven.be/nessie/reports/> 9286d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/AnubisPage.html> 9291da177e4SLinus Torvalds 930584fffc8SSebastian Siewiorconfig CRYPTO_ARC4 931584fffc8SSebastian Siewior tristate "ARC4 cipher algorithm" 932b9b0f080SSebastian Andrzej Siewior select CRYPTO_BLKCIPHER 933e2ee95b8SHye-Shik Chang help 934584fffc8SSebastian Siewior ARC4 cipher algorithm. 935e2ee95b8SHye-Shik Chang 936584fffc8SSebastian Siewior ARC4 is a stream cipher using keys ranging from 8 bits to 2048 937584fffc8SSebastian Siewior bits in length. This algorithm is required for driver-based 938584fffc8SSebastian Siewior WEP, but it should not be for other purposes because of the 939584fffc8SSebastian Siewior weakness of the algorithm. 940584fffc8SSebastian Siewior 941584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH 942584fffc8SSebastian Siewior tristate "Blowfish cipher algorithm" 943584fffc8SSebastian Siewior select CRYPTO_ALGAPI 94452ba867cSJussi Kivilinna select CRYPTO_BLOWFISH_COMMON 945584fffc8SSebastian Siewior help 946584fffc8SSebastian Siewior Blowfish cipher algorithm, by Bruce Schneier. 947584fffc8SSebastian Siewior 948584fffc8SSebastian Siewior This is a variable key length cipher which can use keys from 32 949584fffc8SSebastian Siewior bits to 448 bits in length. It's fast, simple and specifically 950584fffc8SSebastian Siewior designed for use on "large microprocessors". 951e2ee95b8SHye-Shik Chang 952e2ee95b8SHye-Shik Chang See also: 953584fffc8SSebastian Siewior <http://www.schneier.com/blowfish.html> 954584fffc8SSebastian Siewior 95552ba867cSJussi Kivilinnaconfig CRYPTO_BLOWFISH_COMMON 95652ba867cSJussi Kivilinna tristate 95752ba867cSJussi Kivilinna help 95852ba867cSJussi Kivilinna Common parts of the Blowfish cipher algorithm shared by the 95952ba867cSJussi Kivilinna generic c and the assembler implementations. 96052ba867cSJussi Kivilinna 96152ba867cSJussi Kivilinna See also: 96252ba867cSJussi Kivilinna <http://www.schneier.com/blowfish.html> 96352ba867cSJussi Kivilinna 96464b94ceaSJussi Kivilinnaconfig CRYPTO_BLOWFISH_X86_64 96564b94ceaSJussi Kivilinna tristate "Blowfish cipher algorithm (x86_64)" 966f21a7c19SAl Viro depends on X86 && 64BIT 96764b94ceaSJussi Kivilinna select CRYPTO_ALGAPI 96864b94ceaSJussi Kivilinna select CRYPTO_BLOWFISH_COMMON 96964b94ceaSJussi Kivilinna help 97064b94ceaSJussi Kivilinna Blowfish cipher algorithm (x86_64), by Bruce Schneier. 97164b94ceaSJussi Kivilinna 97264b94ceaSJussi Kivilinna This is a variable key length cipher which can use keys from 32 97364b94ceaSJussi Kivilinna bits to 448 bits in length. It's fast, simple and specifically 97464b94ceaSJussi Kivilinna designed for use on "large microprocessors". 97564b94ceaSJussi Kivilinna 97664b94ceaSJussi Kivilinna See also: 97764b94ceaSJussi Kivilinna <http://www.schneier.com/blowfish.html> 97864b94ceaSJussi Kivilinna 979584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA 980584fffc8SSebastian Siewior tristate "Camellia cipher algorithms" 981584fffc8SSebastian Siewior depends on CRYPTO 982584fffc8SSebastian Siewior select CRYPTO_ALGAPI 983584fffc8SSebastian Siewior help 984584fffc8SSebastian Siewior Camellia cipher algorithms module. 985584fffc8SSebastian Siewior 986584fffc8SSebastian Siewior Camellia is a symmetric key block cipher developed jointly 987584fffc8SSebastian Siewior at NTT and Mitsubishi Electric Corporation. 988584fffc8SSebastian Siewior 989584fffc8SSebastian Siewior The Camellia specifies three key sizes: 128, 192 and 256 bits. 990584fffc8SSebastian Siewior 991584fffc8SSebastian Siewior See also: 992584fffc8SSebastian Siewior <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 993584fffc8SSebastian Siewior 9940b95ec56SJussi Kivilinnaconfig CRYPTO_CAMELLIA_X86_64 9950b95ec56SJussi Kivilinna tristate "Camellia cipher algorithm (x86_64)" 996f21a7c19SAl Viro depends on X86 && 64BIT 9970b95ec56SJussi Kivilinna depends on CRYPTO 9980b95ec56SJussi Kivilinna select CRYPTO_ALGAPI 999964263afSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 10000b95ec56SJussi Kivilinna select CRYPTO_LRW 10010b95ec56SJussi Kivilinna select CRYPTO_XTS 10020b95ec56SJussi Kivilinna help 10030b95ec56SJussi Kivilinna Camellia cipher algorithm module (x86_64). 10040b95ec56SJussi Kivilinna 10050b95ec56SJussi Kivilinna Camellia is a symmetric key block cipher developed jointly 10060b95ec56SJussi Kivilinna at NTT and Mitsubishi Electric Corporation. 10070b95ec56SJussi Kivilinna 10080b95ec56SJussi Kivilinna The Camellia specifies three key sizes: 128, 192 and 256 bits. 10090b95ec56SJussi Kivilinna 10100b95ec56SJussi Kivilinna See also: 10110b95ec56SJussi Kivilinna <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 10120b95ec56SJussi Kivilinna 1013d9b1d2e7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX_X86_64 1014d9b1d2e7SJussi Kivilinna tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)" 1015d9b1d2e7SJussi Kivilinna depends on X86 && 64BIT 1016d9b1d2e7SJussi Kivilinna depends on CRYPTO 1017d9b1d2e7SJussi Kivilinna select CRYPTO_ALGAPI 1018d9b1d2e7SJussi Kivilinna select CRYPTO_CRYPTD 1019801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1020d9b1d2e7SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1021d9b1d2e7SJussi Kivilinna select CRYPTO_CAMELLIA_X86_64 1022d9b1d2e7SJussi Kivilinna select CRYPTO_LRW 1023d9b1d2e7SJussi Kivilinna select CRYPTO_XTS 1024d9b1d2e7SJussi Kivilinna help 1025d9b1d2e7SJussi Kivilinna Camellia cipher algorithm module (x86_64/AES-NI/AVX). 1026d9b1d2e7SJussi Kivilinna 1027d9b1d2e7SJussi Kivilinna Camellia is a symmetric key block cipher developed jointly 1028d9b1d2e7SJussi Kivilinna at NTT and Mitsubishi Electric Corporation. 1029d9b1d2e7SJussi Kivilinna 1030d9b1d2e7SJussi Kivilinna The Camellia specifies three key sizes: 128, 192 and 256 bits. 1031d9b1d2e7SJussi Kivilinna 1032d9b1d2e7SJussi Kivilinna See also: 1033d9b1d2e7SJussi Kivilinna <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1034d9b1d2e7SJussi Kivilinna 1035f3f935a7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 1036f3f935a7SJussi Kivilinna tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX2)" 1037f3f935a7SJussi Kivilinna depends on X86 && 64BIT 1038f3f935a7SJussi Kivilinna depends on CRYPTO 1039f3f935a7SJussi Kivilinna select CRYPTO_ALGAPI 1040f3f935a7SJussi Kivilinna select CRYPTO_CRYPTD 1041801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1042f3f935a7SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1043f3f935a7SJussi Kivilinna select CRYPTO_CAMELLIA_X86_64 1044f3f935a7SJussi Kivilinna select CRYPTO_CAMELLIA_AESNI_AVX_X86_64 1045f3f935a7SJussi Kivilinna select CRYPTO_LRW 1046f3f935a7SJussi Kivilinna select CRYPTO_XTS 1047f3f935a7SJussi Kivilinna help 1048f3f935a7SJussi Kivilinna Camellia cipher algorithm module (x86_64/AES-NI/AVX2). 1049f3f935a7SJussi Kivilinna 1050f3f935a7SJussi Kivilinna Camellia is a symmetric key block cipher developed jointly 1051f3f935a7SJussi Kivilinna at NTT and Mitsubishi Electric Corporation. 1052f3f935a7SJussi Kivilinna 1053f3f935a7SJussi Kivilinna The Camellia specifies three key sizes: 128, 192 and 256 bits. 1054f3f935a7SJussi Kivilinna 1055f3f935a7SJussi Kivilinna See also: 1056f3f935a7SJussi Kivilinna <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1057f3f935a7SJussi Kivilinna 105881658ad0SDavid S. Millerconfig CRYPTO_CAMELLIA_SPARC64 105981658ad0SDavid S. Miller tristate "Camellia cipher algorithm (SPARC64)" 106081658ad0SDavid S. Miller depends on SPARC64 106181658ad0SDavid S. Miller depends on CRYPTO 106281658ad0SDavid S. Miller select CRYPTO_ALGAPI 106381658ad0SDavid S. Miller help 106481658ad0SDavid S. Miller Camellia cipher algorithm module (SPARC64). 106581658ad0SDavid S. Miller 106681658ad0SDavid S. Miller Camellia is a symmetric key block cipher developed jointly 106781658ad0SDavid S. Miller at NTT and Mitsubishi Electric Corporation. 106881658ad0SDavid S. Miller 106981658ad0SDavid S. Miller The Camellia specifies three key sizes: 128, 192 and 256 bits. 107081658ad0SDavid S. Miller 107181658ad0SDavid S. Miller See also: 107281658ad0SDavid S. Miller <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 107381658ad0SDavid S. Miller 1074044ab525SJussi Kivilinnaconfig CRYPTO_CAST_COMMON 1075044ab525SJussi Kivilinna tristate 1076044ab525SJussi Kivilinna help 1077044ab525SJussi Kivilinna Common parts of the CAST cipher algorithms shared by the 1078044ab525SJussi Kivilinna generic c and the assembler implementations. 1079044ab525SJussi Kivilinna 1080584fffc8SSebastian Siewiorconfig CRYPTO_CAST5 1081584fffc8SSebastian Siewior tristate "CAST5 (CAST-128) cipher algorithm" 1082584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1083044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 1084584fffc8SSebastian Siewior help 1085584fffc8SSebastian Siewior The CAST5 encryption algorithm (synonymous with CAST-128) is 1086584fffc8SSebastian Siewior described in RFC2144. 1087584fffc8SSebastian Siewior 10884d6d6a2cSJohannes Goetzfriedconfig CRYPTO_CAST5_AVX_X86_64 10894d6d6a2cSJohannes Goetzfried tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)" 10904d6d6a2cSJohannes Goetzfried depends on X86 && 64BIT 10914d6d6a2cSJohannes Goetzfried select CRYPTO_ALGAPI 10924d6d6a2cSJohannes Goetzfried select CRYPTO_CRYPTD 1093801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1094044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 10954d6d6a2cSJohannes Goetzfried select CRYPTO_CAST5 10964d6d6a2cSJohannes Goetzfried help 10974d6d6a2cSJohannes Goetzfried The CAST5 encryption algorithm (synonymous with CAST-128) is 10984d6d6a2cSJohannes Goetzfried described in RFC2144. 10994d6d6a2cSJohannes Goetzfried 11004d6d6a2cSJohannes Goetzfried This module provides the Cast5 cipher algorithm that processes 11014d6d6a2cSJohannes Goetzfried sixteen blocks parallel using the AVX instruction set. 11024d6d6a2cSJohannes Goetzfried 1103584fffc8SSebastian Siewiorconfig CRYPTO_CAST6 1104584fffc8SSebastian Siewior tristate "CAST6 (CAST-256) cipher algorithm" 1105584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1106044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 1107584fffc8SSebastian Siewior help 1108584fffc8SSebastian Siewior The CAST6 encryption algorithm (synonymous with CAST-256) is 1109584fffc8SSebastian Siewior described in RFC2612. 1110584fffc8SSebastian Siewior 11114ea1277dSJohannes Goetzfriedconfig CRYPTO_CAST6_AVX_X86_64 11124ea1277dSJohannes Goetzfried tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)" 11134ea1277dSJohannes Goetzfried depends on X86 && 64BIT 11144ea1277dSJohannes Goetzfried select CRYPTO_ALGAPI 11154ea1277dSJohannes Goetzfried select CRYPTO_CRYPTD 1116801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 11174ea1277dSJohannes Goetzfried select CRYPTO_GLUE_HELPER_X86 1118044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 11194ea1277dSJohannes Goetzfried select CRYPTO_CAST6 11204ea1277dSJohannes Goetzfried select CRYPTO_LRW 11214ea1277dSJohannes Goetzfried select CRYPTO_XTS 11224ea1277dSJohannes Goetzfried help 11234ea1277dSJohannes Goetzfried The CAST6 encryption algorithm (synonymous with CAST-256) is 11244ea1277dSJohannes Goetzfried described in RFC2612. 11254ea1277dSJohannes Goetzfried 11264ea1277dSJohannes Goetzfried This module provides the Cast6 cipher algorithm that processes 11274ea1277dSJohannes Goetzfried eight blocks parallel using the AVX instruction set. 11284ea1277dSJohannes Goetzfried 1129584fffc8SSebastian Siewiorconfig CRYPTO_DES 1130584fffc8SSebastian Siewior tristate "DES and Triple DES EDE cipher algorithms" 1131584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1132584fffc8SSebastian Siewior help 1133584fffc8SSebastian Siewior DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 1134584fffc8SSebastian Siewior 1135c5aac2dfSDavid S. Millerconfig CRYPTO_DES_SPARC64 1136c5aac2dfSDavid S. Miller tristate "DES and Triple DES EDE cipher algorithms (SPARC64)" 113797da37b3SDave Jones depends on SPARC64 1138c5aac2dfSDavid S. Miller select CRYPTO_ALGAPI 1139c5aac2dfSDavid S. Miller select CRYPTO_DES 1140c5aac2dfSDavid S. Miller help 1141c5aac2dfSDavid S. Miller DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3), 1142c5aac2dfSDavid S. Miller optimized using SPARC64 crypto opcodes. 1143c5aac2dfSDavid S. Miller 11446574e6c6SJussi Kivilinnaconfig CRYPTO_DES3_EDE_X86_64 11456574e6c6SJussi Kivilinna tristate "Triple DES EDE cipher algorithm (x86-64)" 11466574e6c6SJussi Kivilinna depends on X86 && 64BIT 11476574e6c6SJussi Kivilinna select CRYPTO_ALGAPI 11486574e6c6SJussi Kivilinna select CRYPTO_DES 11496574e6c6SJussi Kivilinna help 11506574e6c6SJussi Kivilinna Triple DES EDE (FIPS 46-3) algorithm. 11516574e6c6SJussi Kivilinna 11526574e6c6SJussi Kivilinna This module provides implementation of the Triple DES EDE cipher 11536574e6c6SJussi Kivilinna algorithm that is optimized for x86-64 processors. Two versions of 11546574e6c6SJussi Kivilinna algorithm are provided; regular processing one input block and 11556574e6c6SJussi Kivilinna one that processes three blocks parallel. 11566574e6c6SJussi Kivilinna 1157584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT 1158584fffc8SSebastian Siewior tristate "FCrypt cipher algorithm" 1159584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1160584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 1161584fffc8SSebastian Siewior help 1162584fffc8SSebastian Siewior FCrypt algorithm used by RxRPC. 1163584fffc8SSebastian Siewior 1164584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD 1165584fffc8SSebastian Siewior tristate "Khazad cipher algorithm" 1166584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1167584fffc8SSebastian Siewior help 1168584fffc8SSebastian Siewior Khazad cipher algorithm. 1169584fffc8SSebastian Siewior 1170584fffc8SSebastian Siewior Khazad was a finalist in the initial NESSIE competition. It is 1171584fffc8SSebastian Siewior an algorithm optimized for 64-bit processors with good performance 1172584fffc8SSebastian Siewior on 32-bit processors. Khazad uses an 128 bit key size. 1173584fffc8SSebastian Siewior 1174584fffc8SSebastian Siewior See also: 11756d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/KhazadPage.html> 1176e2ee95b8SHye-Shik Chang 11772407d608STan Swee Hengconfig CRYPTO_SALSA20 11783b4afaf2SKees Cook tristate "Salsa20 stream cipher algorithm" 11792407d608STan Swee Heng select CRYPTO_BLKCIPHER 11802407d608STan Swee Heng help 11812407d608STan Swee Heng Salsa20 stream cipher algorithm. 11822407d608STan Swee Heng 11832407d608STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 11842407d608STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 11852407d608STan Swee Heng 11862407d608STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 11872407d608STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 11881da177e4SLinus Torvalds 1189974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586 11903b4afaf2SKees Cook tristate "Salsa20 stream cipher algorithm (i586)" 1191974e4b75STan Swee Heng depends on (X86 || UML_X86) && !64BIT 1192974e4b75STan Swee Heng select CRYPTO_BLKCIPHER 1193974e4b75STan Swee Heng help 1194974e4b75STan Swee Heng Salsa20 stream cipher algorithm. 1195974e4b75STan Swee Heng 1196974e4b75STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 1197974e4b75STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 1198974e4b75STan Swee Heng 1199974e4b75STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 1200974e4b75STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 1201974e4b75STan Swee Heng 12029a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64 12033b4afaf2SKees Cook tristate "Salsa20 stream cipher algorithm (x86_64)" 12049a7dafbbSTan Swee Heng depends on (X86 || UML_X86) && 64BIT 12059a7dafbbSTan Swee Heng select CRYPTO_BLKCIPHER 12069a7dafbbSTan Swee Heng help 12079a7dafbbSTan Swee Heng Salsa20 stream cipher algorithm. 12089a7dafbbSTan Swee Heng 12099a7dafbbSTan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 12109a7dafbbSTan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 12119a7dafbbSTan Swee Heng 12129a7dafbbSTan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 12139a7dafbbSTan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 12149a7dafbbSTan Swee Heng 1215c08d0e64SMartin Williconfig CRYPTO_CHACHA20 1216c08d0e64SMartin Willi tristate "ChaCha20 cipher algorithm" 1217c08d0e64SMartin Willi select CRYPTO_BLKCIPHER 1218c08d0e64SMartin Willi help 1219c08d0e64SMartin Willi ChaCha20 cipher algorithm, RFC7539. 1220c08d0e64SMartin Willi 1221c08d0e64SMartin Willi ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J. 1222c08d0e64SMartin Willi Bernstein and further specified in RFC7539 for use in IETF protocols. 1223c08d0e64SMartin Willi This is the portable C implementation of ChaCha20. 1224c08d0e64SMartin Willi 1225c08d0e64SMartin Willi See also: 1226c08d0e64SMartin Willi <http://cr.yp.to/chacha/chacha-20080128.pdf> 1227c08d0e64SMartin Willi 1228c9320b6dSMartin Williconfig CRYPTO_CHACHA20_X86_64 12293d1e93cdSMartin Willi tristate "ChaCha20 cipher algorithm (x86_64/SSSE3/AVX2)" 1230c9320b6dSMartin Willi depends on X86 && 64BIT 1231c9320b6dSMartin Willi select CRYPTO_BLKCIPHER 1232c9320b6dSMartin Willi select CRYPTO_CHACHA20 1233c9320b6dSMartin Willi help 1234c9320b6dSMartin Willi ChaCha20 cipher algorithm, RFC7539. 1235c9320b6dSMartin Willi 1236c9320b6dSMartin Willi ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J. 1237c9320b6dSMartin Willi Bernstein and further specified in RFC7539 for use in IETF protocols. 1238c9320b6dSMartin Willi This is the x86_64 assembler implementation using SIMD instructions. 1239c9320b6dSMartin Willi 1240c9320b6dSMartin Willi See also: 1241c9320b6dSMartin Willi <http://cr.yp.to/chacha/chacha-20080128.pdf> 1242c9320b6dSMartin Willi 1243584fffc8SSebastian Siewiorconfig CRYPTO_SEED 1244584fffc8SSebastian Siewior tristate "SEED cipher algorithm" 1245584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1246584fffc8SSebastian Siewior help 1247584fffc8SSebastian Siewior SEED cipher algorithm (RFC4269). 1248584fffc8SSebastian Siewior 1249584fffc8SSebastian Siewior SEED is a 128-bit symmetric key block cipher that has been 1250584fffc8SSebastian Siewior developed by KISA (Korea Information Security Agency) as a 1251584fffc8SSebastian Siewior national standard encryption algorithm of the Republic of Korea. 1252584fffc8SSebastian Siewior It is a 16 round block cipher with the key size of 128 bit. 1253584fffc8SSebastian Siewior 1254584fffc8SSebastian Siewior See also: 1255584fffc8SSebastian Siewior <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> 1256584fffc8SSebastian Siewior 1257584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT 1258584fffc8SSebastian Siewior tristate "Serpent cipher algorithm" 1259584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1260584fffc8SSebastian Siewior help 1261584fffc8SSebastian Siewior Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1262584fffc8SSebastian Siewior 1263584fffc8SSebastian Siewior Keys are allowed to be from 0 to 256 bits in length, in steps 1264584fffc8SSebastian Siewior of 8 bits. Also includes the 'Tnepres' algorithm, a reversed 1265584fffc8SSebastian Siewior variant of Serpent for compatibility with old kerneli.org code. 1266584fffc8SSebastian Siewior 1267584fffc8SSebastian Siewior See also: 1268584fffc8SSebastian Siewior <http://www.cl.cam.ac.uk/~rja14/serpent.html> 1269584fffc8SSebastian Siewior 1270937c30d7SJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_X86_64 1271937c30d7SJussi Kivilinna tristate "Serpent cipher algorithm (x86_64/SSE2)" 1272937c30d7SJussi Kivilinna depends on X86 && 64BIT 1273937c30d7SJussi Kivilinna select CRYPTO_ALGAPI 1274341975bfSJussi Kivilinna select CRYPTO_CRYPTD 1275801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1276596d8750SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1277937c30d7SJussi Kivilinna select CRYPTO_SERPENT 1278feaf0cfcSJussi Kivilinna select CRYPTO_LRW 1279feaf0cfcSJussi Kivilinna select CRYPTO_XTS 1280937c30d7SJussi Kivilinna help 1281937c30d7SJussi Kivilinna Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1282937c30d7SJussi Kivilinna 1283937c30d7SJussi Kivilinna Keys are allowed to be from 0 to 256 bits in length, in steps 1284937c30d7SJussi Kivilinna of 8 bits. 1285937c30d7SJussi Kivilinna 12861e6232f8SMasanari Iida This module provides Serpent cipher algorithm that processes eight 1287937c30d7SJussi Kivilinna blocks parallel using SSE2 instruction set. 1288937c30d7SJussi Kivilinna 1289937c30d7SJussi Kivilinna See also: 1290937c30d7SJussi Kivilinna <http://www.cl.cam.ac.uk/~rja14/serpent.html> 1291937c30d7SJussi Kivilinna 1292251496dbSJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_586 1293251496dbSJussi Kivilinna tristate "Serpent cipher algorithm (i586/SSE2)" 1294251496dbSJussi Kivilinna depends on X86 && !64BIT 1295251496dbSJussi Kivilinna select CRYPTO_ALGAPI 1296341975bfSJussi Kivilinna select CRYPTO_CRYPTD 1297801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1298596d8750SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1299251496dbSJussi Kivilinna select CRYPTO_SERPENT 1300feaf0cfcSJussi Kivilinna select CRYPTO_LRW 1301feaf0cfcSJussi Kivilinna select CRYPTO_XTS 1302251496dbSJussi Kivilinna help 1303251496dbSJussi Kivilinna Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1304251496dbSJussi Kivilinna 1305251496dbSJussi Kivilinna Keys are allowed to be from 0 to 256 bits in length, in steps 1306251496dbSJussi Kivilinna of 8 bits. 1307251496dbSJussi Kivilinna 1308251496dbSJussi Kivilinna This module provides Serpent cipher algorithm that processes four 1309251496dbSJussi Kivilinna blocks parallel using SSE2 instruction set. 1310251496dbSJussi Kivilinna 1311251496dbSJussi Kivilinna See also: 1312251496dbSJussi Kivilinna <http://www.cl.cam.ac.uk/~rja14/serpent.html> 1313251496dbSJussi Kivilinna 13147efe4076SJohannes Goetzfriedconfig CRYPTO_SERPENT_AVX_X86_64 13157efe4076SJohannes Goetzfried tristate "Serpent cipher algorithm (x86_64/AVX)" 13167efe4076SJohannes Goetzfried depends on X86 && 64BIT 13177efe4076SJohannes Goetzfried select CRYPTO_ALGAPI 13187efe4076SJohannes Goetzfried select CRYPTO_CRYPTD 1319801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 13201d0debbdSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 13217efe4076SJohannes Goetzfried select CRYPTO_SERPENT 13227efe4076SJohannes Goetzfried select CRYPTO_LRW 13237efe4076SJohannes Goetzfried select CRYPTO_XTS 13247efe4076SJohannes Goetzfried help 13257efe4076SJohannes Goetzfried Serpent cipher algorithm, by Anderson, Biham & Knudsen. 13267efe4076SJohannes Goetzfried 13277efe4076SJohannes Goetzfried Keys are allowed to be from 0 to 256 bits in length, in steps 13287efe4076SJohannes Goetzfried of 8 bits. 13297efe4076SJohannes Goetzfried 13307efe4076SJohannes Goetzfried This module provides the Serpent cipher algorithm that processes 13317efe4076SJohannes Goetzfried eight blocks parallel using the AVX instruction set. 13327efe4076SJohannes Goetzfried 13337efe4076SJohannes Goetzfried See also: 13347efe4076SJohannes Goetzfried <http://www.cl.cam.ac.uk/~rja14/serpent.html> 13357efe4076SJohannes Goetzfried 133656d76c96SJussi Kivilinnaconfig CRYPTO_SERPENT_AVX2_X86_64 133756d76c96SJussi Kivilinna tristate "Serpent cipher algorithm (x86_64/AVX2)" 133856d76c96SJussi Kivilinna depends on X86 && 64BIT 133956d76c96SJussi Kivilinna select CRYPTO_ALGAPI 134056d76c96SJussi Kivilinna select CRYPTO_CRYPTD 1341801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 134256d76c96SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 134356d76c96SJussi Kivilinna select CRYPTO_SERPENT 134456d76c96SJussi Kivilinna select CRYPTO_SERPENT_AVX_X86_64 134556d76c96SJussi Kivilinna select CRYPTO_LRW 134656d76c96SJussi Kivilinna select CRYPTO_XTS 134756d76c96SJussi Kivilinna help 134856d76c96SJussi Kivilinna Serpent cipher algorithm, by Anderson, Biham & Knudsen. 134956d76c96SJussi Kivilinna 135056d76c96SJussi Kivilinna Keys are allowed to be from 0 to 256 bits in length, in steps 135156d76c96SJussi Kivilinna of 8 bits. 135256d76c96SJussi Kivilinna 135356d76c96SJussi Kivilinna This module provides Serpent cipher algorithm that processes 16 135456d76c96SJussi Kivilinna blocks parallel using AVX2 instruction set. 135556d76c96SJussi Kivilinna 135656d76c96SJussi Kivilinna See also: 135756d76c96SJussi Kivilinna <http://www.cl.cam.ac.uk/~rja14/serpent.html> 135856d76c96SJussi Kivilinna 1359584fffc8SSebastian Siewiorconfig CRYPTO_TEA 1360584fffc8SSebastian Siewior tristate "TEA, XTEA and XETA cipher algorithms" 1361584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1362584fffc8SSebastian Siewior help 1363584fffc8SSebastian Siewior TEA cipher algorithm. 1364584fffc8SSebastian Siewior 1365584fffc8SSebastian Siewior Tiny Encryption Algorithm is a simple cipher that uses 1366584fffc8SSebastian Siewior many rounds for security. It is very fast and uses 1367584fffc8SSebastian Siewior little memory. 1368584fffc8SSebastian Siewior 1369584fffc8SSebastian Siewior Xtendend Tiny Encryption Algorithm is a modification to 1370584fffc8SSebastian Siewior the TEA algorithm to address a potential key weakness 1371584fffc8SSebastian Siewior in the TEA algorithm. 1372584fffc8SSebastian Siewior 1373584fffc8SSebastian Siewior Xtendend Encryption Tiny Algorithm is a mis-implementation 1374584fffc8SSebastian Siewior of the XTEA algorithm for compatibility purposes. 1375584fffc8SSebastian Siewior 1376584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH 1377584fffc8SSebastian Siewior tristate "Twofish cipher algorithm" 1378584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1379584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 1380584fffc8SSebastian Siewior help 1381584fffc8SSebastian Siewior Twofish cipher algorithm. 1382584fffc8SSebastian Siewior 1383584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 1384584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 1385584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 1386584fffc8SSebastian Siewior bits. 1387584fffc8SSebastian Siewior 1388584fffc8SSebastian Siewior See also: 1389584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 1390584fffc8SSebastian Siewior 1391584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON 1392584fffc8SSebastian Siewior tristate 1393584fffc8SSebastian Siewior help 1394584fffc8SSebastian Siewior Common parts of the Twofish cipher algorithm shared by the 1395584fffc8SSebastian Siewior generic c and the assembler implementations. 1396584fffc8SSebastian Siewior 1397584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586 1398584fffc8SSebastian Siewior tristate "Twofish cipher algorithms (i586)" 1399584fffc8SSebastian Siewior depends on (X86 || UML_X86) && !64BIT 1400584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1401584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 1402584fffc8SSebastian Siewior help 1403584fffc8SSebastian Siewior Twofish cipher algorithm. 1404584fffc8SSebastian Siewior 1405584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 1406584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 1407584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 1408584fffc8SSebastian Siewior bits. 1409584fffc8SSebastian Siewior 1410584fffc8SSebastian Siewior See also: 1411584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 1412584fffc8SSebastian Siewior 1413584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64 1414584fffc8SSebastian Siewior tristate "Twofish cipher algorithm (x86_64)" 1415584fffc8SSebastian Siewior depends on (X86 || UML_X86) && 64BIT 1416584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1417584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 1418584fffc8SSebastian Siewior help 1419584fffc8SSebastian Siewior Twofish cipher algorithm (x86_64). 1420584fffc8SSebastian Siewior 1421584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 1422584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 1423584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 1424584fffc8SSebastian Siewior bits. 1425584fffc8SSebastian Siewior 1426584fffc8SSebastian Siewior See also: 1427584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 1428584fffc8SSebastian Siewior 14298280daadSJussi Kivilinnaconfig CRYPTO_TWOFISH_X86_64_3WAY 14308280daadSJussi Kivilinna tristate "Twofish cipher algorithm (x86_64, 3-way parallel)" 1431f21a7c19SAl Viro depends on X86 && 64BIT 14328280daadSJussi Kivilinna select CRYPTO_ALGAPI 14338280daadSJussi Kivilinna select CRYPTO_TWOFISH_COMMON 14348280daadSJussi Kivilinna select CRYPTO_TWOFISH_X86_64 1435414cb5e7SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1436e7cda5d2SJussi Kivilinna select CRYPTO_LRW 1437e7cda5d2SJussi Kivilinna select CRYPTO_XTS 14388280daadSJussi Kivilinna help 14398280daadSJussi Kivilinna Twofish cipher algorithm (x86_64, 3-way parallel). 14408280daadSJussi Kivilinna 14418280daadSJussi Kivilinna Twofish was submitted as an AES (Advanced Encryption Standard) 14428280daadSJussi Kivilinna candidate cipher by researchers at CounterPane Systems. It is a 14438280daadSJussi Kivilinna 16 round block cipher supporting key sizes of 128, 192, and 256 14448280daadSJussi Kivilinna bits. 14458280daadSJussi Kivilinna 14468280daadSJussi Kivilinna This module provides Twofish cipher algorithm that processes three 14478280daadSJussi Kivilinna blocks parallel, utilizing resources of out-of-order CPUs better. 14488280daadSJussi Kivilinna 14498280daadSJussi Kivilinna See also: 14508280daadSJussi Kivilinna <http://www.schneier.com/twofish.html> 14518280daadSJussi Kivilinna 1452107778b5SJohannes Goetzfriedconfig CRYPTO_TWOFISH_AVX_X86_64 1453107778b5SJohannes Goetzfried tristate "Twofish cipher algorithm (x86_64/AVX)" 1454107778b5SJohannes Goetzfried depends on X86 && 64BIT 1455107778b5SJohannes Goetzfried select CRYPTO_ALGAPI 1456107778b5SJohannes Goetzfried select CRYPTO_CRYPTD 1457801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1458a7378d4eSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1459107778b5SJohannes Goetzfried select CRYPTO_TWOFISH_COMMON 1460107778b5SJohannes Goetzfried select CRYPTO_TWOFISH_X86_64 1461107778b5SJohannes Goetzfried select CRYPTO_TWOFISH_X86_64_3WAY 1462107778b5SJohannes Goetzfried select CRYPTO_LRW 1463107778b5SJohannes Goetzfried select CRYPTO_XTS 1464107778b5SJohannes Goetzfried help 1465107778b5SJohannes Goetzfried Twofish cipher algorithm (x86_64/AVX). 1466107778b5SJohannes Goetzfried 1467107778b5SJohannes Goetzfried Twofish was submitted as an AES (Advanced Encryption Standard) 1468107778b5SJohannes Goetzfried candidate cipher by researchers at CounterPane Systems. It is a 1469107778b5SJohannes Goetzfried 16 round block cipher supporting key sizes of 128, 192, and 256 1470107778b5SJohannes Goetzfried bits. 1471107778b5SJohannes Goetzfried 1472107778b5SJohannes Goetzfried This module provides the Twofish cipher algorithm that processes 1473107778b5SJohannes Goetzfried eight blocks parallel using the AVX Instruction Set. 1474107778b5SJohannes Goetzfried 1475107778b5SJohannes Goetzfried See also: 1476107778b5SJohannes Goetzfried <http://www.schneier.com/twofish.html> 1477107778b5SJohannes Goetzfried 1478584fffc8SSebastian Siewiorcomment "Compression" 1479584fffc8SSebastian Siewior 14801da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE 14811da177e4SLinus Torvalds tristate "Deflate compression algorithm" 1482cce9e06dSHerbert Xu select CRYPTO_ALGAPI 14831da177e4SLinus Torvalds select ZLIB_INFLATE 14841da177e4SLinus Torvalds select ZLIB_DEFLATE 14851da177e4SLinus Torvalds help 14861da177e4SLinus Torvalds This is the Deflate algorithm (RFC1951), specified for use in 14871da177e4SLinus Torvalds IPSec with the IPCOMP protocol (RFC3173, RFC2394). 14881da177e4SLinus Torvalds 14891da177e4SLinus Torvalds You will most probably want this if using IPSec. 14901da177e4SLinus Torvalds 1491bf68e65eSGeert Uytterhoevenconfig CRYPTO_ZLIB 1492bf68e65eSGeert Uytterhoeven tristate "Zlib compression algorithm" 1493bf68e65eSGeert Uytterhoeven select CRYPTO_PCOMP 1494bf68e65eSGeert Uytterhoeven select ZLIB_INFLATE 1495bf68e65eSGeert Uytterhoeven select ZLIB_DEFLATE 1496bf68e65eSGeert Uytterhoeven select NLATTR 1497bf68e65eSGeert Uytterhoeven help 1498bf68e65eSGeert Uytterhoeven This is the zlib algorithm. 1499bf68e65eSGeert Uytterhoeven 15000b77abb3SZoltan Sogorconfig CRYPTO_LZO 15010b77abb3SZoltan Sogor tristate "LZO compression algorithm" 15020b77abb3SZoltan Sogor select CRYPTO_ALGAPI 15030b77abb3SZoltan Sogor select LZO_COMPRESS 15040b77abb3SZoltan Sogor select LZO_DECOMPRESS 15050b77abb3SZoltan Sogor help 15060b77abb3SZoltan Sogor This is the LZO algorithm. 15070b77abb3SZoltan Sogor 150835a1fc18SSeth Jenningsconfig CRYPTO_842 150935a1fc18SSeth Jennings tristate "842 compression algorithm" 15102062c5b6SDan Streetman select CRYPTO_ALGAPI 15112062c5b6SDan Streetman select 842_COMPRESS 15122062c5b6SDan Streetman select 842_DECOMPRESS 151335a1fc18SSeth Jennings help 151435a1fc18SSeth Jennings This is the 842 algorithm. 151535a1fc18SSeth Jennings 15160ea8530dSChanho Minconfig CRYPTO_LZ4 15170ea8530dSChanho Min tristate "LZ4 compression algorithm" 15180ea8530dSChanho Min select CRYPTO_ALGAPI 15190ea8530dSChanho Min select LZ4_COMPRESS 15200ea8530dSChanho Min select LZ4_DECOMPRESS 15210ea8530dSChanho Min help 15220ea8530dSChanho Min This is the LZ4 algorithm. 15230ea8530dSChanho Min 15240ea8530dSChanho Minconfig CRYPTO_LZ4HC 15250ea8530dSChanho Min tristate "LZ4HC compression algorithm" 15260ea8530dSChanho Min select CRYPTO_ALGAPI 15270ea8530dSChanho Min select LZ4HC_COMPRESS 15280ea8530dSChanho Min select LZ4_DECOMPRESS 15290ea8530dSChanho Min help 15300ea8530dSChanho Min This is the LZ4 high compression mode algorithm. 15310ea8530dSChanho Min 153217f0f4a4SNeil Hormancomment "Random Number Generation" 153317f0f4a4SNeil Horman 153417f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG 153517f0f4a4SNeil Horman tristate "Pseudo Random Number Generation for Cryptographic modules" 153617f0f4a4SNeil Horman select CRYPTO_AES 153717f0f4a4SNeil Horman select CRYPTO_RNG 153817f0f4a4SNeil Horman help 153917f0f4a4SNeil Horman This option enables the generic pseudo random number generator 154017f0f4a4SNeil Horman for cryptographic modules. Uses the Algorithm specified in 15417dd607e8SJiri Kosina ANSI X9.31 A.2.4. Note that this option must be enabled if 15427dd607e8SJiri Kosina CRYPTO_FIPS is selected 154317f0f4a4SNeil Horman 1544f2c89a10SHerbert Xumenuconfig CRYPTO_DRBG_MENU 1545419090c6SStephan Mueller tristate "NIST SP800-90A DRBG" 1546419090c6SStephan Mueller help 1547419090c6SStephan Mueller NIST SP800-90A compliant DRBG. In the following submenu, one or 1548419090c6SStephan Mueller more of the DRBG types must be selected. 1549419090c6SStephan Mueller 1550f2c89a10SHerbert Xuif CRYPTO_DRBG_MENU 1551419090c6SStephan Mueller 1552419090c6SStephan Muellerconfig CRYPTO_DRBG_HMAC 1553401e4238SHerbert Xu bool 1554419090c6SStephan Mueller default y 1555419090c6SStephan Mueller select CRYPTO_HMAC 1556826775bbSHerbert Xu select CRYPTO_SHA256 1557419090c6SStephan Mueller 1558419090c6SStephan Muellerconfig CRYPTO_DRBG_HASH 1559419090c6SStephan Mueller bool "Enable Hash DRBG" 1560826775bbSHerbert Xu select CRYPTO_SHA256 1561419090c6SStephan Mueller help 1562419090c6SStephan Mueller Enable the Hash DRBG variant as defined in NIST SP800-90A. 1563419090c6SStephan Mueller 1564419090c6SStephan Muellerconfig CRYPTO_DRBG_CTR 1565419090c6SStephan Mueller bool "Enable CTR DRBG" 1566419090c6SStephan Mueller select CRYPTO_AES 1567419090c6SStephan Mueller help 1568419090c6SStephan Mueller Enable the CTR DRBG variant as defined in NIST SP800-90A. 1569419090c6SStephan Mueller 1570f2c89a10SHerbert Xuconfig CRYPTO_DRBG 1571f2c89a10SHerbert Xu tristate 1572401e4238SHerbert Xu default CRYPTO_DRBG_MENU 1573f2c89a10SHerbert Xu select CRYPTO_RNG 1574bb5530e4SStephan Mueller select CRYPTO_JITTERENTROPY 1575f2c89a10SHerbert Xu 1576f2c89a10SHerbert Xuendif # if CRYPTO_DRBG_MENU 1577419090c6SStephan Mueller 1578bb5530e4SStephan Muellerconfig CRYPTO_JITTERENTROPY 1579bb5530e4SStephan Mueller tristate "Jitterentropy Non-Deterministic Random Number Generator" 1580bb5530e4SStephan Mueller help 1581bb5530e4SStephan Mueller The Jitterentropy RNG is a noise that is intended 1582bb5530e4SStephan Mueller to provide seed to another RNG. The RNG does not 1583bb5530e4SStephan Mueller perform any cryptographic whitening of the generated 1584bb5530e4SStephan Mueller random numbers. This Jitterentropy RNG registers with 1585bb5530e4SStephan Mueller the kernel crypto API and can be used by any caller. 1586bb5530e4SStephan Mueller 158703c8efc1SHerbert Xuconfig CRYPTO_USER_API 158803c8efc1SHerbert Xu tristate 158903c8efc1SHerbert Xu 1590fe869cdbSHerbert Xuconfig CRYPTO_USER_API_HASH 1591fe869cdbSHerbert Xu tristate "User-space interface for hash algorithms" 15927451708fSHerbert Xu depends on NET 1593fe869cdbSHerbert Xu select CRYPTO_HASH 1594fe869cdbSHerbert Xu select CRYPTO_USER_API 1595fe869cdbSHerbert Xu help 1596fe869cdbSHerbert Xu This option enables the user-spaces interface for hash 1597fe869cdbSHerbert Xu algorithms. 1598fe869cdbSHerbert Xu 15998ff59090SHerbert Xuconfig CRYPTO_USER_API_SKCIPHER 16008ff59090SHerbert Xu tristate "User-space interface for symmetric key cipher algorithms" 16017451708fSHerbert Xu depends on NET 16028ff59090SHerbert Xu select CRYPTO_BLKCIPHER 16038ff59090SHerbert Xu select CRYPTO_USER_API 16048ff59090SHerbert Xu help 16058ff59090SHerbert Xu This option enables the user-spaces interface for symmetric 16068ff59090SHerbert Xu key cipher algorithms. 16078ff59090SHerbert Xu 16082f375538SStephan Muellerconfig CRYPTO_USER_API_RNG 16092f375538SStephan Mueller tristate "User-space interface for random number generator algorithms" 16102f375538SStephan Mueller depends on NET 16112f375538SStephan Mueller select CRYPTO_RNG 16122f375538SStephan Mueller select CRYPTO_USER_API 16132f375538SStephan Mueller help 16142f375538SStephan Mueller This option enables the user-spaces interface for random 16152f375538SStephan Mueller number generator algorithms. 16162f375538SStephan Mueller 1617b64a2d95SHerbert Xuconfig CRYPTO_USER_API_AEAD 1618b64a2d95SHerbert Xu tristate "User-space interface for AEAD cipher algorithms" 1619b64a2d95SHerbert Xu depends on NET 1620b64a2d95SHerbert Xu select CRYPTO_AEAD 1621b64a2d95SHerbert Xu select CRYPTO_USER_API 1622b64a2d95SHerbert Xu help 1623b64a2d95SHerbert Xu This option enables the user-spaces interface for AEAD 1624b64a2d95SHerbert Xu cipher algorithms. 1625b64a2d95SHerbert Xu 1626ee08997fSDmitry Kasatkinconfig CRYPTO_HASH_INFO 1627ee08997fSDmitry Kasatkin bool 1628ee08997fSDmitry Kasatkin 16291da177e4SLinus Torvaldssource "drivers/crypto/Kconfig" 1630964f3b3bSDavid Howellssource crypto/asymmetric_keys/Kconfig 16311da177e4SLinus Torvalds 1632cce9e06dSHerbert Xuendif # if CRYPTO 1633