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 81a1d2f095SGeert Uytterhoevenconfig CRYPTO_PCOMP 82a1d2f095SGeert Uytterhoeven tristate 83bc94e596SHerbert Xu select CRYPTO_PCOMP2 84bc94e596SHerbert Xu select CRYPTO_ALGAPI 85bc94e596SHerbert Xu 86bc94e596SHerbert Xuconfig CRYPTO_PCOMP2 87bc94e596SHerbert Xu tristate 88a1d2f095SGeert Uytterhoeven select CRYPTO_ALGAPI2 89a1d2f095SGeert Uytterhoeven 902b8c19dbSHerbert Xuconfig CRYPTO_MANAGER 912b8c19dbSHerbert Xu tristate "Cryptographic algorithm manager" 926a0fcbb4SHerbert Xu select CRYPTO_MANAGER2 932b8c19dbSHerbert Xu help 942b8c19dbSHerbert Xu Create default cryptographic template instantiations such as 952b8c19dbSHerbert Xu cbc(aes). 962b8c19dbSHerbert Xu 976a0fcbb4SHerbert Xuconfig CRYPTO_MANAGER2 986a0fcbb4SHerbert Xu def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) 996a0fcbb4SHerbert Xu select CRYPTO_AEAD2 1006a0fcbb4SHerbert Xu select CRYPTO_HASH2 1016a0fcbb4SHerbert Xu select CRYPTO_BLKCIPHER2 102bc94e596SHerbert Xu select CRYPTO_PCOMP2 1036a0fcbb4SHerbert Xu 104a38f7907SSteffen Klassertconfig CRYPTO_USER 105a38f7907SSteffen Klassert tristate "Userspace cryptographic algorithm configuration" 1065db017aaSHerbert Xu depends on NET 107a38f7907SSteffen Klassert select CRYPTO_MANAGER 108a38f7907SSteffen Klassert help 109d19978f5SValdis.Kletnieks@vt.edu Userspace configuration for cryptographic instantiations such as 110a38f7907SSteffen Klassert cbc(aes). 111a38f7907SSteffen Klassert 112326a6346SHerbert Xuconfig CRYPTO_MANAGER_DISABLE_TESTS 113326a6346SHerbert Xu bool "Disable run-time self tests" 11400ca28a5SHerbert Xu default y 11500ca28a5SHerbert Xu depends on CRYPTO_MANAGER2 1160b767f96SAlexander Shishkin help 117326a6346SHerbert Xu Disable run-time self tests that normally take place at 118326a6346SHerbert Xu algorithm registration. 1190b767f96SAlexander Shishkin 120584fffc8SSebastian Siewiorconfig CRYPTO_GF128MUL 12108c70fc3SJussi Kivilinna tristate "GF(2^128) multiplication functions" 122584fffc8SSebastian Siewior help 123584fffc8SSebastian Siewior Efficient table driven implementation of multiplications in the 124584fffc8SSebastian Siewior field GF(2^128). This is needed by some cypher modes. This 125584fffc8SSebastian Siewior option will be selected automatically if you select such a 126584fffc8SSebastian Siewior cipher mode. Only select this option by hand if you expect to load 127584fffc8SSebastian Siewior an external module that requires these functions. 128584fffc8SSebastian Siewior 129584fffc8SSebastian Siewiorconfig CRYPTO_NULL 130584fffc8SSebastian Siewior tristate "Null algorithms" 131584fffc8SSebastian Siewior select CRYPTO_ALGAPI 132584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 133d35d2454SHerbert Xu select CRYPTO_HASH 134584fffc8SSebastian Siewior help 135584fffc8SSebastian Siewior These are 'Null' algorithms, used by IPsec, which do nothing. 136584fffc8SSebastian Siewior 1375068c7a8SSteffen Klassertconfig CRYPTO_PCRYPT 1383b4afaf2SKees Cook tristate "Parallel crypto engine" 1393b4afaf2SKees Cook depends on SMP 1405068c7a8SSteffen Klassert select PADATA 1415068c7a8SSteffen Klassert select CRYPTO_MANAGER 1425068c7a8SSteffen Klassert select CRYPTO_AEAD 1435068c7a8SSteffen Klassert help 1445068c7a8SSteffen Klassert This converts an arbitrary crypto algorithm into a parallel 1455068c7a8SSteffen Klassert algorithm that executes in kernel threads. 1465068c7a8SSteffen Klassert 14725c38d3fSHuang Yingconfig CRYPTO_WORKQUEUE 14825c38d3fSHuang Ying tristate 14925c38d3fSHuang Ying 150584fffc8SSebastian Siewiorconfig CRYPTO_CRYPTD 151584fffc8SSebastian Siewior tristate "Software async crypto daemon" 152584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 153b8a28251SLoc Ho select CRYPTO_HASH 154584fffc8SSebastian Siewior select CRYPTO_MANAGER 155254eff77SHuang Ying select CRYPTO_WORKQUEUE 156584fffc8SSebastian Siewior help 157584fffc8SSebastian Siewior This is a generic software asynchronous crypto daemon that 158584fffc8SSebastian Siewior converts an arbitrary synchronous software crypto algorithm 159584fffc8SSebastian Siewior into an asynchronous algorithm that executes in a kernel thread. 160584fffc8SSebastian Siewior 1611e65b81aSTim Chenconfig CRYPTO_MCRYPTD 1621e65b81aSTim Chen tristate "Software async multi-buffer crypto daemon" 1631e65b81aSTim Chen select CRYPTO_BLKCIPHER 1641e65b81aSTim Chen select CRYPTO_HASH 1651e65b81aSTim Chen select CRYPTO_MANAGER 1661e65b81aSTim Chen select CRYPTO_WORKQUEUE 1671e65b81aSTim Chen help 1681e65b81aSTim Chen This is a generic software asynchronous crypto daemon that 1691e65b81aSTim Chen provides the kernel thread to assist multi-buffer crypto 1701e65b81aSTim Chen algorithms for submitting jobs and flushing jobs in multi-buffer 1711e65b81aSTim Chen crypto algorithms. Multi-buffer crypto algorithms are executed 1721e65b81aSTim Chen in the context of this kernel thread and drivers can post 1730e56673bSTed Percival their crypto request asynchronously to be processed by this daemon. 1741e65b81aSTim Chen 175584fffc8SSebastian Siewiorconfig CRYPTO_AUTHENC 176584fffc8SSebastian Siewior tristate "Authenc support" 177584fffc8SSebastian Siewior select CRYPTO_AEAD 178584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 179584fffc8SSebastian Siewior select CRYPTO_MANAGER 180584fffc8SSebastian Siewior select CRYPTO_HASH 181584fffc8SSebastian Siewior help 182584fffc8SSebastian Siewior Authenc: Combined mode wrapper for IPsec. 183584fffc8SSebastian Siewior This is required for IPSec. 184584fffc8SSebastian Siewior 185584fffc8SSebastian Siewiorconfig CRYPTO_TEST 186584fffc8SSebastian Siewior tristate "Testing module" 187584fffc8SSebastian Siewior depends on m 188da7f033dSHerbert Xu select CRYPTO_MANAGER 189584fffc8SSebastian Siewior help 190584fffc8SSebastian Siewior Quick & dirty crypto test module. 191584fffc8SSebastian Siewior 192a62b01cdSArd Biesheuvelconfig CRYPTO_ABLK_HELPER 193ffaf9156SJussi Kivilinna tristate 194ffaf9156SJussi Kivilinna select CRYPTO_CRYPTD 195ffaf9156SJussi Kivilinna 196596d8750SJussi Kivilinnaconfig CRYPTO_GLUE_HELPER_X86 197596d8750SJussi Kivilinna tristate 198596d8750SJussi Kivilinna depends on X86 199596d8750SJussi Kivilinna select CRYPTO_ALGAPI 200596d8750SJussi Kivilinna 201584fffc8SSebastian Siewiorcomment "Authenticated Encryption with Associated Data" 202584fffc8SSebastian Siewior 203584fffc8SSebastian Siewiorconfig CRYPTO_CCM 204584fffc8SSebastian Siewior tristate "CCM support" 205584fffc8SSebastian Siewior select CRYPTO_CTR 206584fffc8SSebastian Siewior select CRYPTO_AEAD 207584fffc8SSebastian Siewior help 208584fffc8SSebastian Siewior Support for Counter with CBC MAC. Required for IPsec. 209584fffc8SSebastian Siewior 210584fffc8SSebastian Siewiorconfig CRYPTO_GCM 211584fffc8SSebastian Siewior tristate "GCM/GMAC support" 212584fffc8SSebastian Siewior select CRYPTO_CTR 213584fffc8SSebastian Siewior select CRYPTO_AEAD 2149382d97aSHuang Ying select CRYPTO_GHASH 2159489667dSJussi Kivilinna select CRYPTO_NULL 216584fffc8SSebastian Siewior help 217584fffc8SSebastian Siewior Support for Galois/Counter Mode (GCM) and Galois Message 218584fffc8SSebastian Siewior Authentication Code (GMAC). Required for IPSec. 219584fffc8SSebastian Siewior 220584fffc8SSebastian Siewiorconfig CRYPTO_SEQIV 221584fffc8SSebastian Siewior tristate "Sequence Number IV Generator" 222584fffc8SSebastian Siewior select CRYPTO_AEAD 223584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 224a0f000ecSHerbert Xu select CRYPTO_RNG 225584fffc8SSebastian Siewior help 226584fffc8SSebastian Siewior This IV generator generates an IV based on a sequence number by 227584fffc8SSebastian Siewior xoring it with a salt. This algorithm is mainly useful for CTR 228584fffc8SSebastian Siewior 229584fffc8SSebastian Siewiorcomment "Block modes" 230584fffc8SSebastian Siewior 231584fffc8SSebastian Siewiorconfig CRYPTO_CBC 232584fffc8SSebastian Siewior tristate "CBC support" 233584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 234584fffc8SSebastian Siewior select CRYPTO_MANAGER 235584fffc8SSebastian Siewior help 236584fffc8SSebastian Siewior CBC: Cipher Block Chaining mode 237584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 238584fffc8SSebastian Siewior 239584fffc8SSebastian Siewiorconfig CRYPTO_CTR 240584fffc8SSebastian Siewior tristate "CTR support" 241584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 242584fffc8SSebastian Siewior select CRYPTO_SEQIV 243584fffc8SSebastian Siewior select CRYPTO_MANAGER 244584fffc8SSebastian Siewior help 245584fffc8SSebastian Siewior CTR: Counter mode 246584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 247584fffc8SSebastian Siewior 248584fffc8SSebastian Siewiorconfig CRYPTO_CTS 249584fffc8SSebastian Siewior tristate "CTS support" 250584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 251584fffc8SSebastian Siewior help 252584fffc8SSebastian Siewior CTS: Cipher Text Stealing 253584fffc8SSebastian Siewior This is the Cipher Text Stealing mode as described by 254584fffc8SSebastian Siewior Section 8 of rfc2040 and referenced by rfc3962. 255584fffc8SSebastian Siewior (rfc3962 includes errata information in its Appendix A) 256584fffc8SSebastian Siewior This mode is required for Kerberos gss mechanism support 257584fffc8SSebastian Siewior for AES encryption. 258584fffc8SSebastian Siewior 259584fffc8SSebastian Siewiorconfig CRYPTO_ECB 260584fffc8SSebastian Siewior tristate "ECB support" 261584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 262584fffc8SSebastian Siewior select CRYPTO_MANAGER 263584fffc8SSebastian Siewior help 264584fffc8SSebastian Siewior ECB: Electronic CodeBook mode 265584fffc8SSebastian Siewior This is the simplest block cipher algorithm. It simply encrypts 266584fffc8SSebastian Siewior the input block by block. 267584fffc8SSebastian Siewior 268584fffc8SSebastian Siewiorconfig CRYPTO_LRW 2692470a2b2SJussi Kivilinna tristate "LRW support" 270584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 271584fffc8SSebastian Siewior select CRYPTO_MANAGER 272584fffc8SSebastian Siewior select CRYPTO_GF128MUL 273584fffc8SSebastian Siewior help 274584fffc8SSebastian Siewior LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable 275584fffc8SSebastian Siewior narrow block cipher mode for dm-crypt. Use it with cipher 276584fffc8SSebastian Siewior specification string aes-lrw-benbi, the key must be 256, 320 or 384. 277584fffc8SSebastian Siewior The first 128, 192 or 256 bits in the key are used for AES and the 278584fffc8SSebastian Siewior rest is used to tie each cipher block to its logical position. 279584fffc8SSebastian Siewior 280584fffc8SSebastian Siewiorconfig CRYPTO_PCBC 281584fffc8SSebastian Siewior tristate "PCBC support" 282584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 283584fffc8SSebastian Siewior select CRYPTO_MANAGER 284584fffc8SSebastian Siewior help 285584fffc8SSebastian Siewior PCBC: Propagating Cipher Block Chaining mode 286584fffc8SSebastian Siewior This block cipher algorithm is required for RxRPC. 287584fffc8SSebastian Siewior 288584fffc8SSebastian Siewiorconfig CRYPTO_XTS 2895bcf8e6dSJussi Kivilinna tristate "XTS support" 290584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 291584fffc8SSebastian Siewior select CRYPTO_MANAGER 292584fffc8SSebastian Siewior select CRYPTO_GF128MUL 293584fffc8SSebastian Siewior help 294584fffc8SSebastian Siewior XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, 295584fffc8SSebastian Siewior key size 256, 384 or 512 bits. This implementation currently 296584fffc8SSebastian Siewior can't handle a sectorsize which is not a multiple of 16 bytes. 297584fffc8SSebastian Siewior 298584fffc8SSebastian Siewiorcomment "Hash modes" 299584fffc8SSebastian Siewior 30093b5e86aSJussi Kivilinnaconfig CRYPTO_CMAC 30193b5e86aSJussi Kivilinna tristate "CMAC support" 30293b5e86aSJussi Kivilinna select CRYPTO_HASH 30393b5e86aSJussi Kivilinna select CRYPTO_MANAGER 30493b5e86aSJussi Kivilinna help 30593b5e86aSJussi Kivilinna Cipher-based Message Authentication Code (CMAC) specified by 30693b5e86aSJussi Kivilinna The National Institute of Standards and Technology (NIST). 30793b5e86aSJussi Kivilinna 30893b5e86aSJussi Kivilinna https://tools.ietf.org/html/rfc4493 30993b5e86aSJussi Kivilinna http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf 31093b5e86aSJussi Kivilinna 3111da177e4SLinus Torvaldsconfig CRYPTO_HMAC 3128425165dSHerbert Xu tristate "HMAC support" 3130796ae06SHerbert Xu select CRYPTO_HASH 31443518407SHerbert Xu select CRYPTO_MANAGER 3151da177e4SLinus Torvalds help 3161da177e4SLinus Torvalds HMAC: Keyed-Hashing for Message Authentication (RFC2104). 3171da177e4SLinus Torvalds This is required for IPSec. 3181da177e4SLinus Torvalds 319333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC 320333b0d7eSKazunori MIYAZAWA tristate "XCBC support" 321333b0d7eSKazunori MIYAZAWA select CRYPTO_HASH 322333b0d7eSKazunori MIYAZAWA select CRYPTO_MANAGER 323333b0d7eSKazunori MIYAZAWA help 324333b0d7eSKazunori MIYAZAWA XCBC: Keyed-Hashing with encryption algorithm 325333b0d7eSKazunori MIYAZAWA http://www.ietf.org/rfc/rfc3566.txt 326333b0d7eSKazunori MIYAZAWA http://csrc.nist.gov/encryption/modes/proposedmodes/ 327333b0d7eSKazunori MIYAZAWA xcbc-mac/xcbc-mac-spec.pdf 328333b0d7eSKazunori MIYAZAWA 329f1939f7cSShane Wangconfig CRYPTO_VMAC 330f1939f7cSShane Wang tristate "VMAC support" 331f1939f7cSShane Wang select CRYPTO_HASH 332f1939f7cSShane Wang select CRYPTO_MANAGER 333f1939f7cSShane Wang help 334f1939f7cSShane Wang VMAC is a message authentication algorithm designed for 335f1939f7cSShane Wang very high speed on 64-bit architectures. 336f1939f7cSShane Wang 337f1939f7cSShane Wang See also: 338f1939f7cSShane Wang <http://fastcrypto.org/vmac> 339f1939f7cSShane Wang 340584fffc8SSebastian Siewiorcomment "Digest" 341584fffc8SSebastian Siewior 342584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C 343584fffc8SSebastian Siewior tristate "CRC32c CRC algorithm" 3445773a3e6SHerbert Xu select CRYPTO_HASH 3456a0962b2SDarrick J. Wong select CRC32 3461da177e4SLinus Torvalds help 347584fffc8SSebastian Siewior Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used 348584fffc8SSebastian Siewior by iSCSI for header and data digests and by others. 34969c35efcSHerbert Xu See Castagnoli93. Module will be crc32c. 3501da177e4SLinus Torvalds 3518cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL 3528cb51ba8SAustin Zhang tristate "CRC32c INTEL hardware acceleration" 3538cb51ba8SAustin Zhang depends on X86 3548cb51ba8SAustin Zhang select CRYPTO_HASH 3558cb51ba8SAustin Zhang help 3568cb51ba8SAustin Zhang In Intel processor with SSE4.2 supported, the processor will 3578cb51ba8SAustin Zhang support CRC32C implementation using hardware accelerated CRC32 3588cb51ba8SAustin Zhang instruction. This option will create 'crc32c-intel' module, 3598cb51ba8SAustin Zhang which will enable any routine to use the CRC32 instruction to 3608cb51ba8SAustin Zhang gain performance compared with software implementation. 3618cb51ba8SAustin Zhang Module will be crc32c-intel. 3628cb51ba8SAustin Zhang 363442a7c40SDavid S. Millerconfig CRYPTO_CRC32C_SPARC64 364442a7c40SDavid S. Miller tristate "CRC32c CRC algorithm (SPARC64)" 365442a7c40SDavid S. Miller depends on SPARC64 366442a7c40SDavid S. Miller select CRYPTO_HASH 367442a7c40SDavid S. Miller select CRC32 368442a7c40SDavid S. Miller help 369442a7c40SDavid S. Miller CRC32c CRC algorithm implemented using sparc64 crypto instructions, 370442a7c40SDavid S. Miller when available. 371442a7c40SDavid S. Miller 37278c37d19SAlexander Boykoconfig CRYPTO_CRC32 37378c37d19SAlexander Boyko tristate "CRC32 CRC algorithm" 37478c37d19SAlexander Boyko select CRYPTO_HASH 37578c37d19SAlexander Boyko select CRC32 37678c37d19SAlexander Boyko help 37778c37d19SAlexander Boyko CRC-32-IEEE 802.3 cyclic redundancy-check algorithm. 37878c37d19SAlexander Boyko Shash crypto api wrappers to crc32_le function. 37978c37d19SAlexander Boyko 38078c37d19SAlexander Boykoconfig CRYPTO_CRC32_PCLMUL 38178c37d19SAlexander Boyko tristate "CRC32 PCLMULQDQ hardware acceleration" 38278c37d19SAlexander Boyko depends on X86 38378c37d19SAlexander Boyko select CRYPTO_HASH 38478c37d19SAlexander Boyko select CRC32 38578c37d19SAlexander Boyko help 38678c37d19SAlexander Boyko From Intel Westmere and AMD Bulldozer processor with SSE4.2 38778c37d19SAlexander Boyko and PCLMULQDQ supported, the processor will support 38878c37d19SAlexander Boyko CRC32 PCLMULQDQ implementation using hardware accelerated PCLMULQDQ 38978c37d19SAlexander Boyko instruction. This option will create 'crc32-plcmul' module, 39078c37d19SAlexander Boyko which will enable any routine to use the CRC-32-IEEE 802.3 checksum 39178c37d19SAlexander Boyko and gain better performance as compared with the table implementation. 39278c37d19SAlexander Boyko 39368411521SHerbert Xuconfig CRYPTO_CRCT10DIF 39468411521SHerbert Xu tristate "CRCT10DIF algorithm" 39568411521SHerbert Xu select CRYPTO_HASH 39668411521SHerbert Xu help 39768411521SHerbert Xu CRC T10 Data Integrity Field computation is being cast as 39868411521SHerbert Xu a crypto transform. This allows for faster crc t10 diff 39968411521SHerbert Xu transforms to be used if they are available. 40068411521SHerbert Xu 40168411521SHerbert Xuconfig CRYPTO_CRCT10DIF_PCLMUL 40268411521SHerbert Xu tristate "CRCT10DIF PCLMULQDQ hardware acceleration" 40368411521SHerbert Xu depends on X86 && 64BIT && CRC_T10DIF 40468411521SHerbert Xu select CRYPTO_HASH 40568411521SHerbert Xu help 40668411521SHerbert Xu For x86_64 processors with SSE4.2 and PCLMULQDQ supported, 40768411521SHerbert Xu CRC T10 DIF PCLMULQDQ computation can be hardware 40868411521SHerbert Xu accelerated PCLMULQDQ instruction. This option will create 40968411521SHerbert Xu 'crct10dif-plcmul' module, which is faster when computing the 41068411521SHerbert Xu crct10dif checksum as compared with the generic table implementation. 41168411521SHerbert Xu 4122cdc6899SHuang Yingconfig CRYPTO_GHASH 4132cdc6899SHuang Ying tristate "GHASH digest algorithm" 4142cdc6899SHuang Ying select CRYPTO_GF128MUL 4152cdc6899SHuang Ying help 4162cdc6899SHuang Ying GHASH is message digest algorithm for GCM (Galois/Counter Mode). 4172cdc6899SHuang Ying 4181da177e4SLinus Torvaldsconfig CRYPTO_MD4 4191da177e4SLinus Torvalds tristate "MD4 digest algorithm" 420808a1763SAdrian-Ken Rueegsegger select CRYPTO_HASH 4211da177e4SLinus Torvalds help 4221da177e4SLinus Torvalds MD4 message digest algorithm (RFC1320). 4231da177e4SLinus Torvalds 4241da177e4SLinus Torvaldsconfig CRYPTO_MD5 4251da177e4SLinus Torvalds tristate "MD5 digest algorithm" 42614b75ba7SAdrian-Ken Rueegsegger select CRYPTO_HASH 4271da177e4SLinus Torvalds help 4281da177e4SLinus Torvalds MD5 message digest algorithm (RFC1321). 4291da177e4SLinus Torvalds 430d69e75deSAaro Koskinenconfig CRYPTO_MD5_OCTEON 431d69e75deSAaro Koskinen tristate "MD5 digest algorithm (OCTEON)" 432d69e75deSAaro Koskinen depends on CPU_CAVIUM_OCTEON 433d69e75deSAaro Koskinen select CRYPTO_MD5 434d69e75deSAaro Koskinen select CRYPTO_HASH 435d69e75deSAaro Koskinen help 436d69e75deSAaro Koskinen MD5 message digest algorithm (RFC1321) implemented 437d69e75deSAaro Koskinen using OCTEON crypto instructions, when available. 438d69e75deSAaro Koskinen 439e8e59953SMarkus Stockhausenconfig CRYPTO_MD5_PPC 440e8e59953SMarkus Stockhausen tristate "MD5 digest algorithm (PPC)" 441e8e59953SMarkus Stockhausen depends on PPC 442e8e59953SMarkus Stockhausen select CRYPTO_HASH 443e8e59953SMarkus Stockhausen help 444e8e59953SMarkus Stockhausen MD5 message digest algorithm (RFC1321) implemented 445e8e59953SMarkus Stockhausen in PPC assembler. 446e8e59953SMarkus Stockhausen 447fa4dfedcSDavid S. Millerconfig CRYPTO_MD5_SPARC64 448fa4dfedcSDavid S. Miller tristate "MD5 digest algorithm (SPARC64)" 449fa4dfedcSDavid S. Miller depends on SPARC64 450fa4dfedcSDavid S. Miller select CRYPTO_MD5 451fa4dfedcSDavid S. Miller select CRYPTO_HASH 452fa4dfedcSDavid S. Miller help 453fa4dfedcSDavid S. Miller MD5 message digest algorithm (RFC1321) implemented 454fa4dfedcSDavid S. Miller using sparc64 crypto instructions, when available. 455fa4dfedcSDavid S. Miller 456584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC 457584fffc8SSebastian Siewior tristate "Michael MIC keyed digest algorithm" 45819e2bf14SAdrian-Ken Rueegsegger select CRYPTO_HASH 459584fffc8SSebastian Siewior help 460584fffc8SSebastian Siewior Michael MIC is used for message integrity protection in TKIP 461584fffc8SSebastian Siewior (IEEE 802.11i). This algorithm is required for TKIP, but it 462584fffc8SSebastian Siewior should not be used for other purposes because of the weakness 463584fffc8SSebastian Siewior of the algorithm. 464584fffc8SSebastian Siewior 46582798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128 46682798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-128 digest algorithm" 4677c4468bcSHerbert Xu select CRYPTO_HASH 46882798f90SAdrian-Ken Rueegsegger help 46982798f90SAdrian-Ken Rueegsegger RIPEMD-128 (ISO/IEC 10118-3:2004). 47082798f90SAdrian-Ken Rueegsegger 47182798f90SAdrian-Ken Rueegsegger RIPEMD-128 is a 128-bit cryptographic hash function. It should only 47235ed4b35SMichael Witten be used as a secure replacement for RIPEMD. For other use cases, 47382798f90SAdrian-Ken Rueegsegger RIPEMD-160 should be used. 47482798f90SAdrian-Ken Rueegsegger 47582798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 4766d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 47782798f90SAdrian-Ken Rueegsegger 47882798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160 47982798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-160 digest algorithm" 480e5835fbaSHerbert Xu select CRYPTO_HASH 48182798f90SAdrian-Ken Rueegsegger help 48282798f90SAdrian-Ken Rueegsegger RIPEMD-160 (ISO/IEC 10118-3:2004). 48382798f90SAdrian-Ken Rueegsegger 48482798f90SAdrian-Ken Rueegsegger RIPEMD-160 is a 160-bit cryptographic hash function. It is intended 48582798f90SAdrian-Ken Rueegsegger to be used as a secure replacement for the 128-bit hash functions 486b6d44341SAdrian Bunk MD4, MD5 and it's predecessor RIPEMD 487b6d44341SAdrian Bunk (not to be confused with RIPEMD-128). 48882798f90SAdrian-Ken Rueegsegger 489b6d44341SAdrian Bunk It's speed is comparable to SHA1 and there are no known attacks 490b6d44341SAdrian Bunk against RIPEMD-160. 491534fe2c1SAdrian-Ken Rueegsegger 492534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 4936d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 494534fe2c1SAdrian-Ken Rueegsegger 495534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256 496534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-256 digest algorithm" 497d8a5e2e9SHerbert Xu select CRYPTO_HASH 498534fe2c1SAdrian-Ken Rueegsegger help 499b6d44341SAdrian Bunk RIPEMD-256 is an optional extension of RIPEMD-128 with a 500b6d44341SAdrian Bunk 256 bit hash. It is intended for applications that require 501b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 502b6d44341SAdrian Bunk (than RIPEMD-128). 503534fe2c1SAdrian-Ken Rueegsegger 504534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 5056d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 506534fe2c1SAdrian-Ken Rueegsegger 507534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320 508534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-320 digest algorithm" 5093b8efb4cSHerbert Xu select CRYPTO_HASH 510534fe2c1SAdrian-Ken Rueegsegger help 511b6d44341SAdrian Bunk RIPEMD-320 is an optional extension of RIPEMD-160 with a 512b6d44341SAdrian Bunk 320 bit hash. It is intended for applications that require 513b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 514b6d44341SAdrian Bunk (than RIPEMD-160). 515534fe2c1SAdrian-Ken Rueegsegger 51682798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 5176d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 51882798f90SAdrian-Ken Rueegsegger 5191da177e4SLinus Torvaldsconfig CRYPTO_SHA1 5201da177e4SLinus Torvalds tristate "SHA1 digest algorithm" 52154ccb367SAdrian-Ken Rueegsegger select CRYPTO_HASH 5221da177e4SLinus Torvalds help 5231da177e4SLinus Torvalds SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 5241da177e4SLinus Torvalds 52566be8951SMathias Krauseconfig CRYPTO_SHA1_SSSE3 5267c1da8d0Schandramouli narayanan tristate "SHA1 digest algorithm (SSSE3/AVX/AVX2)" 52766be8951SMathias Krause depends on X86 && 64BIT 52866be8951SMathias Krause select CRYPTO_SHA1 52966be8951SMathias Krause select CRYPTO_HASH 53066be8951SMathias Krause help 53166be8951SMathias Krause SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 53266be8951SMathias Krause using Supplemental SSE3 (SSSE3) instructions or Advanced Vector 5337c1da8d0Schandramouli narayanan Extensions (AVX/AVX2), when available. 53466be8951SMathias Krause 5358275d1aaSTim Chenconfig CRYPTO_SHA256_SSSE3 5368275d1aaSTim Chen tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2)" 5378275d1aaSTim Chen depends on X86 && 64BIT 5388275d1aaSTim Chen select CRYPTO_SHA256 5398275d1aaSTim Chen select CRYPTO_HASH 5408275d1aaSTim Chen help 5418275d1aaSTim Chen SHA-256 secure hash standard (DFIPS 180-2) implemented 5428275d1aaSTim Chen using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector 5438275d1aaSTim Chen Extensions version 1 (AVX1), or Advanced Vector Extensions 5448275d1aaSTim Chen version 2 (AVX2) instructions, when available. 5458275d1aaSTim Chen 54687de4579STim Chenconfig CRYPTO_SHA512_SSSE3 54787de4579STim Chen tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)" 54887de4579STim Chen depends on X86 && 64BIT 54987de4579STim Chen select CRYPTO_SHA512 55087de4579STim Chen select CRYPTO_HASH 55187de4579STim Chen help 55287de4579STim Chen SHA-512 secure hash standard (DFIPS 180-2) implemented 55387de4579STim Chen using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector 55487de4579STim Chen Extensions version 1 (AVX1), or Advanced Vector Extensions 55587de4579STim Chen version 2 (AVX2) instructions, when available. 55687de4579STim Chen 557*efdb6f6eSAaro Koskinenconfig CRYPTO_SHA1_OCTEON 558*efdb6f6eSAaro Koskinen tristate "SHA1 digest algorithm (OCTEON)" 559*efdb6f6eSAaro Koskinen depends on CPU_CAVIUM_OCTEON 560*efdb6f6eSAaro Koskinen select CRYPTO_SHA1 561*efdb6f6eSAaro Koskinen select CRYPTO_HASH 562*efdb6f6eSAaro Koskinen help 563*efdb6f6eSAaro Koskinen SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 564*efdb6f6eSAaro Koskinen using OCTEON crypto instructions, when available. 565*efdb6f6eSAaro Koskinen 5664ff28d4cSDavid S. Millerconfig CRYPTO_SHA1_SPARC64 5674ff28d4cSDavid S. Miller tristate "SHA1 digest algorithm (SPARC64)" 5684ff28d4cSDavid S. Miller depends on SPARC64 5694ff28d4cSDavid S. Miller select CRYPTO_SHA1 5704ff28d4cSDavid S. Miller select CRYPTO_HASH 5714ff28d4cSDavid S. Miller help 5724ff28d4cSDavid S. Miller SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 5734ff28d4cSDavid S. Miller using sparc64 crypto instructions, when available. 5744ff28d4cSDavid S. Miller 575f0be44f4SDavid McCulloughconfig CRYPTO_SHA1_ARM 576f0be44f4SDavid McCullough tristate "SHA1 digest algorithm (ARM-asm)" 577f0be44f4SDavid McCullough depends on ARM 578f0be44f4SDavid McCullough select CRYPTO_SHA1 579f0be44f4SDavid McCullough select CRYPTO_HASH 580f0be44f4SDavid McCullough help 581f0be44f4SDavid McCullough SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 582f0be44f4SDavid McCullough using optimized ARM assembler. 583f0be44f4SDavid McCullough 58460468255SJussi Kivilinnaconfig CRYPTO_SHA1_ARM_NEON 58560468255SJussi Kivilinna tristate "SHA1 digest algorithm (ARM NEON)" 5860777e3e1SArd Biesheuvel depends on ARM && KERNEL_MODE_NEON 58760468255SJussi Kivilinna select CRYPTO_SHA1_ARM 58860468255SJussi Kivilinna select CRYPTO_SHA1 58960468255SJussi Kivilinna select CRYPTO_HASH 59060468255SJussi Kivilinna help 59160468255SJussi Kivilinna SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 59260468255SJussi Kivilinna using optimized ARM NEON assembly, when NEON instructions are 59360468255SJussi Kivilinna available. 59460468255SJussi Kivilinna 595323a6bf1SMichael Ellermanconfig CRYPTO_SHA1_PPC 596323a6bf1SMichael Ellerman tristate "SHA1 digest algorithm (powerpc)" 597323a6bf1SMichael Ellerman depends on PPC 598323a6bf1SMichael Ellerman help 599323a6bf1SMichael Ellerman This is the powerpc hardware accelerated implementation of the 600323a6bf1SMichael Ellerman SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 601323a6bf1SMichael Ellerman 602d9850fc5SMarkus Stockhausenconfig CRYPTO_SHA1_PPC_SPE 603d9850fc5SMarkus Stockhausen tristate "SHA1 digest algorithm (PPC SPE)" 604d9850fc5SMarkus Stockhausen depends on PPC && SPE 605d9850fc5SMarkus Stockhausen help 606d9850fc5SMarkus Stockhausen SHA-1 secure hash standard (DFIPS 180-4) implemented 607d9850fc5SMarkus Stockhausen using powerpc SPE SIMD instruction set. 608d9850fc5SMarkus Stockhausen 6091e65b81aSTim Chenconfig CRYPTO_SHA1_MB 6101e65b81aSTim Chen tristate "SHA1 digest algorithm (x86_64 Multi-Buffer, Experimental)" 6111e65b81aSTim Chen depends on X86 && 64BIT 6121e65b81aSTim Chen select CRYPTO_SHA1 6131e65b81aSTim Chen select CRYPTO_HASH 6141e65b81aSTim Chen select CRYPTO_MCRYPTD 6151e65b81aSTim Chen help 6161e65b81aSTim Chen SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 6171e65b81aSTim Chen using multi-buffer technique. This algorithm computes on 6181e65b81aSTim Chen multiple data lanes concurrently with SIMD instructions for 6191e65b81aSTim Chen better throughput. It should not be enabled by default but 6201e65b81aSTim Chen used when there is significant amount of work to keep the keep 6211e65b81aSTim Chen the data lanes filled to get performance benefit. If the data 6221e65b81aSTim Chen lanes remain unfilled, a flush operation will be initiated to 6231e65b81aSTim Chen process the crypto jobs, adding a slight latency. 6241e65b81aSTim Chen 6251da177e4SLinus Torvaldsconfig CRYPTO_SHA256 626cd12fb90SJonathan Lynch tristate "SHA224 and SHA256 digest algorithm" 62750e109b5SAdrian-Ken Rueegsegger select CRYPTO_HASH 6281da177e4SLinus Torvalds help 6291da177e4SLinus Torvalds SHA256 secure hash standard (DFIPS 180-2). 6301da177e4SLinus Torvalds 6311da177e4SLinus Torvalds This version of SHA implements a 256 bit hash with 128 bits of 6321da177e4SLinus Torvalds security against collision attacks. 6331da177e4SLinus Torvalds 634cd12fb90SJonathan Lynch This code also includes SHA-224, a 224 bit hash with 112 bits 635cd12fb90SJonathan Lynch of security against collision attacks. 636cd12fb90SJonathan Lynch 6372ecc1e95SMarkus Stockhausenconfig CRYPTO_SHA256_PPC_SPE 6382ecc1e95SMarkus Stockhausen tristate "SHA224 and SHA256 digest algorithm (PPC SPE)" 6392ecc1e95SMarkus Stockhausen depends on PPC && SPE 6402ecc1e95SMarkus Stockhausen select CRYPTO_SHA256 6412ecc1e95SMarkus Stockhausen select CRYPTO_HASH 6422ecc1e95SMarkus Stockhausen help 6432ecc1e95SMarkus Stockhausen SHA224 and SHA256 secure hash standard (DFIPS 180-2) 6442ecc1e95SMarkus Stockhausen implemented using powerpc SPE SIMD instruction set. 6452ecc1e95SMarkus Stockhausen 646*efdb6f6eSAaro Koskinenconfig CRYPTO_SHA256_OCTEON 647*efdb6f6eSAaro Koskinen tristate "SHA224 and SHA256 digest algorithm (OCTEON)" 648*efdb6f6eSAaro Koskinen depends on CPU_CAVIUM_OCTEON 649*efdb6f6eSAaro Koskinen select CRYPTO_SHA256 650*efdb6f6eSAaro Koskinen select CRYPTO_HASH 651*efdb6f6eSAaro Koskinen help 652*efdb6f6eSAaro Koskinen SHA-256 secure hash standard (DFIPS 180-2) implemented 653*efdb6f6eSAaro Koskinen using OCTEON crypto instructions, when available. 654*efdb6f6eSAaro Koskinen 65586c93b24SDavid S. Millerconfig CRYPTO_SHA256_SPARC64 65686c93b24SDavid S. Miller tristate "SHA224 and SHA256 digest algorithm (SPARC64)" 65786c93b24SDavid S. Miller depends on SPARC64 65886c93b24SDavid S. Miller select CRYPTO_SHA256 65986c93b24SDavid S. Miller select CRYPTO_HASH 66086c93b24SDavid S. Miller help 66186c93b24SDavid S. Miller SHA-256 secure hash standard (DFIPS 180-2) implemented 66286c93b24SDavid S. Miller using sparc64 crypto instructions, when available. 66386c93b24SDavid S. Miller 6641da177e4SLinus Torvaldsconfig CRYPTO_SHA512 6651da177e4SLinus Torvalds tristate "SHA384 and SHA512 digest algorithms" 666bd9d20dbSAdrian-Ken Rueegsegger select CRYPTO_HASH 6671da177e4SLinus Torvalds help 6681da177e4SLinus Torvalds SHA512 secure hash standard (DFIPS 180-2). 6691da177e4SLinus Torvalds 6701da177e4SLinus Torvalds This version of SHA implements a 512 bit hash with 256 bits of 6711da177e4SLinus Torvalds security against collision attacks. 6721da177e4SLinus Torvalds 6731da177e4SLinus Torvalds This code also includes SHA-384, a 384 bit hash with 192 bits 6741da177e4SLinus Torvalds of security against collision attacks. 6751da177e4SLinus Torvalds 676*efdb6f6eSAaro Koskinenconfig CRYPTO_SHA512_OCTEON 677*efdb6f6eSAaro Koskinen tristate "SHA384 and SHA512 digest algorithms (OCTEON)" 678*efdb6f6eSAaro Koskinen depends on CPU_CAVIUM_OCTEON 679*efdb6f6eSAaro Koskinen select CRYPTO_SHA512 680*efdb6f6eSAaro Koskinen select CRYPTO_HASH 681*efdb6f6eSAaro Koskinen help 682*efdb6f6eSAaro Koskinen SHA-512 secure hash standard (DFIPS 180-2) implemented 683*efdb6f6eSAaro Koskinen using OCTEON crypto instructions, when available. 684*efdb6f6eSAaro Koskinen 685775e0c69SDavid S. Millerconfig CRYPTO_SHA512_SPARC64 686775e0c69SDavid S. Miller tristate "SHA384 and SHA512 digest algorithm (SPARC64)" 687775e0c69SDavid S. Miller depends on SPARC64 688775e0c69SDavid S. Miller select CRYPTO_SHA512 689775e0c69SDavid S. Miller select CRYPTO_HASH 690775e0c69SDavid S. Miller help 691775e0c69SDavid S. Miller SHA-512 secure hash standard (DFIPS 180-2) implemented 692775e0c69SDavid S. Miller using sparc64 crypto instructions, when available. 693775e0c69SDavid S. Miller 694c8611d71SJussi Kivilinnaconfig CRYPTO_SHA512_ARM_NEON 695c8611d71SJussi Kivilinna tristate "SHA384 and SHA512 digest algorithm (ARM NEON)" 69631e1a602SArd Biesheuvel depends on ARM && KERNEL_MODE_NEON 697c8611d71SJussi Kivilinna select CRYPTO_SHA512 698c8611d71SJussi Kivilinna select CRYPTO_HASH 699c8611d71SJussi Kivilinna help 700c8611d71SJussi Kivilinna SHA-512 secure hash standard (DFIPS 180-2) implemented 701c8611d71SJussi Kivilinna using ARM NEON instructions, when available. 702c8611d71SJussi Kivilinna 703c8611d71SJussi Kivilinna This version of SHA implements a 512 bit hash with 256 bits of 704c8611d71SJussi Kivilinna security against collision attacks. 705c8611d71SJussi Kivilinna 706c8611d71SJussi Kivilinna This code also includes SHA-384, a 384 bit hash with 192 bits 707c8611d71SJussi Kivilinna of security against collision attacks. 708c8611d71SJussi Kivilinna 7091da177e4SLinus Torvaldsconfig CRYPTO_TGR192 7101da177e4SLinus Torvalds tristate "Tiger digest algorithms" 711f63fbd3dSAdrian-Ken Rueegsegger select CRYPTO_HASH 7121da177e4SLinus Torvalds help 7131da177e4SLinus Torvalds Tiger hash algorithm 192, 160 and 128-bit hashes 7141da177e4SLinus Torvalds 7151da177e4SLinus Torvalds Tiger is a hash function optimized for 64-bit processors while 7161da177e4SLinus Torvalds still having decent performance on 32-bit processors. 7171da177e4SLinus Torvalds Tiger was developed by Ross Anderson and Eli Biham. 7181da177e4SLinus Torvalds 7191da177e4SLinus Torvalds See also: 7201da177e4SLinus Torvalds <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. 7211da177e4SLinus Torvalds 722584fffc8SSebastian Siewiorconfig CRYPTO_WP512 723584fffc8SSebastian Siewior tristate "Whirlpool digest algorithms" 7244946510bSAdrian-Ken Rueegsegger select CRYPTO_HASH 7251da177e4SLinus Torvalds help 726584fffc8SSebastian Siewior Whirlpool hash algorithm 512, 384 and 256-bit hashes 7271da177e4SLinus Torvalds 728584fffc8SSebastian Siewior Whirlpool-512 is part of the NESSIE cryptographic primitives. 729584fffc8SSebastian Siewior Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard 7301da177e4SLinus Torvalds 7311da177e4SLinus Torvalds See also: 7326d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html> 7331da177e4SLinus Torvalds 7340e1227d3SHuang Yingconfig CRYPTO_GHASH_CLMUL_NI_INTEL 7350e1227d3SHuang Ying tristate "GHASH digest algorithm (CLMUL-NI accelerated)" 7368af00860SRichard Weinberger depends on X86 && 64BIT 7370e1227d3SHuang Ying select CRYPTO_CRYPTD 7380e1227d3SHuang Ying help 7390e1227d3SHuang Ying GHASH is message digest algorithm for GCM (Galois/Counter Mode). 7400e1227d3SHuang Ying The implementation is accelerated by CLMUL-NI of Intel. 7410e1227d3SHuang Ying 742584fffc8SSebastian Siewiorcomment "Ciphers" 7431da177e4SLinus Torvalds 7441da177e4SLinus Torvaldsconfig CRYPTO_AES 7451da177e4SLinus Torvalds tristate "AES cipher algorithms" 746cce9e06dSHerbert Xu select CRYPTO_ALGAPI 7471da177e4SLinus Torvalds help 7481da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 7491da177e4SLinus Torvalds algorithm. 7501da177e4SLinus Torvalds 7511da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 7521da177e4SLinus Torvalds both hardware and software across a wide range of computing 7531da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 7541da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 7551da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 7561da177e4SLinus Torvalds suited for restricted-space environments, in which it also 7571da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 7581da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 7591da177e4SLinus Torvalds 7601da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 7611da177e4SLinus Torvalds 7621da177e4SLinus Torvalds See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. 7631da177e4SLinus Torvalds 7641da177e4SLinus Torvaldsconfig CRYPTO_AES_586 7651da177e4SLinus Torvalds tristate "AES cipher algorithms (i586)" 766cce9e06dSHerbert Xu depends on (X86 || UML_X86) && !64BIT 767cce9e06dSHerbert Xu select CRYPTO_ALGAPI 7685157dea8SSebastian Siewior select CRYPTO_AES 7691da177e4SLinus Torvalds help 7701da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 7711da177e4SLinus Torvalds algorithm. 7721da177e4SLinus Torvalds 7731da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 7741da177e4SLinus Torvalds both hardware and software across a wide range of computing 7751da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 7761da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 7771da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 7781da177e4SLinus Torvalds suited for restricted-space environments, in which it also 7791da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 7801da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 7811da177e4SLinus Torvalds 7821da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 7831da177e4SLinus Torvalds 7841da177e4SLinus Torvalds See <http://csrc.nist.gov/encryption/aes/> for more information. 7851da177e4SLinus Torvalds 786a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64 787a2a892a2SAndreas Steinmetz tristate "AES cipher algorithms (x86_64)" 788cce9e06dSHerbert Xu depends on (X86 || UML_X86) && 64BIT 789cce9e06dSHerbert Xu select CRYPTO_ALGAPI 79081190b32SSebastian Siewior select CRYPTO_AES 791a2a892a2SAndreas Steinmetz help 792a2a892a2SAndreas Steinmetz AES cipher algorithms (FIPS-197). AES uses the Rijndael 793a2a892a2SAndreas Steinmetz algorithm. 794a2a892a2SAndreas Steinmetz 795a2a892a2SAndreas Steinmetz Rijndael appears to be consistently a very good performer in 796a2a892a2SAndreas Steinmetz both hardware and software across a wide range of computing 797a2a892a2SAndreas Steinmetz environments regardless of its use in feedback or non-feedback 798a2a892a2SAndreas Steinmetz modes. Its key setup time is excellent, and its key agility is 799a2a892a2SAndreas Steinmetz good. Rijndael's very low memory requirements make it very well 800a2a892a2SAndreas Steinmetz suited for restricted-space environments, in which it also 801a2a892a2SAndreas Steinmetz demonstrates excellent performance. Rijndael's operations are 802a2a892a2SAndreas Steinmetz among the easiest to defend against power and timing attacks. 803a2a892a2SAndreas Steinmetz 804a2a892a2SAndreas Steinmetz The AES specifies three key sizes: 128, 192 and 256 bits 805a2a892a2SAndreas Steinmetz 806a2a892a2SAndreas Steinmetz See <http://csrc.nist.gov/encryption/aes/> for more information. 807a2a892a2SAndreas Steinmetz 80854b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL 80954b6a1bdSHuang Ying tristate "AES cipher algorithms (AES-NI)" 8108af00860SRichard Weinberger depends on X86 8110d258efbSMathias Krause select CRYPTO_AES_X86_64 if 64BIT 8120d258efbSMathias Krause select CRYPTO_AES_586 if !64BIT 81354b6a1bdSHuang Ying select CRYPTO_CRYPTD 814801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 81554b6a1bdSHuang Ying select CRYPTO_ALGAPI 8167643a11aSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 if 64BIT 817023af608SJussi Kivilinna select CRYPTO_LRW 818023af608SJussi Kivilinna select CRYPTO_XTS 81954b6a1bdSHuang Ying help 82054b6a1bdSHuang Ying Use Intel AES-NI instructions for AES algorithm. 82154b6a1bdSHuang Ying 82254b6a1bdSHuang Ying AES cipher algorithms (FIPS-197). AES uses the Rijndael 82354b6a1bdSHuang Ying algorithm. 82454b6a1bdSHuang Ying 82554b6a1bdSHuang Ying Rijndael appears to be consistently a very good performer in 82654b6a1bdSHuang Ying both hardware and software across a wide range of computing 82754b6a1bdSHuang Ying environments regardless of its use in feedback or non-feedback 82854b6a1bdSHuang Ying modes. Its key setup time is excellent, and its key agility is 82954b6a1bdSHuang Ying good. Rijndael's very low memory requirements make it very well 83054b6a1bdSHuang Ying suited for restricted-space environments, in which it also 83154b6a1bdSHuang Ying demonstrates excellent performance. Rijndael's operations are 83254b6a1bdSHuang Ying among the easiest to defend against power and timing attacks. 83354b6a1bdSHuang Ying 83454b6a1bdSHuang Ying The AES specifies three key sizes: 128, 192 and 256 bits 83554b6a1bdSHuang Ying 83654b6a1bdSHuang Ying See <http://csrc.nist.gov/encryption/aes/> for more information. 83754b6a1bdSHuang Ying 8380d258efbSMathias Krause In addition to AES cipher algorithm support, the acceleration 8390d258efbSMathias Krause for some popular block cipher mode is supported too, including 8400d258efbSMathias Krause ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional 8410d258efbSMathias Krause acceleration for CTR. 8422cf4ac8bSHuang Ying 8439bf4852dSDavid S. Millerconfig CRYPTO_AES_SPARC64 8449bf4852dSDavid S. Miller tristate "AES cipher algorithms (SPARC64)" 8459bf4852dSDavid S. Miller depends on SPARC64 8469bf4852dSDavid S. Miller select CRYPTO_CRYPTD 8479bf4852dSDavid S. Miller select CRYPTO_ALGAPI 8489bf4852dSDavid S. Miller help 8499bf4852dSDavid S. Miller Use SPARC64 crypto opcodes for AES algorithm. 8509bf4852dSDavid S. Miller 8519bf4852dSDavid S. Miller AES cipher algorithms (FIPS-197). AES uses the Rijndael 8529bf4852dSDavid S. Miller algorithm. 8539bf4852dSDavid S. Miller 8549bf4852dSDavid S. Miller Rijndael appears to be consistently a very good performer in 8559bf4852dSDavid S. Miller both hardware and software across a wide range of computing 8569bf4852dSDavid S. Miller environments regardless of its use in feedback or non-feedback 8579bf4852dSDavid S. Miller modes. Its key setup time is excellent, and its key agility is 8589bf4852dSDavid S. Miller good. Rijndael's very low memory requirements make it very well 8599bf4852dSDavid S. Miller suited for restricted-space environments, in which it also 8609bf4852dSDavid S. Miller demonstrates excellent performance. Rijndael's operations are 8619bf4852dSDavid S. Miller among the easiest to defend against power and timing attacks. 8629bf4852dSDavid S. Miller 8639bf4852dSDavid S. Miller The AES specifies three key sizes: 128, 192 and 256 bits 8649bf4852dSDavid S. Miller 8659bf4852dSDavid S. Miller See <http://csrc.nist.gov/encryption/aes/> for more information. 8669bf4852dSDavid S. Miller 8679bf4852dSDavid S. Miller In addition to AES cipher algorithm support, the acceleration 8689bf4852dSDavid S. Miller for some popular block cipher mode is supported too, including 8699bf4852dSDavid S. Miller ECB and CBC. 8709bf4852dSDavid S. Miller 871f0be44f4SDavid McCulloughconfig CRYPTO_AES_ARM 872f0be44f4SDavid McCullough tristate "AES cipher algorithms (ARM-asm)" 873f0be44f4SDavid McCullough depends on ARM 874f0be44f4SDavid McCullough select CRYPTO_ALGAPI 875f0be44f4SDavid McCullough select CRYPTO_AES 876f0be44f4SDavid McCullough help 877f0be44f4SDavid McCullough Use optimized AES assembler routines for ARM platforms. 878f0be44f4SDavid McCullough 879f0be44f4SDavid McCullough AES cipher algorithms (FIPS-197). AES uses the Rijndael 880f0be44f4SDavid McCullough algorithm. 881f0be44f4SDavid McCullough 882f0be44f4SDavid McCullough Rijndael appears to be consistently a very good performer in 883f0be44f4SDavid McCullough both hardware and software across a wide range of computing 884f0be44f4SDavid McCullough environments regardless of its use in feedback or non-feedback 885f0be44f4SDavid McCullough modes. Its key setup time is excellent, and its key agility is 886f0be44f4SDavid McCullough good. Rijndael's very low memory requirements make it very well 887f0be44f4SDavid McCullough suited for restricted-space environments, in which it also 888f0be44f4SDavid McCullough demonstrates excellent performance. Rijndael's operations are 889f0be44f4SDavid McCullough among the easiest to defend against power and timing attacks. 890f0be44f4SDavid McCullough 891f0be44f4SDavid McCullough The AES specifies three key sizes: 128, 192 and 256 bits 892f0be44f4SDavid McCullough 893f0be44f4SDavid McCullough See <http://csrc.nist.gov/encryption/aes/> for more information. 894f0be44f4SDavid McCullough 895e4e7f10bSArd Biesheuvelconfig CRYPTO_AES_ARM_BS 896e4e7f10bSArd Biesheuvel tristate "Bit sliced AES using NEON instructions" 897e4e7f10bSArd Biesheuvel depends on ARM && KERNEL_MODE_NEON 898e4e7f10bSArd Biesheuvel select CRYPTO_ALGAPI 899e4e7f10bSArd Biesheuvel select CRYPTO_AES_ARM 900e4e7f10bSArd Biesheuvel select CRYPTO_ABLK_HELPER 901e4e7f10bSArd Biesheuvel help 902e4e7f10bSArd Biesheuvel Use a faster and more secure NEON based implementation of AES in CBC, 903e4e7f10bSArd Biesheuvel CTR and XTS modes 904e4e7f10bSArd Biesheuvel 905e4e7f10bSArd Biesheuvel Bit sliced AES gives around 45% speedup on Cortex-A15 for CTR mode 906e4e7f10bSArd Biesheuvel and for XTS mode encryption, CBC and XTS mode decryption speedup is 907e4e7f10bSArd Biesheuvel around 25%. (CBC encryption speed is not affected by this driver.) 908e4e7f10bSArd Biesheuvel This implementation does not rely on any lookup tables so it is 909e4e7f10bSArd Biesheuvel believed to be invulnerable to cache timing attacks. 910e4e7f10bSArd Biesheuvel 911504c6143SMarkus Stockhausenconfig CRYPTO_AES_PPC_SPE 912504c6143SMarkus Stockhausen tristate "AES cipher algorithms (PPC SPE)" 913504c6143SMarkus Stockhausen depends on PPC && SPE 914504c6143SMarkus Stockhausen help 915504c6143SMarkus Stockhausen AES cipher algorithms (FIPS-197). Additionally the acceleration 916504c6143SMarkus Stockhausen for popular block cipher modes ECB, CBC, CTR and XTS is supported. 917504c6143SMarkus Stockhausen This module should only be used for low power (router) devices 918504c6143SMarkus Stockhausen without hardware AES acceleration (e.g. caam crypto). It reduces the 919504c6143SMarkus Stockhausen size of the AES tables from 16KB to 8KB + 256 bytes and mitigates 920504c6143SMarkus Stockhausen timining attacks. Nevertheless it might be not as secure as other 921504c6143SMarkus Stockhausen architecture specific assembler implementations that work on 1KB 922504c6143SMarkus Stockhausen tables or 256 bytes S-boxes. 923504c6143SMarkus Stockhausen 9241da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS 9251da177e4SLinus Torvalds tristate "Anubis cipher algorithm" 926cce9e06dSHerbert Xu select CRYPTO_ALGAPI 9271da177e4SLinus Torvalds help 9281da177e4SLinus Torvalds Anubis cipher algorithm. 9291da177e4SLinus Torvalds 9301da177e4SLinus Torvalds Anubis is a variable key length cipher which can use keys from 9311da177e4SLinus Torvalds 128 bits to 320 bits in length. It was evaluated as a entrant 9321da177e4SLinus Torvalds in the NESSIE competition. 9331da177e4SLinus Torvalds 9341da177e4SLinus Torvalds See also: 9356d8de74cSJustin P. Mattock <https://www.cosic.esat.kuleuven.be/nessie/reports/> 9366d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/AnubisPage.html> 9371da177e4SLinus Torvalds 938584fffc8SSebastian Siewiorconfig CRYPTO_ARC4 939584fffc8SSebastian Siewior tristate "ARC4 cipher algorithm" 940b9b0f080SSebastian Andrzej Siewior select CRYPTO_BLKCIPHER 941e2ee95b8SHye-Shik Chang help 942584fffc8SSebastian Siewior ARC4 cipher algorithm. 943e2ee95b8SHye-Shik Chang 944584fffc8SSebastian Siewior ARC4 is a stream cipher using keys ranging from 8 bits to 2048 945584fffc8SSebastian Siewior bits in length. This algorithm is required for driver-based 946584fffc8SSebastian Siewior WEP, but it should not be for other purposes because of the 947584fffc8SSebastian Siewior weakness of the algorithm. 948584fffc8SSebastian Siewior 949584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH 950584fffc8SSebastian Siewior tristate "Blowfish cipher algorithm" 951584fffc8SSebastian Siewior select CRYPTO_ALGAPI 95252ba867cSJussi Kivilinna select CRYPTO_BLOWFISH_COMMON 953584fffc8SSebastian Siewior help 954584fffc8SSebastian Siewior Blowfish cipher algorithm, by Bruce Schneier. 955584fffc8SSebastian Siewior 956584fffc8SSebastian Siewior This is a variable key length cipher which can use keys from 32 957584fffc8SSebastian Siewior bits to 448 bits in length. It's fast, simple and specifically 958584fffc8SSebastian Siewior designed for use on "large microprocessors". 959e2ee95b8SHye-Shik Chang 960e2ee95b8SHye-Shik Chang See also: 961584fffc8SSebastian Siewior <http://www.schneier.com/blowfish.html> 962584fffc8SSebastian Siewior 96352ba867cSJussi Kivilinnaconfig CRYPTO_BLOWFISH_COMMON 96452ba867cSJussi Kivilinna tristate 96552ba867cSJussi Kivilinna help 96652ba867cSJussi Kivilinna Common parts of the Blowfish cipher algorithm shared by the 96752ba867cSJussi Kivilinna generic c and the assembler implementations. 96852ba867cSJussi Kivilinna 96952ba867cSJussi Kivilinna See also: 97052ba867cSJussi Kivilinna <http://www.schneier.com/blowfish.html> 97152ba867cSJussi Kivilinna 97264b94ceaSJussi Kivilinnaconfig CRYPTO_BLOWFISH_X86_64 97364b94ceaSJussi Kivilinna tristate "Blowfish cipher algorithm (x86_64)" 974f21a7c19SAl Viro depends on X86 && 64BIT 97564b94ceaSJussi Kivilinna select CRYPTO_ALGAPI 97664b94ceaSJussi Kivilinna select CRYPTO_BLOWFISH_COMMON 97764b94ceaSJussi Kivilinna help 97864b94ceaSJussi Kivilinna Blowfish cipher algorithm (x86_64), by Bruce Schneier. 97964b94ceaSJussi Kivilinna 98064b94ceaSJussi Kivilinna This is a variable key length cipher which can use keys from 32 98164b94ceaSJussi Kivilinna bits to 448 bits in length. It's fast, simple and specifically 98264b94ceaSJussi Kivilinna designed for use on "large microprocessors". 98364b94ceaSJussi Kivilinna 98464b94ceaSJussi Kivilinna See also: 98564b94ceaSJussi Kivilinna <http://www.schneier.com/blowfish.html> 98664b94ceaSJussi Kivilinna 987584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA 988584fffc8SSebastian Siewior tristate "Camellia cipher algorithms" 989584fffc8SSebastian Siewior depends on CRYPTO 990584fffc8SSebastian Siewior select CRYPTO_ALGAPI 991584fffc8SSebastian Siewior help 992584fffc8SSebastian Siewior Camellia cipher algorithms module. 993584fffc8SSebastian Siewior 994584fffc8SSebastian Siewior Camellia is a symmetric key block cipher developed jointly 995584fffc8SSebastian Siewior at NTT and Mitsubishi Electric Corporation. 996584fffc8SSebastian Siewior 997584fffc8SSebastian Siewior The Camellia specifies three key sizes: 128, 192 and 256 bits. 998584fffc8SSebastian Siewior 999584fffc8SSebastian Siewior See also: 1000584fffc8SSebastian Siewior <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1001584fffc8SSebastian Siewior 10020b95ec56SJussi Kivilinnaconfig CRYPTO_CAMELLIA_X86_64 10030b95ec56SJussi Kivilinna tristate "Camellia cipher algorithm (x86_64)" 1004f21a7c19SAl Viro depends on X86 && 64BIT 10050b95ec56SJussi Kivilinna depends on CRYPTO 10060b95ec56SJussi Kivilinna select CRYPTO_ALGAPI 1007964263afSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 10080b95ec56SJussi Kivilinna select CRYPTO_LRW 10090b95ec56SJussi Kivilinna select CRYPTO_XTS 10100b95ec56SJussi Kivilinna help 10110b95ec56SJussi Kivilinna Camellia cipher algorithm module (x86_64). 10120b95ec56SJussi Kivilinna 10130b95ec56SJussi Kivilinna Camellia is a symmetric key block cipher developed jointly 10140b95ec56SJussi Kivilinna at NTT and Mitsubishi Electric Corporation. 10150b95ec56SJussi Kivilinna 10160b95ec56SJussi Kivilinna The Camellia specifies three key sizes: 128, 192 and 256 bits. 10170b95ec56SJussi Kivilinna 10180b95ec56SJussi Kivilinna See also: 10190b95ec56SJussi Kivilinna <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 10200b95ec56SJussi Kivilinna 1021d9b1d2e7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX_X86_64 1022d9b1d2e7SJussi Kivilinna tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)" 1023d9b1d2e7SJussi Kivilinna depends on X86 && 64BIT 1024d9b1d2e7SJussi Kivilinna depends on CRYPTO 1025d9b1d2e7SJussi Kivilinna select CRYPTO_ALGAPI 1026d9b1d2e7SJussi Kivilinna select CRYPTO_CRYPTD 1027801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1028d9b1d2e7SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1029d9b1d2e7SJussi Kivilinna select CRYPTO_CAMELLIA_X86_64 1030d9b1d2e7SJussi Kivilinna select CRYPTO_LRW 1031d9b1d2e7SJussi Kivilinna select CRYPTO_XTS 1032d9b1d2e7SJussi Kivilinna help 1033d9b1d2e7SJussi Kivilinna Camellia cipher algorithm module (x86_64/AES-NI/AVX). 1034d9b1d2e7SJussi Kivilinna 1035d9b1d2e7SJussi Kivilinna Camellia is a symmetric key block cipher developed jointly 1036d9b1d2e7SJussi Kivilinna at NTT and Mitsubishi Electric Corporation. 1037d9b1d2e7SJussi Kivilinna 1038d9b1d2e7SJussi Kivilinna The Camellia specifies three key sizes: 128, 192 and 256 bits. 1039d9b1d2e7SJussi Kivilinna 1040d9b1d2e7SJussi Kivilinna See also: 1041d9b1d2e7SJussi Kivilinna <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1042d9b1d2e7SJussi Kivilinna 1043f3f935a7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 1044f3f935a7SJussi Kivilinna tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX2)" 1045f3f935a7SJussi Kivilinna depends on X86 && 64BIT 1046f3f935a7SJussi Kivilinna depends on CRYPTO 1047f3f935a7SJussi Kivilinna select CRYPTO_ALGAPI 1048f3f935a7SJussi Kivilinna select CRYPTO_CRYPTD 1049801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1050f3f935a7SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1051f3f935a7SJussi Kivilinna select CRYPTO_CAMELLIA_X86_64 1052f3f935a7SJussi Kivilinna select CRYPTO_CAMELLIA_AESNI_AVX_X86_64 1053f3f935a7SJussi Kivilinna select CRYPTO_LRW 1054f3f935a7SJussi Kivilinna select CRYPTO_XTS 1055f3f935a7SJussi Kivilinna help 1056f3f935a7SJussi Kivilinna Camellia cipher algorithm module (x86_64/AES-NI/AVX2). 1057f3f935a7SJussi Kivilinna 1058f3f935a7SJussi Kivilinna Camellia is a symmetric key block cipher developed jointly 1059f3f935a7SJussi Kivilinna at NTT and Mitsubishi Electric Corporation. 1060f3f935a7SJussi Kivilinna 1061f3f935a7SJussi Kivilinna The Camellia specifies three key sizes: 128, 192 and 256 bits. 1062f3f935a7SJussi Kivilinna 1063f3f935a7SJussi Kivilinna See also: 1064f3f935a7SJussi Kivilinna <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1065f3f935a7SJussi Kivilinna 106681658ad0SDavid S. Millerconfig CRYPTO_CAMELLIA_SPARC64 106781658ad0SDavid S. Miller tristate "Camellia cipher algorithm (SPARC64)" 106881658ad0SDavid S. Miller depends on SPARC64 106981658ad0SDavid S. Miller depends on CRYPTO 107081658ad0SDavid S. Miller select CRYPTO_ALGAPI 107181658ad0SDavid S. Miller help 107281658ad0SDavid S. Miller Camellia cipher algorithm module (SPARC64). 107381658ad0SDavid S. Miller 107481658ad0SDavid S. Miller Camellia is a symmetric key block cipher developed jointly 107581658ad0SDavid S. Miller at NTT and Mitsubishi Electric Corporation. 107681658ad0SDavid S. Miller 107781658ad0SDavid S. Miller The Camellia specifies three key sizes: 128, 192 and 256 bits. 107881658ad0SDavid S. Miller 107981658ad0SDavid S. Miller See also: 108081658ad0SDavid S. Miller <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 108181658ad0SDavid S. Miller 1082044ab525SJussi Kivilinnaconfig CRYPTO_CAST_COMMON 1083044ab525SJussi Kivilinna tristate 1084044ab525SJussi Kivilinna help 1085044ab525SJussi Kivilinna Common parts of the CAST cipher algorithms shared by the 1086044ab525SJussi Kivilinna generic c and the assembler implementations. 1087044ab525SJussi Kivilinna 1088584fffc8SSebastian Siewiorconfig CRYPTO_CAST5 1089584fffc8SSebastian Siewior tristate "CAST5 (CAST-128) cipher algorithm" 1090584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1091044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 1092584fffc8SSebastian Siewior help 1093584fffc8SSebastian Siewior The CAST5 encryption algorithm (synonymous with CAST-128) is 1094584fffc8SSebastian Siewior described in RFC2144. 1095584fffc8SSebastian Siewior 10964d6d6a2cSJohannes Goetzfriedconfig CRYPTO_CAST5_AVX_X86_64 10974d6d6a2cSJohannes Goetzfried tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)" 10984d6d6a2cSJohannes Goetzfried depends on X86 && 64BIT 10994d6d6a2cSJohannes Goetzfried select CRYPTO_ALGAPI 11004d6d6a2cSJohannes Goetzfried select CRYPTO_CRYPTD 1101801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1102044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 11034d6d6a2cSJohannes Goetzfried select CRYPTO_CAST5 11044d6d6a2cSJohannes Goetzfried help 11054d6d6a2cSJohannes Goetzfried The CAST5 encryption algorithm (synonymous with CAST-128) is 11064d6d6a2cSJohannes Goetzfried described in RFC2144. 11074d6d6a2cSJohannes Goetzfried 11084d6d6a2cSJohannes Goetzfried This module provides the Cast5 cipher algorithm that processes 11094d6d6a2cSJohannes Goetzfried sixteen blocks parallel using the AVX instruction set. 11104d6d6a2cSJohannes Goetzfried 1111584fffc8SSebastian Siewiorconfig CRYPTO_CAST6 1112584fffc8SSebastian Siewior tristate "CAST6 (CAST-256) cipher algorithm" 1113584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1114044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 1115584fffc8SSebastian Siewior help 1116584fffc8SSebastian Siewior The CAST6 encryption algorithm (synonymous with CAST-256) is 1117584fffc8SSebastian Siewior described in RFC2612. 1118584fffc8SSebastian Siewior 11194ea1277dSJohannes Goetzfriedconfig CRYPTO_CAST6_AVX_X86_64 11204ea1277dSJohannes Goetzfried tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)" 11214ea1277dSJohannes Goetzfried depends on X86 && 64BIT 11224ea1277dSJohannes Goetzfried select CRYPTO_ALGAPI 11234ea1277dSJohannes Goetzfried select CRYPTO_CRYPTD 1124801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 11254ea1277dSJohannes Goetzfried select CRYPTO_GLUE_HELPER_X86 1126044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 11274ea1277dSJohannes Goetzfried select CRYPTO_CAST6 11284ea1277dSJohannes Goetzfried select CRYPTO_LRW 11294ea1277dSJohannes Goetzfried select CRYPTO_XTS 11304ea1277dSJohannes Goetzfried help 11314ea1277dSJohannes Goetzfried The CAST6 encryption algorithm (synonymous with CAST-256) is 11324ea1277dSJohannes Goetzfried described in RFC2612. 11334ea1277dSJohannes Goetzfried 11344ea1277dSJohannes Goetzfried This module provides the Cast6 cipher algorithm that processes 11354ea1277dSJohannes Goetzfried eight blocks parallel using the AVX instruction set. 11364ea1277dSJohannes Goetzfried 1137584fffc8SSebastian Siewiorconfig CRYPTO_DES 1138584fffc8SSebastian Siewior tristate "DES and Triple DES EDE cipher algorithms" 1139584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1140584fffc8SSebastian Siewior help 1141584fffc8SSebastian Siewior DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 1142584fffc8SSebastian Siewior 1143c5aac2dfSDavid S. Millerconfig CRYPTO_DES_SPARC64 1144c5aac2dfSDavid S. Miller tristate "DES and Triple DES EDE cipher algorithms (SPARC64)" 114597da37b3SDave Jones depends on SPARC64 1146c5aac2dfSDavid S. Miller select CRYPTO_ALGAPI 1147c5aac2dfSDavid S. Miller select CRYPTO_DES 1148c5aac2dfSDavid S. Miller help 1149c5aac2dfSDavid S. Miller DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3), 1150c5aac2dfSDavid S. Miller optimized using SPARC64 crypto opcodes. 1151c5aac2dfSDavid S. Miller 11526574e6c6SJussi Kivilinnaconfig CRYPTO_DES3_EDE_X86_64 11536574e6c6SJussi Kivilinna tristate "Triple DES EDE cipher algorithm (x86-64)" 11546574e6c6SJussi Kivilinna depends on X86 && 64BIT 11556574e6c6SJussi Kivilinna select CRYPTO_ALGAPI 11566574e6c6SJussi Kivilinna select CRYPTO_DES 11576574e6c6SJussi Kivilinna help 11586574e6c6SJussi Kivilinna Triple DES EDE (FIPS 46-3) algorithm. 11596574e6c6SJussi Kivilinna 11606574e6c6SJussi Kivilinna This module provides implementation of the Triple DES EDE cipher 11616574e6c6SJussi Kivilinna algorithm that is optimized for x86-64 processors. Two versions of 11626574e6c6SJussi Kivilinna algorithm are provided; regular processing one input block and 11636574e6c6SJussi Kivilinna one that processes three blocks parallel. 11646574e6c6SJussi Kivilinna 1165584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT 1166584fffc8SSebastian Siewior tristate "FCrypt cipher algorithm" 1167584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1168584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 1169584fffc8SSebastian Siewior help 1170584fffc8SSebastian Siewior FCrypt algorithm used by RxRPC. 1171584fffc8SSebastian Siewior 1172584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD 1173584fffc8SSebastian Siewior tristate "Khazad cipher algorithm" 1174584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1175584fffc8SSebastian Siewior help 1176584fffc8SSebastian Siewior Khazad cipher algorithm. 1177584fffc8SSebastian Siewior 1178584fffc8SSebastian Siewior Khazad was a finalist in the initial NESSIE competition. It is 1179584fffc8SSebastian Siewior an algorithm optimized for 64-bit processors with good performance 1180584fffc8SSebastian Siewior on 32-bit processors. Khazad uses an 128 bit key size. 1181584fffc8SSebastian Siewior 1182584fffc8SSebastian Siewior See also: 11836d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/KhazadPage.html> 1184e2ee95b8SHye-Shik Chang 11852407d608STan Swee Hengconfig CRYPTO_SALSA20 11863b4afaf2SKees Cook tristate "Salsa20 stream cipher algorithm" 11872407d608STan Swee Heng select CRYPTO_BLKCIPHER 11882407d608STan Swee Heng help 11892407d608STan Swee Heng Salsa20 stream cipher algorithm. 11902407d608STan Swee Heng 11912407d608STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 11922407d608STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 11932407d608STan Swee Heng 11942407d608STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 11952407d608STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 11961da177e4SLinus Torvalds 1197974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586 11983b4afaf2SKees Cook tristate "Salsa20 stream cipher algorithm (i586)" 1199974e4b75STan Swee Heng depends on (X86 || UML_X86) && !64BIT 1200974e4b75STan Swee Heng select CRYPTO_BLKCIPHER 1201974e4b75STan Swee Heng help 1202974e4b75STan Swee Heng Salsa20 stream cipher algorithm. 1203974e4b75STan Swee Heng 1204974e4b75STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 1205974e4b75STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 1206974e4b75STan Swee Heng 1207974e4b75STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 1208974e4b75STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 1209974e4b75STan Swee Heng 12109a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64 12113b4afaf2SKees Cook tristate "Salsa20 stream cipher algorithm (x86_64)" 12129a7dafbbSTan Swee Heng depends on (X86 || UML_X86) && 64BIT 12139a7dafbbSTan Swee Heng select CRYPTO_BLKCIPHER 12149a7dafbbSTan Swee Heng help 12159a7dafbbSTan Swee Heng Salsa20 stream cipher algorithm. 12169a7dafbbSTan Swee Heng 12179a7dafbbSTan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 12189a7dafbbSTan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 12199a7dafbbSTan Swee Heng 12209a7dafbbSTan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 12219a7dafbbSTan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 12229a7dafbbSTan Swee Heng 1223584fffc8SSebastian Siewiorconfig CRYPTO_SEED 1224584fffc8SSebastian Siewior tristate "SEED cipher algorithm" 1225584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1226584fffc8SSebastian Siewior help 1227584fffc8SSebastian Siewior SEED cipher algorithm (RFC4269). 1228584fffc8SSebastian Siewior 1229584fffc8SSebastian Siewior SEED is a 128-bit symmetric key block cipher that has been 1230584fffc8SSebastian Siewior developed by KISA (Korea Information Security Agency) as a 1231584fffc8SSebastian Siewior national standard encryption algorithm of the Republic of Korea. 1232584fffc8SSebastian Siewior It is a 16 round block cipher with the key size of 128 bit. 1233584fffc8SSebastian Siewior 1234584fffc8SSebastian Siewior See also: 1235584fffc8SSebastian Siewior <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> 1236584fffc8SSebastian Siewior 1237584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT 1238584fffc8SSebastian Siewior tristate "Serpent cipher algorithm" 1239584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1240584fffc8SSebastian Siewior help 1241584fffc8SSebastian Siewior Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1242584fffc8SSebastian Siewior 1243584fffc8SSebastian Siewior Keys are allowed to be from 0 to 256 bits in length, in steps 1244584fffc8SSebastian Siewior of 8 bits. Also includes the 'Tnepres' algorithm, a reversed 1245584fffc8SSebastian Siewior variant of Serpent for compatibility with old kerneli.org code. 1246584fffc8SSebastian Siewior 1247584fffc8SSebastian Siewior See also: 1248584fffc8SSebastian Siewior <http://www.cl.cam.ac.uk/~rja14/serpent.html> 1249584fffc8SSebastian Siewior 1250937c30d7SJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_X86_64 1251937c30d7SJussi Kivilinna tristate "Serpent cipher algorithm (x86_64/SSE2)" 1252937c30d7SJussi Kivilinna depends on X86 && 64BIT 1253937c30d7SJussi Kivilinna select CRYPTO_ALGAPI 1254341975bfSJussi Kivilinna select CRYPTO_CRYPTD 1255801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1256596d8750SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1257937c30d7SJussi Kivilinna select CRYPTO_SERPENT 1258feaf0cfcSJussi Kivilinna select CRYPTO_LRW 1259feaf0cfcSJussi Kivilinna select CRYPTO_XTS 1260937c30d7SJussi Kivilinna help 1261937c30d7SJussi Kivilinna Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1262937c30d7SJussi Kivilinna 1263937c30d7SJussi Kivilinna Keys are allowed to be from 0 to 256 bits in length, in steps 1264937c30d7SJussi Kivilinna of 8 bits. 1265937c30d7SJussi Kivilinna 1266937c30d7SJussi Kivilinna This module provides Serpent cipher algorithm that processes eigth 1267937c30d7SJussi Kivilinna blocks parallel using SSE2 instruction set. 1268937c30d7SJussi Kivilinna 1269937c30d7SJussi Kivilinna See also: 1270937c30d7SJussi Kivilinna <http://www.cl.cam.ac.uk/~rja14/serpent.html> 1271937c30d7SJussi Kivilinna 1272251496dbSJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_586 1273251496dbSJussi Kivilinna tristate "Serpent cipher algorithm (i586/SSE2)" 1274251496dbSJussi Kivilinna depends on X86 && !64BIT 1275251496dbSJussi Kivilinna select CRYPTO_ALGAPI 1276341975bfSJussi Kivilinna select CRYPTO_CRYPTD 1277801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1278596d8750SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1279251496dbSJussi Kivilinna select CRYPTO_SERPENT 1280feaf0cfcSJussi Kivilinna select CRYPTO_LRW 1281feaf0cfcSJussi Kivilinna select CRYPTO_XTS 1282251496dbSJussi Kivilinna help 1283251496dbSJussi Kivilinna Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1284251496dbSJussi Kivilinna 1285251496dbSJussi Kivilinna Keys are allowed to be from 0 to 256 bits in length, in steps 1286251496dbSJussi Kivilinna of 8 bits. 1287251496dbSJussi Kivilinna 1288251496dbSJussi Kivilinna This module provides Serpent cipher algorithm that processes four 1289251496dbSJussi Kivilinna blocks parallel using SSE2 instruction set. 1290251496dbSJussi Kivilinna 1291251496dbSJussi Kivilinna See also: 1292251496dbSJussi Kivilinna <http://www.cl.cam.ac.uk/~rja14/serpent.html> 1293251496dbSJussi Kivilinna 12947efe4076SJohannes Goetzfriedconfig CRYPTO_SERPENT_AVX_X86_64 12957efe4076SJohannes Goetzfried tristate "Serpent cipher algorithm (x86_64/AVX)" 12967efe4076SJohannes Goetzfried depends on X86 && 64BIT 12977efe4076SJohannes Goetzfried select CRYPTO_ALGAPI 12987efe4076SJohannes Goetzfried select CRYPTO_CRYPTD 1299801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 13001d0debbdSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 13017efe4076SJohannes Goetzfried select CRYPTO_SERPENT 13027efe4076SJohannes Goetzfried select CRYPTO_LRW 13037efe4076SJohannes Goetzfried select CRYPTO_XTS 13047efe4076SJohannes Goetzfried help 13057efe4076SJohannes Goetzfried Serpent cipher algorithm, by Anderson, Biham & Knudsen. 13067efe4076SJohannes Goetzfried 13077efe4076SJohannes Goetzfried Keys are allowed to be from 0 to 256 bits in length, in steps 13087efe4076SJohannes Goetzfried of 8 bits. 13097efe4076SJohannes Goetzfried 13107efe4076SJohannes Goetzfried This module provides the Serpent cipher algorithm that processes 13117efe4076SJohannes Goetzfried eight blocks parallel using the AVX instruction set. 13127efe4076SJohannes Goetzfried 13137efe4076SJohannes Goetzfried See also: 13147efe4076SJohannes Goetzfried <http://www.cl.cam.ac.uk/~rja14/serpent.html> 13157efe4076SJohannes Goetzfried 131656d76c96SJussi Kivilinnaconfig CRYPTO_SERPENT_AVX2_X86_64 131756d76c96SJussi Kivilinna tristate "Serpent cipher algorithm (x86_64/AVX2)" 131856d76c96SJussi Kivilinna depends on X86 && 64BIT 131956d76c96SJussi Kivilinna select CRYPTO_ALGAPI 132056d76c96SJussi Kivilinna select CRYPTO_CRYPTD 1321801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 132256d76c96SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 132356d76c96SJussi Kivilinna select CRYPTO_SERPENT 132456d76c96SJussi Kivilinna select CRYPTO_SERPENT_AVX_X86_64 132556d76c96SJussi Kivilinna select CRYPTO_LRW 132656d76c96SJussi Kivilinna select CRYPTO_XTS 132756d76c96SJussi Kivilinna help 132856d76c96SJussi Kivilinna Serpent cipher algorithm, by Anderson, Biham & Knudsen. 132956d76c96SJussi Kivilinna 133056d76c96SJussi Kivilinna Keys are allowed to be from 0 to 256 bits in length, in steps 133156d76c96SJussi Kivilinna of 8 bits. 133256d76c96SJussi Kivilinna 133356d76c96SJussi Kivilinna This module provides Serpent cipher algorithm that processes 16 133456d76c96SJussi Kivilinna blocks parallel using AVX2 instruction set. 133556d76c96SJussi Kivilinna 133656d76c96SJussi Kivilinna See also: 133756d76c96SJussi Kivilinna <http://www.cl.cam.ac.uk/~rja14/serpent.html> 133856d76c96SJussi Kivilinna 1339584fffc8SSebastian Siewiorconfig CRYPTO_TEA 1340584fffc8SSebastian Siewior tristate "TEA, XTEA and XETA cipher algorithms" 1341584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1342584fffc8SSebastian Siewior help 1343584fffc8SSebastian Siewior TEA cipher algorithm. 1344584fffc8SSebastian Siewior 1345584fffc8SSebastian Siewior Tiny Encryption Algorithm is a simple cipher that uses 1346584fffc8SSebastian Siewior many rounds for security. It is very fast and uses 1347584fffc8SSebastian Siewior little memory. 1348584fffc8SSebastian Siewior 1349584fffc8SSebastian Siewior Xtendend Tiny Encryption Algorithm is a modification to 1350584fffc8SSebastian Siewior the TEA algorithm to address a potential key weakness 1351584fffc8SSebastian Siewior in the TEA algorithm. 1352584fffc8SSebastian Siewior 1353584fffc8SSebastian Siewior Xtendend Encryption Tiny Algorithm is a mis-implementation 1354584fffc8SSebastian Siewior of the XTEA algorithm for compatibility purposes. 1355584fffc8SSebastian Siewior 1356584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH 1357584fffc8SSebastian Siewior tristate "Twofish cipher algorithm" 1358584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1359584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 1360584fffc8SSebastian Siewior help 1361584fffc8SSebastian Siewior Twofish cipher algorithm. 1362584fffc8SSebastian Siewior 1363584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 1364584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 1365584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 1366584fffc8SSebastian Siewior bits. 1367584fffc8SSebastian Siewior 1368584fffc8SSebastian Siewior See also: 1369584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 1370584fffc8SSebastian Siewior 1371584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON 1372584fffc8SSebastian Siewior tristate 1373584fffc8SSebastian Siewior help 1374584fffc8SSebastian Siewior Common parts of the Twofish cipher algorithm shared by the 1375584fffc8SSebastian Siewior generic c and the assembler implementations. 1376584fffc8SSebastian Siewior 1377584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586 1378584fffc8SSebastian Siewior tristate "Twofish cipher algorithms (i586)" 1379584fffc8SSebastian Siewior depends on (X86 || UML_X86) && !64BIT 1380584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1381584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 1382584fffc8SSebastian Siewior help 1383584fffc8SSebastian Siewior Twofish cipher algorithm. 1384584fffc8SSebastian Siewior 1385584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 1386584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 1387584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 1388584fffc8SSebastian Siewior bits. 1389584fffc8SSebastian Siewior 1390584fffc8SSebastian Siewior See also: 1391584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 1392584fffc8SSebastian Siewior 1393584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64 1394584fffc8SSebastian Siewior tristate "Twofish cipher algorithm (x86_64)" 1395584fffc8SSebastian Siewior depends on (X86 || UML_X86) && 64BIT 1396584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1397584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 1398584fffc8SSebastian Siewior help 1399584fffc8SSebastian Siewior Twofish cipher algorithm (x86_64). 1400584fffc8SSebastian Siewior 1401584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 1402584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 1403584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 1404584fffc8SSebastian Siewior bits. 1405584fffc8SSebastian Siewior 1406584fffc8SSebastian Siewior See also: 1407584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 1408584fffc8SSebastian Siewior 14098280daadSJussi Kivilinnaconfig CRYPTO_TWOFISH_X86_64_3WAY 14108280daadSJussi Kivilinna tristate "Twofish cipher algorithm (x86_64, 3-way parallel)" 1411f21a7c19SAl Viro depends on X86 && 64BIT 14128280daadSJussi Kivilinna select CRYPTO_ALGAPI 14138280daadSJussi Kivilinna select CRYPTO_TWOFISH_COMMON 14148280daadSJussi Kivilinna select CRYPTO_TWOFISH_X86_64 1415414cb5e7SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1416e7cda5d2SJussi Kivilinna select CRYPTO_LRW 1417e7cda5d2SJussi Kivilinna select CRYPTO_XTS 14188280daadSJussi Kivilinna help 14198280daadSJussi Kivilinna Twofish cipher algorithm (x86_64, 3-way parallel). 14208280daadSJussi Kivilinna 14218280daadSJussi Kivilinna Twofish was submitted as an AES (Advanced Encryption Standard) 14228280daadSJussi Kivilinna candidate cipher by researchers at CounterPane Systems. It is a 14238280daadSJussi Kivilinna 16 round block cipher supporting key sizes of 128, 192, and 256 14248280daadSJussi Kivilinna bits. 14258280daadSJussi Kivilinna 14268280daadSJussi Kivilinna This module provides Twofish cipher algorithm that processes three 14278280daadSJussi Kivilinna blocks parallel, utilizing resources of out-of-order CPUs better. 14288280daadSJussi Kivilinna 14298280daadSJussi Kivilinna See also: 14308280daadSJussi Kivilinna <http://www.schneier.com/twofish.html> 14318280daadSJussi Kivilinna 1432107778b5SJohannes Goetzfriedconfig CRYPTO_TWOFISH_AVX_X86_64 1433107778b5SJohannes Goetzfried tristate "Twofish cipher algorithm (x86_64/AVX)" 1434107778b5SJohannes Goetzfried depends on X86 && 64BIT 1435107778b5SJohannes Goetzfried select CRYPTO_ALGAPI 1436107778b5SJohannes Goetzfried select CRYPTO_CRYPTD 1437801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1438a7378d4eSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1439107778b5SJohannes Goetzfried select CRYPTO_TWOFISH_COMMON 1440107778b5SJohannes Goetzfried select CRYPTO_TWOFISH_X86_64 1441107778b5SJohannes Goetzfried select CRYPTO_TWOFISH_X86_64_3WAY 1442107778b5SJohannes Goetzfried select CRYPTO_LRW 1443107778b5SJohannes Goetzfried select CRYPTO_XTS 1444107778b5SJohannes Goetzfried help 1445107778b5SJohannes Goetzfried Twofish cipher algorithm (x86_64/AVX). 1446107778b5SJohannes Goetzfried 1447107778b5SJohannes Goetzfried Twofish was submitted as an AES (Advanced Encryption Standard) 1448107778b5SJohannes Goetzfried candidate cipher by researchers at CounterPane Systems. It is a 1449107778b5SJohannes Goetzfried 16 round block cipher supporting key sizes of 128, 192, and 256 1450107778b5SJohannes Goetzfried bits. 1451107778b5SJohannes Goetzfried 1452107778b5SJohannes Goetzfried This module provides the Twofish cipher algorithm that processes 1453107778b5SJohannes Goetzfried eight blocks parallel using the AVX Instruction Set. 1454107778b5SJohannes Goetzfried 1455107778b5SJohannes Goetzfried See also: 1456107778b5SJohannes Goetzfried <http://www.schneier.com/twofish.html> 1457107778b5SJohannes Goetzfried 1458584fffc8SSebastian Siewiorcomment "Compression" 1459584fffc8SSebastian Siewior 14601da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE 14611da177e4SLinus Torvalds tristate "Deflate compression algorithm" 1462cce9e06dSHerbert Xu select CRYPTO_ALGAPI 14631da177e4SLinus Torvalds select ZLIB_INFLATE 14641da177e4SLinus Torvalds select ZLIB_DEFLATE 14651da177e4SLinus Torvalds help 14661da177e4SLinus Torvalds This is the Deflate algorithm (RFC1951), specified for use in 14671da177e4SLinus Torvalds IPSec with the IPCOMP protocol (RFC3173, RFC2394). 14681da177e4SLinus Torvalds 14691da177e4SLinus Torvalds You will most probably want this if using IPSec. 14701da177e4SLinus Torvalds 1471bf68e65eSGeert Uytterhoevenconfig CRYPTO_ZLIB 1472bf68e65eSGeert Uytterhoeven tristate "Zlib compression algorithm" 1473bf68e65eSGeert Uytterhoeven select CRYPTO_PCOMP 1474bf68e65eSGeert Uytterhoeven select ZLIB_INFLATE 1475bf68e65eSGeert Uytterhoeven select ZLIB_DEFLATE 1476bf68e65eSGeert Uytterhoeven select NLATTR 1477bf68e65eSGeert Uytterhoeven help 1478bf68e65eSGeert Uytterhoeven This is the zlib algorithm. 1479bf68e65eSGeert Uytterhoeven 14800b77abb3SZoltan Sogorconfig CRYPTO_LZO 14810b77abb3SZoltan Sogor tristate "LZO compression algorithm" 14820b77abb3SZoltan Sogor select CRYPTO_ALGAPI 14830b77abb3SZoltan Sogor select LZO_COMPRESS 14840b77abb3SZoltan Sogor select LZO_DECOMPRESS 14850b77abb3SZoltan Sogor help 14860b77abb3SZoltan Sogor This is the LZO algorithm. 14870b77abb3SZoltan Sogor 148835a1fc18SSeth Jenningsconfig CRYPTO_842 148935a1fc18SSeth Jennings tristate "842 compression algorithm" 149035a1fc18SSeth Jennings depends on CRYPTO_DEV_NX_COMPRESS 149135a1fc18SSeth Jennings # 842 uses lzo if the hardware becomes unavailable 149235a1fc18SSeth Jennings select LZO_COMPRESS 149335a1fc18SSeth Jennings select LZO_DECOMPRESS 149435a1fc18SSeth Jennings help 149535a1fc18SSeth Jennings This is the 842 algorithm. 149635a1fc18SSeth Jennings 14970ea8530dSChanho Minconfig CRYPTO_LZ4 14980ea8530dSChanho Min tristate "LZ4 compression algorithm" 14990ea8530dSChanho Min select CRYPTO_ALGAPI 15000ea8530dSChanho Min select LZ4_COMPRESS 15010ea8530dSChanho Min select LZ4_DECOMPRESS 15020ea8530dSChanho Min help 15030ea8530dSChanho Min This is the LZ4 algorithm. 15040ea8530dSChanho Min 15050ea8530dSChanho Minconfig CRYPTO_LZ4HC 15060ea8530dSChanho Min tristate "LZ4HC compression algorithm" 15070ea8530dSChanho Min select CRYPTO_ALGAPI 15080ea8530dSChanho Min select LZ4HC_COMPRESS 15090ea8530dSChanho Min select LZ4_DECOMPRESS 15100ea8530dSChanho Min help 15110ea8530dSChanho Min This is the LZ4 high compression mode algorithm. 15120ea8530dSChanho Min 151317f0f4a4SNeil Hormancomment "Random Number Generation" 151417f0f4a4SNeil Horman 151517f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG 151617f0f4a4SNeil Horman tristate "Pseudo Random Number Generation for Cryptographic modules" 15174e4ed83bSNeil Horman default m 151817f0f4a4SNeil Horman select CRYPTO_AES 151917f0f4a4SNeil Horman select CRYPTO_RNG 152017f0f4a4SNeil Horman help 152117f0f4a4SNeil Horman This option enables the generic pseudo random number generator 152217f0f4a4SNeil Horman for cryptographic modules. Uses the Algorithm specified in 15237dd607e8SJiri Kosina ANSI X9.31 A.2.4. Note that this option must be enabled if 15247dd607e8SJiri Kosina CRYPTO_FIPS is selected 152517f0f4a4SNeil Horman 1526f2c89a10SHerbert Xumenuconfig CRYPTO_DRBG_MENU 1527419090c6SStephan Mueller tristate "NIST SP800-90A DRBG" 1528419090c6SStephan Mueller help 1529419090c6SStephan Mueller NIST SP800-90A compliant DRBG. In the following submenu, one or 1530419090c6SStephan Mueller more of the DRBG types must be selected. 1531419090c6SStephan Mueller 1532f2c89a10SHerbert Xuif CRYPTO_DRBG_MENU 1533419090c6SStephan Mueller 1534419090c6SStephan Muellerconfig CRYPTO_DRBG_HMAC 1535419090c6SStephan Mueller bool "Enable HMAC DRBG" 1536419090c6SStephan Mueller default y 1537419090c6SStephan Mueller select CRYPTO_HMAC 1538419090c6SStephan Mueller help 1539419090c6SStephan Mueller Enable the HMAC DRBG variant as defined in NIST SP800-90A. 1540419090c6SStephan Mueller 1541419090c6SStephan Muellerconfig CRYPTO_DRBG_HASH 1542419090c6SStephan Mueller bool "Enable Hash DRBG" 1543419090c6SStephan Mueller select CRYPTO_HASH 1544419090c6SStephan Mueller help 1545419090c6SStephan Mueller Enable the Hash DRBG variant as defined in NIST SP800-90A. 1546419090c6SStephan Mueller 1547419090c6SStephan Muellerconfig CRYPTO_DRBG_CTR 1548419090c6SStephan Mueller bool "Enable CTR DRBG" 1549419090c6SStephan Mueller select CRYPTO_AES 1550419090c6SStephan Mueller help 1551419090c6SStephan Mueller Enable the CTR DRBG variant as defined in NIST SP800-90A. 1552419090c6SStephan Mueller 1553f2c89a10SHerbert Xuconfig CRYPTO_DRBG 1554f2c89a10SHerbert Xu tristate 1555f2c89a10SHerbert Xu default CRYPTO_DRBG_MENU if (CRYPTO_DRBG_HMAC || CRYPTO_DRBG_HASH || CRYPTO_DRBG_CTR) 1556f2c89a10SHerbert Xu select CRYPTO_RNG 1557f2c89a10SHerbert Xu 1558f2c89a10SHerbert Xuendif # if CRYPTO_DRBG_MENU 1559419090c6SStephan Mueller 156003c8efc1SHerbert Xuconfig CRYPTO_USER_API 156103c8efc1SHerbert Xu tristate 156203c8efc1SHerbert Xu 1563fe869cdbSHerbert Xuconfig CRYPTO_USER_API_HASH 1564fe869cdbSHerbert Xu tristate "User-space interface for hash algorithms" 15657451708fSHerbert Xu depends on NET 1566fe869cdbSHerbert Xu select CRYPTO_HASH 1567fe869cdbSHerbert Xu select CRYPTO_USER_API 1568fe869cdbSHerbert Xu help 1569fe869cdbSHerbert Xu This option enables the user-spaces interface for hash 1570fe869cdbSHerbert Xu algorithms. 1571fe869cdbSHerbert Xu 15728ff59090SHerbert Xuconfig CRYPTO_USER_API_SKCIPHER 15738ff59090SHerbert Xu tristate "User-space interface for symmetric key cipher algorithms" 15747451708fSHerbert Xu depends on NET 15758ff59090SHerbert Xu select CRYPTO_BLKCIPHER 15768ff59090SHerbert Xu select CRYPTO_USER_API 15778ff59090SHerbert Xu help 15788ff59090SHerbert Xu This option enables the user-spaces interface for symmetric 15798ff59090SHerbert Xu key cipher algorithms. 15808ff59090SHerbert Xu 15812f375538SStephan Muellerconfig CRYPTO_USER_API_RNG 15822f375538SStephan Mueller tristate "User-space interface for random number generator algorithms" 15832f375538SStephan Mueller depends on NET 15842f375538SStephan Mueller select CRYPTO_RNG 15852f375538SStephan Mueller select CRYPTO_USER_API 15862f375538SStephan Mueller help 15872f375538SStephan Mueller This option enables the user-spaces interface for random 15882f375538SStephan Mueller number generator algorithms. 15892f375538SStephan Mueller 159044cac4fcSStephan Muellerconfig CRYPTO_USER_API_AEAD 159144cac4fcSStephan Mueller tristate "User-space interface for AEAD cipher algorithms" 159244cac4fcSStephan Mueller depends on NET 159344cac4fcSStephan Mueller select CRYPTO_AEAD 159444cac4fcSStephan Mueller select CRYPTO_USER_API 159544cac4fcSStephan Mueller help 159644cac4fcSStephan Mueller This option enables the user-spaces interface for AEAD 159744cac4fcSStephan Mueller cipher algorithms. 159844cac4fcSStephan Mueller 1599ee08997fSDmitry Kasatkinconfig CRYPTO_HASH_INFO 1600ee08997fSDmitry Kasatkin bool 1601ee08997fSDmitry Kasatkin 16021da177e4SLinus Torvaldssource "drivers/crypto/Kconfig" 1603964f3b3bSDavid Howellssource crypto/asymmetric_keys/Kconfig 16041da177e4SLinus Torvalds 1605cce9e06dSHerbert Xuendif # if CRYPTO 1606