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 224856e3f40SHerbert Xu select CRYPTO_NULL 225a0f000ecSHerbert Xu select CRYPTO_RNG 226584fffc8SSebastian Siewior help 227584fffc8SSebastian Siewior This IV generator generates an IV based on a sequence number by 228584fffc8SSebastian Siewior xoring it with a salt. This algorithm is mainly useful for CTR 229584fffc8SSebastian Siewior 230*a10f554fSHerbert Xuconfig CRYPTO_ECHAINIV 231*a10f554fSHerbert Xu tristate "Encrypted Chain IV Generator" 232*a10f554fSHerbert Xu select CRYPTO_AEAD 233*a10f554fSHerbert Xu select CRYPTO_NULL 234*a10f554fSHerbert Xu select CRYPTO_RNG 235*a10f554fSHerbert Xu help 236*a10f554fSHerbert Xu This IV generator generates an IV based on the encryption of 237*a10f554fSHerbert Xu a sequence number xored with a salt. This is the default 238*a10f554fSHerbert Xu algorithm for CBC. 239*a10f554fSHerbert Xu 240584fffc8SSebastian Siewiorcomment "Block modes" 241584fffc8SSebastian Siewior 242584fffc8SSebastian Siewiorconfig CRYPTO_CBC 243584fffc8SSebastian Siewior tristate "CBC support" 244584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 245584fffc8SSebastian Siewior select CRYPTO_MANAGER 246584fffc8SSebastian Siewior help 247584fffc8SSebastian Siewior CBC: Cipher Block Chaining mode 248584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 249584fffc8SSebastian Siewior 250584fffc8SSebastian Siewiorconfig CRYPTO_CTR 251584fffc8SSebastian Siewior tristate "CTR support" 252584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 253584fffc8SSebastian Siewior select CRYPTO_SEQIV 254584fffc8SSebastian Siewior select CRYPTO_MANAGER 255584fffc8SSebastian Siewior help 256584fffc8SSebastian Siewior CTR: Counter mode 257584fffc8SSebastian Siewior This block cipher algorithm is required for IPSec. 258584fffc8SSebastian Siewior 259584fffc8SSebastian Siewiorconfig CRYPTO_CTS 260584fffc8SSebastian Siewior tristate "CTS support" 261584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 262584fffc8SSebastian Siewior help 263584fffc8SSebastian Siewior CTS: Cipher Text Stealing 264584fffc8SSebastian Siewior This is the Cipher Text Stealing mode as described by 265584fffc8SSebastian Siewior Section 8 of rfc2040 and referenced by rfc3962. 266584fffc8SSebastian Siewior (rfc3962 includes errata information in its Appendix A) 267584fffc8SSebastian Siewior This mode is required for Kerberos gss mechanism support 268584fffc8SSebastian Siewior for AES encryption. 269584fffc8SSebastian Siewior 270584fffc8SSebastian Siewiorconfig CRYPTO_ECB 271584fffc8SSebastian Siewior tristate "ECB support" 272584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 273584fffc8SSebastian Siewior select CRYPTO_MANAGER 274584fffc8SSebastian Siewior help 275584fffc8SSebastian Siewior ECB: Electronic CodeBook mode 276584fffc8SSebastian Siewior This is the simplest block cipher algorithm. It simply encrypts 277584fffc8SSebastian Siewior the input block by block. 278584fffc8SSebastian Siewior 279584fffc8SSebastian Siewiorconfig CRYPTO_LRW 2802470a2b2SJussi Kivilinna tristate "LRW support" 281584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 282584fffc8SSebastian Siewior select CRYPTO_MANAGER 283584fffc8SSebastian Siewior select CRYPTO_GF128MUL 284584fffc8SSebastian Siewior help 285584fffc8SSebastian Siewior LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable 286584fffc8SSebastian Siewior narrow block cipher mode for dm-crypt. Use it with cipher 287584fffc8SSebastian Siewior specification string aes-lrw-benbi, the key must be 256, 320 or 384. 288584fffc8SSebastian Siewior The first 128, 192 or 256 bits in the key are used for AES and the 289584fffc8SSebastian Siewior rest is used to tie each cipher block to its logical position. 290584fffc8SSebastian Siewior 291584fffc8SSebastian Siewiorconfig CRYPTO_PCBC 292584fffc8SSebastian Siewior tristate "PCBC support" 293584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 294584fffc8SSebastian Siewior select CRYPTO_MANAGER 295584fffc8SSebastian Siewior help 296584fffc8SSebastian Siewior PCBC: Propagating Cipher Block Chaining mode 297584fffc8SSebastian Siewior This block cipher algorithm is required for RxRPC. 298584fffc8SSebastian Siewior 299584fffc8SSebastian Siewiorconfig CRYPTO_XTS 3005bcf8e6dSJussi Kivilinna tristate "XTS support" 301584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 302584fffc8SSebastian Siewior select CRYPTO_MANAGER 303584fffc8SSebastian Siewior select CRYPTO_GF128MUL 304584fffc8SSebastian Siewior help 305584fffc8SSebastian Siewior XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, 306584fffc8SSebastian Siewior key size 256, 384 or 512 bits. This implementation currently 307584fffc8SSebastian Siewior can't handle a sectorsize which is not a multiple of 16 bytes. 308584fffc8SSebastian Siewior 309584fffc8SSebastian Siewiorcomment "Hash modes" 310584fffc8SSebastian Siewior 31193b5e86aSJussi Kivilinnaconfig CRYPTO_CMAC 31293b5e86aSJussi Kivilinna tristate "CMAC support" 31393b5e86aSJussi Kivilinna select CRYPTO_HASH 31493b5e86aSJussi Kivilinna select CRYPTO_MANAGER 31593b5e86aSJussi Kivilinna help 31693b5e86aSJussi Kivilinna Cipher-based Message Authentication Code (CMAC) specified by 31793b5e86aSJussi Kivilinna The National Institute of Standards and Technology (NIST). 31893b5e86aSJussi Kivilinna 31993b5e86aSJussi Kivilinna https://tools.ietf.org/html/rfc4493 32093b5e86aSJussi Kivilinna http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf 32193b5e86aSJussi Kivilinna 3221da177e4SLinus Torvaldsconfig CRYPTO_HMAC 3238425165dSHerbert Xu tristate "HMAC support" 3240796ae06SHerbert Xu select CRYPTO_HASH 32543518407SHerbert Xu select CRYPTO_MANAGER 3261da177e4SLinus Torvalds help 3271da177e4SLinus Torvalds HMAC: Keyed-Hashing for Message Authentication (RFC2104). 3281da177e4SLinus Torvalds This is required for IPSec. 3291da177e4SLinus Torvalds 330333b0d7eSKazunori MIYAZAWAconfig CRYPTO_XCBC 331333b0d7eSKazunori MIYAZAWA tristate "XCBC support" 332333b0d7eSKazunori MIYAZAWA select CRYPTO_HASH 333333b0d7eSKazunori MIYAZAWA select CRYPTO_MANAGER 334333b0d7eSKazunori MIYAZAWA help 335333b0d7eSKazunori MIYAZAWA XCBC: Keyed-Hashing with encryption algorithm 336333b0d7eSKazunori MIYAZAWA http://www.ietf.org/rfc/rfc3566.txt 337333b0d7eSKazunori MIYAZAWA http://csrc.nist.gov/encryption/modes/proposedmodes/ 338333b0d7eSKazunori MIYAZAWA xcbc-mac/xcbc-mac-spec.pdf 339333b0d7eSKazunori MIYAZAWA 340f1939f7cSShane Wangconfig CRYPTO_VMAC 341f1939f7cSShane Wang tristate "VMAC support" 342f1939f7cSShane Wang select CRYPTO_HASH 343f1939f7cSShane Wang select CRYPTO_MANAGER 344f1939f7cSShane Wang help 345f1939f7cSShane Wang VMAC is a message authentication algorithm designed for 346f1939f7cSShane Wang very high speed on 64-bit architectures. 347f1939f7cSShane Wang 348f1939f7cSShane Wang See also: 349f1939f7cSShane Wang <http://fastcrypto.org/vmac> 350f1939f7cSShane Wang 351584fffc8SSebastian Siewiorcomment "Digest" 352584fffc8SSebastian Siewior 353584fffc8SSebastian Siewiorconfig CRYPTO_CRC32C 354584fffc8SSebastian Siewior tristate "CRC32c CRC algorithm" 3555773a3e6SHerbert Xu select CRYPTO_HASH 3566a0962b2SDarrick J. Wong select CRC32 3571da177e4SLinus Torvalds help 358584fffc8SSebastian Siewior Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used 359584fffc8SSebastian Siewior by iSCSI for header and data digests and by others. 36069c35efcSHerbert Xu See Castagnoli93. Module will be crc32c. 3611da177e4SLinus Torvalds 3628cb51ba8SAustin Zhangconfig CRYPTO_CRC32C_INTEL 3638cb51ba8SAustin Zhang tristate "CRC32c INTEL hardware acceleration" 3648cb51ba8SAustin Zhang depends on X86 3658cb51ba8SAustin Zhang select CRYPTO_HASH 3668cb51ba8SAustin Zhang help 3678cb51ba8SAustin Zhang In Intel processor with SSE4.2 supported, the processor will 3688cb51ba8SAustin Zhang support CRC32C implementation using hardware accelerated CRC32 3698cb51ba8SAustin Zhang instruction. This option will create 'crc32c-intel' module, 3708cb51ba8SAustin Zhang which will enable any routine to use the CRC32 instruction to 3718cb51ba8SAustin Zhang gain performance compared with software implementation. 3728cb51ba8SAustin Zhang Module will be crc32c-intel. 3738cb51ba8SAustin Zhang 374442a7c40SDavid S. Millerconfig CRYPTO_CRC32C_SPARC64 375442a7c40SDavid S. Miller tristate "CRC32c CRC algorithm (SPARC64)" 376442a7c40SDavid S. Miller depends on SPARC64 377442a7c40SDavid S. Miller select CRYPTO_HASH 378442a7c40SDavid S. Miller select CRC32 379442a7c40SDavid S. Miller help 380442a7c40SDavid S. Miller CRC32c CRC algorithm implemented using sparc64 crypto instructions, 381442a7c40SDavid S. Miller when available. 382442a7c40SDavid S. Miller 38378c37d19SAlexander Boykoconfig CRYPTO_CRC32 38478c37d19SAlexander Boyko tristate "CRC32 CRC algorithm" 38578c37d19SAlexander Boyko select CRYPTO_HASH 38678c37d19SAlexander Boyko select CRC32 38778c37d19SAlexander Boyko help 38878c37d19SAlexander Boyko CRC-32-IEEE 802.3 cyclic redundancy-check algorithm. 38978c37d19SAlexander Boyko Shash crypto api wrappers to crc32_le function. 39078c37d19SAlexander Boyko 39178c37d19SAlexander Boykoconfig CRYPTO_CRC32_PCLMUL 39278c37d19SAlexander Boyko tristate "CRC32 PCLMULQDQ hardware acceleration" 39378c37d19SAlexander Boyko depends on X86 39478c37d19SAlexander Boyko select CRYPTO_HASH 39578c37d19SAlexander Boyko select CRC32 39678c37d19SAlexander Boyko help 39778c37d19SAlexander Boyko From Intel Westmere and AMD Bulldozer processor with SSE4.2 39878c37d19SAlexander Boyko and PCLMULQDQ supported, the processor will support 39978c37d19SAlexander Boyko CRC32 PCLMULQDQ implementation using hardware accelerated PCLMULQDQ 40078c37d19SAlexander Boyko instruction. This option will create 'crc32-plcmul' module, 40178c37d19SAlexander Boyko which will enable any routine to use the CRC-32-IEEE 802.3 checksum 40278c37d19SAlexander Boyko and gain better performance as compared with the table implementation. 40378c37d19SAlexander Boyko 40468411521SHerbert Xuconfig CRYPTO_CRCT10DIF 40568411521SHerbert Xu tristate "CRCT10DIF algorithm" 40668411521SHerbert Xu select CRYPTO_HASH 40768411521SHerbert Xu help 40868411521SHerbert Xu CRC T10 Data Integrity Field computation is being cast as 40968411521SHerbert Xu a crypto transform. This allows for faster crc t10 diff 41068411521SHerbert Xu transforms to be used if they are available. 41168411521SHerbert Xu 41268411521SHerbert Xuconfig CRYPTO_CRCT10DIF_PCLMUL 41368411521SHerbert Xu tristate "CRCT10DIF PCLMULQDQ hardware acceleration" 41468411521SHerbert Xu depends on X86 && 64BIT && CRC_T10DIF 41568411521SHerbert Xu select CRYPTO_HASH 41668411521SHerbert Xu help 41768411521SHerbert Xu For x86_64 processors with SSE4.2 and PCLMULQDQ supported, 41868411521SHerbert Xu CRC T10 DIF PCLMULQDQ computation can be hardware 41968411521SHerbert Xu accelerated PCLMULQDQ instruction. This option will create 42068411521SHerbert Xu 'crct10dif-plcmul' module, which is faster when computing the 42168411521SHerbert Xu crct10dif checksum as compared with the generic table implementation. 42268411521SHerbert Xu 4232cdc6899SHuang Yingconfig CRYPTO_GHASH 4242cdc6899SHuang Ying tristate "GHASH digest algorithm" 4252cdc6899SHuang Ying select CRYPTO_GF128MUL 4262cdc6899SHuang Ying help 4272cdc6899SHuang Ying GHASH is message digest algorithm for GCM (Galois/Counter Mode). 4282cdc6899SHuang Ying 4291da177e4SLinus Torvaldsconfig CRYPTO_MD4 4301da177e4SLinus Torvalds tristate "MD4 digest algorithm" 431808a1763SAdrian-Ken Rueegsegger select CRYPTO_HASH 4321da177e4SLinus Torvalds help 4331da177e4SLinus Torvalds MD4 message digest algorithm (RFC1320). 4341da177e4SLinus Torvalds 4351da177e4SLinus Torvaldsconfig CRYPTO_MD5 4361da177e4SLinus Torvalds tristate "MD5 digest algorithm" 43714b75ba7SAdrian-Ken Rueegsegger select CRYPTO_HASH 4381da177e4SLinus Torvalds help 4391da177e4SLinus Torvalds MD5 message digest algorithm (RFC1321). 4401da177e4SLinus Torvalds 441d69e75deSAaro Koskinenconfig CRYPTO_MD5_OCTEON 442d69e75deSAaro Koskinen tristate "MD5 digest algorithm (OCTEON)" 443d69e75deSAaro Koskinen depends on CPU_CAVIUM_OCTEON 444d69e75deSAaro Koskinen select CRYPTO_MD5 445d69e75deSAaro Koskinen select CRYPTO_HASH 446d69e75deSAaro Koskinen help 447d69e75deSAaro Koskinen MD5 message digest algorithm (RFC1321) implemented 448d69e75deSAaro Koskinen using OCTEON crypto instructions, when available. 449d69e75deSAaro Koskinen 450e8e59953SMarkus Stockhausenconfig CRYPTO_MD5_PPC 451e8e59953SMarkus Stockhausen tristate "MD5 digest algorithm (PPC)" 452e8e59953SMarkus Stockhausen depends on PPC 453e8e59953SMarkus Stockhausen select CRYPTO_HASH 454e8e59953SMarkus Stockhausen help 455e8e59953SMarkus Stockhausen MD5 message digest algorithm (RFC1321) implemented 456e8e59953SMarkus Stockhausen in PPC assembler. 457e8e59953SMarkus Stockhausen 458fa4dfedcSDavid S. Millerconfig CRYPTO_MD5_SPARC64 459fa4dfedcSDavid S. Miller tristate "MD5 digest algorithm (SPARC64)" 460fa4dfedcSDavid S. Miller depends on SPARC64 461fa4dfedcSDavid S. Miller select CRYPTO_MD5 462fa4dfedcSDavid S. Miller select CRYPTO_HASH 463fa4dfedcSDavid S. Miller help 464fa4dfedcSDavid S. Miller MD5 message digest algorithm (RFC1321) implemented 465fa4dfedcSDavid S. Miller using sparc64 crypto instructions, when available. 466fa4dfedcSDavid S. Miller 467584fffc8SSebastian Siewiorconfig CRYPTO_MICHAEL_MIC 468584fffc8SSebastian Siewior tristate "Michael MIC keyed digest algorithm" 46919e2bf14SAdrian-Ken Rueegsegger select CRYPTO_HASH 470584fffc8SSebastian Siewior help 471584fffc8SSebastian Siewior Michael MIC is used for message integrity protection in TKIP 472584fffc8SSebastian Siewior (IEEE 802.11i). This algorithm is required for TKIP, but it 473584fffc8SSebastian Siewior should not be used for other purposes because of the weakness 474584fffc8SSebastian Siewior of the algorithm. 475584fffc8SSebastian Siewior 47682798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD128 47782798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-128 digest algorithm" 4787c4468bcSHerbert Xu select CRYPTO_HASH 47982798f90SAdrian-Ken Rueegsegger help 48082798f90SAdrian-Ken Rueegsegger RIPEMD-128 (ISO/IEC 10118-3:2004). 48182798f90SAdrian-Ken Rueegsegger 48282798f90SAdrian-Ken Rueegsegger RIPEMD-128 is a 128-bit cryptographic hash function. It should only 48335ed4b35SMichael Witten be used as a secure replacement for RIPEMD. For other use cases, 48482798f90SAdrian-Ken Rueegsegger RIPEMD-160 should be used. 48582798f90SAdrian-Ken Rueegsegger 48682798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 4876d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 48882798f90SAdrian-Ken Rueegsegger 48982798f90SAdrian-Ken Rueegseggerconfig CRYPTO_RMD160 49082798f90SAdrian-Ken Rueegsegger tristate "RIPEMD-160 digest algorithm" 491e5835fbaSHerbert Xu select CRYPTO_HASH 49282798f90SAdrian-Ken Rueegsegger help 49382798f90SAdrian-Ken Rueegsegger RIPEMD-160 (ISO/IEC 10118-3:2004). 49482798f90SAdrian-Ken Rueegsegger 49582798f90SAdrian-Ken Rueegsegger RIPEMD-160 is a 160-bit cryptographic hash function. It is intended 49682798f90SAdrian-Ken Rueegsegger to be used as a secure replacement for the 128-bit hash functions 497b6d44341SAdrian Bunk MD4, MD5 and it's predecessor RIPEMD 498b6d44341SAdrian Bunk (not to be confused with RIPEMD-128). 49982798f90SAdrian-Ken Rueegsegger 500b6d44341SAdrian Bunk It's speed is comparable to SHA1 and there are no known attacks 501b6d44341SAdrian Bunk against RIPEMD-160. 502534fe2c1SAdrian-Ken Rueegsegger 503534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 5046d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 505534fe2c1SAdrian-Ken Rueegsegger 506534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD256 507534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-256 digest algorithm" 508d8a5e2e9SHerbert Xu select CRYPTO_HASH 509534fe2c1SAdrian-Ken Rueegsegger help 510b6d44341SAdrian Bunk RIPEMD-256 is an optional extension of RIPEMD-128 with a 511b6d44341SAdrian Bunk 256 bit hash. It is intended for applications that require 512b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 513b6d44341SAdrian Bunk (than RIPEMD-128). 514534fe2c1SAdrian-Ken Rueegsegger 515534fe2c1SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 5166d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 517534fe2c1SAdrian-Ken Rueegsegger 518534fe2c1SAdrian-Ken Rueegseggerconfig CRYPTO_RMD320 519534fe2c1SAdrian-Ken Rueegsegger tristate "RIPEMD-320 digest algorithm" 5203b8efb4cSHerbert Xu select CRYPTO_HASH 521534fe2c1SAdrian-Ken Rueegsegger help 522b6d44341SAdrian Bunk RIPEMD-320 is an optional extension of RIPEMD-160 with a 523b6d44341SAdrian Bunk 320 bit hash. It is intended for applications that require 524b6d44341SAdrian Bunk longer hash-results, without needing a larger security level 525b6d44341SAdrian Bunk (than RIPEMD-160). 526534fe2c1SAdrian-Ken Rueegsegger 52782798f90SAdrian-Ken Rueegsegger Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. 5286d8de74cSJustin P. Mattock See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> 52982798f90SAdrian-Ken Rueegsegger 5301da177e4SLinus Torvaldsconfig CRYPTO_SHA1 5311da177e4SLinus Torvalds tristate "SHA1 digest algorithm" 53254ccb367SAdrian-Ken Rueegsegger select CRYPTO_HASH 5331da177e4SLinus Torvalds help 5341da177e4SLinus Torvalds SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 5351da177e4SLinus Torvalds 53666be8951SMathias Krauseconfig CRYPTO_SHA1_SSSE3 5377c1da8d0Schandramouli narayanan tristate "SHA1 digest algorithm (SSSE3/AVX/AVX2)" 53866be8951SMathias Krause depends on X86 && 64BIT 53966be8951SMathias Krause select CRYPTO_SHA1 54066be8951SMathias Krause select CRYPTO_HASH 54166be8951SMathias Krause help 54266be8951SMathias Krause SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 54366be8951SMathias Krause using Supplemental SSE3 (SSSE3) instructions or Advanced Vector 5447c1da8d0Schandramouli narayanan Extensions (AVX/AVX2), when available. 54566be8951SMathias Krause 5468275d1aaSTim Chenconfig CRYPTO_SHA256_SSSE3 5478275d1aaSTim Chen tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2)" 5488275d1aaSTim Chen depends on X86 && 64BIT 5498275d1aaSTim Chen select CRYPTO_SHA256 5508275d1aaSTim Chen select CRYPTO_HASH 5518275d1aaSTim Chen help 5528275d1aaSTim Chen SHA-256 secure hash standard (DFIPS 180-2) implemented 5538275d1aaSTim Chen using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector 5548275d1aaSTim Chen Extensions version 1 (AVX1), or Advanced Vector Extensions 5558275d1aaSTim Chen version 2 (AVX2) instructions, when available. 5568275d1aaSTim Chen 55787de4579STim Chenconfig CRYPTO_SHA512_SSSE3 55887de4579STim Chen tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)" 55987de4579STim Chen depends on X86 && 64BIT 56087de4579STim Chen select CRYPTO_SHA512 56187de4579STim Chen select CRYPTO_HASH 56287de4579STim Chen help 56387de4579STim Chen SHA-512 secure hash standard (DFIPS 180-2) implemented 56487de4579STim Chen using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector 56587de4579STim Chen Extensions version 1 (AVX1), or Advanced Vector Extensions 56687de4579STim Chen version 2 (AVX2) instructions, when available. 56787de4579STim Chen 568efdb6f6eSAaro Koskinenconfig CRYPTO_SHA1_OCTEON 569efdb6f6eSAaro Koskinen tristate "SHA1 digest algorithm (OCTEON)" 570efdb6f6eSAaro Koskinen depends on CPU_CAVIUM_OCTEON 571efdb6f6eSAaro Koskinen select CRYPTO_SHA1 572efdb6f6eSAaro Koskinen select CRYPTO_HASH 573efdb6f6eSAaro Koskinen help 574efdb6f6eSAaro Koskinen SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 575efdb6f6eSAaro Koskinen using OCTEON crypto instructions, when available. 576efdb6f6eSAaro Koskinen 5774ff28d4cSDavid S. Millerconfig CRYPTO_SHA1_SPARC64 5784ff28d4cSDavid S. Miller tristate "SHA1 digest algorithm (SPARC64)" 5794ff28d4cSDavid S. Miller depends on SPARC64 5804ff28d4cSDavid S. Miller select CRYPTO_SHA1 5814ff28d4cSDavid S. Miller select CRYPTO_HASH 5824ff28d4cSDavid S. Miller help 5834ff28d4cSDavid S. Miller SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 5844ff28d4cSDavid S. Miller using sparc64 crypto instructions, when available. 5854ff28d4cSDavid S. Miller 586323a6bf1SMichael Ellermanconfig CRYPTO_SHA1_PPC 587323a6bf1SMichael Ellerman tristate "SHA1 digest algorithm (powerpc)" 588323a6bf1SMichael Ellerman depends on PPC 589323a6bf1SMichael Ellerman help 590323a6bf1SMichael Ellerman This is the powerpc hardware accelerated implementation of the 591323a6bf1SMichael Ellerman SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). 592323a6bf1SMichael Ellerman 593d9850fc5SMarkus Stockhausenconfig CRYPTO_SHA1_PPC_SPE 594d9850fc5SMarkus Stockhausen tristate "SHA1 digest algorithm (PPC SPE)" 595d9850fc5SMarkus Stockhausen depends on PPC && SPE 596d9850fc5SMarkus Stockhausen help 597d9850fc5SMarkus Stockhausen SHA-1 secure hash standard (DFIPS 180-4) implemented 598d9850fc5SMarkus Stockhausen using powerpc SPE SIMD instruction set. 599d9850fc5SMarkus Stockhausen 6001e65b81aSTim Chenconfig CRYPTO_SHA1_MB 6011e65b81aSTim Chen tristate "SHA1 digest algorithm (x86_64 Multi-Buffer, Experimental)" 6021e65b81aSTim Chen depends on X86 && 64BIT 6031e65b81aSTim Chen select CRYPTO_SHA1 6041e65b81aSTim Chen select CRYPTO_HASH 6051e65b81aSTim Chen select CRYPTO_MCRYPTD 6061e65b81aSTim Chen help 6071e65b81aSTim Chen SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 6081e65b81aSTim Chen using multi-buffer technique. This algorithm computes on 6091e65b81aSTim Chen multiple data lanes concurrently with SIMD instructions for 6101e65b81aSTim Chen better throughput. It should not be enabled by default but 6111e65b81aSTim Chen used when there is significant amount of work to keep the keep 6121e65b81aSTim Chen the data lanes filled to get performance benefit. If the data 6131e65b81aSTim Chen lanes remain unfilled, a flush operation will be initiated to 6141e65b81aSTim Chen process the crypto jobs, adding a slight latency. 6151e65b81aSTim Chen 6161da177e4SLinus Torvaldsconfig CRYPTO_SHA256 617cd12fb90SJonathan Lynch tristate "SHA224 and SHA256 digest algorithm" 61850e109b5SAdrian-Ken Rueegsegger select CRYPTO_HASH 6191da177e4SLinus Torvalds help 6201da177e4SLinus Torvalds SHA256 secure hash standard (DFIPS 180-2). 6211da177e4SLinus Torvalds 6221da177e4SLinus Torvalds This version of SHA implements a 256 bit hash with 128 bits of 6231da177e4SLinus Torvalds security against collision attacks. 6241da177e4SLinus Torvalds 625cd12fb90SJonathan Lynch This code also includes SHA-224, a 224 bit hash with 112 bits 626cd12fb90SJonathan Lynch of security against collision attacks. 627cd12fb90SJonathan Lynch 6282ecc1e95SMarkus Stockhausenconfig CRYPTO_SHA256_PPC_SPE 6292ecc1e95SMarkus Stockhausen tristate "SHA224 and SHA256 digest algorithm (PPC SPE)" 6302ecc1e95SMarkus Stockhausen depends on PPC && SPE 6312ecc1e95SMarkus Stockhausen select CRYPTO_SHA256 6322ecc1e95SMarkus Stockhausen select CRYPTO_HASH 6332ecc1e95SMarkus Stockhausen help 6342ecc1e95SMarkus Stockhausen SHA224 and SHA256 secure hash standard (DFIPS 180-2) 6352ecc1e95SMarkus Stockhausen implemented using powerpc SPE SIMD instruction set. 6362ecc1e95SMarkus Stockhausen 637efdb6f6eSAaro Koskinenconfig CRYPTO_SHA256_OCTEON 638efdb6f6eSAaro Koskinen tristate "SHA224 and SHA256 digest algorithm (OCTEON)" 639efdb6f6eSAaro Koskinen depends on CPU_CAVIUM_OCTEON 640efdb6f6eSAaro Koskinen select CRYPTO_SHA256 641efdb6f6eSAaro Koskinen select CRYPTO_HASH 642efdb6f6eSAaro Koskinen help 643efdb6f6eSAaro Koskinen SHA-256 secure hash standard (DFIPS 180-2) implemented 644efdb6f6eSAaro Koskinen using OCTEON crypto instructions, when available. 645efdb6f6eSAaro Koskinen 64686c93b24SDavid S. Millerconfig CRYPTO_SHA256_SPARC64 64786c93b24SDavid S. Miller tristate "SHA224 and SHA256 digest algorithm (SPARC64)" 64886c93b24SDavid S. Miller depends on SPARC64 64986c93b24SDavid S. Miller select CRYPTO_SHA256 65086c93b24SDavid S. Miller select CRYPTO_HASH 65186c93b24SDavid S. Miller help 65286c93b24SDavid S. Miller SHA-256 secure hash standard (DFIPS 180-2) implemented 65386c93b24SDavid S. Miller using sparc64 crypto instructions, when available. 65486c93b24SDavid S. Miller 6551da177e4SLinus Torvaldsconfig CRYPTO_SHA512 6561da177e4SLinus Torvalds tristate "SHA384 and SHA512 digest algorithms" 657bd9d20dbSAdrian-Ken Rueegsegger select CRYPTO_HASH 6581da177e4SLinus Torvalds help 6591da177e4SLinus Torvalds SHA512 secure hash standard (DFIPS 180-2). 6601da177e4SLinus Torvalds 6611da177e4SLinus Torvalds This version of SHA implements a 512 bit hash with 256 bits of 6621da177e4SLinus Torvalds security against collision attacks. 6631da177e4SLinus Torvalds 6641da177e4SLinus Torvalds This code also includes SHA-384, a 384 bit hash with 192 bits 6651da177e4SLinus Torvalds of security against collision attacks. 6661da177e4SLinus Torvalds 667efdb6f6eSAaro Koskinenconfig CRYPTO_SHA512_OCTEON 668efdb6f6eSAaro Koskinen tristate "SHA384 and SHA512 digest algorithms (OCTEON)" 669efdb6f6eSAaro Koskinen depends on CPU_CAVIUM_OCTEON 670efdb6f6eSAaro Koskinen select CRYPTO_SHA512 671efdb6f6eSAaro Koskinen select CRYPTO_HASH 672efdb6f6eSAaro Koskinen help 673efdb6f6eSAaro Koskinen SHA-512 secure hash standard (DFIPS 180-2) implemented 674efdb6f6eSAaro Koskinen using OCTEON crypto instructions, when available. 675efdb6f6eSAaro Koskinen 676775e0c69SDavid S. Millerconfig CRYPTO_SHA512_SPARC64 677775e0c69SDavid S. Miller tristate "SHA384 and SHA512 digest algorithm (SPARC64)" 678775e0c69SDavid S. Miller depends on SPARC64 679775e0c69SDavid S. Miller select CRYPTO_SHA512 680775e0c69SDavid S. Miller select CRYPTO_HASH 681775e0c69SDavid S. Miller help 682775e0c69SDavid S. Miller SHA-512 secure hash standard (DFIPS 180-2) implemented 683775e0c69SDavid S. Miller using sparc64 crypto instructions, when available. 684775e0c69SDavid S. Miller 6851da177e4SLinus Torvaldsconfig CRYPTO_TGR192 6861da177e4SLinus Torvalds tristate "Tiger digest algorithms" 687f63fbd3dSAdrian-Ken Rueegsegger select CRYPTO_HASH 6881da177e4SLinus Torvalds help 6891da177e4SLinus Torvalds Tiger hash algorithm 192, 160 and 128-bit hashes 6901da177e4SLinus Torvalds 6911da177e4SLinus Torvalds Tiger is a hash function optimized for 64-bit processors while 6921da177e4SLinus Torvalds still having decent performance on 32-bit processors. 6931da177e4SLinus Torvalds Tiger was developed by Ross Anderson and Eli Biham. 6941da177e4SLinus Torvalds 6951da177e4SLinus Torvalds See also: 6961da177e4SLinus Torvalds <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. 6971da177e4SLinus Torvalds 698584fffc8SSebastian Siewiorconfig CRYPTO_WP512 699584fffc8SSebastian Siewior tristate "Whirlpool digest algorithms" 7004946510bSAdrian-Ken Rueegsegger select CRYPTO_HASH 7011da177e4SLinus Torvalds help 702584fffc8SSebastian Siewior Whirlpool hash algorithm 512, 384 and 256-bit hashes 7031da177e4SLinus Torvalds 704584fffc8SSebastian Siewior Whirlpool-512 is part of the NESSIE cryptographic primitives. 705584fffc8SSebastian Siewior Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard 7061da177e4SLinus Torvalds 7071da177e4SLinus Torvalds See also: 7086d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html> 7091da177e4SLinus Torvalds 7100e1227d3SHuang Yingconfig CRYPTO_GHASH_CLMUL_NI_INTEL 7110e1227d3SHuang Ying tristate "GHASH digest algorithm (CLMUL-NI accelerated)" 7128af00860SRichard Weinberger depends on X86 && 64BIT 7130e1227d3SHuang Ying select CRYPTO_CRYPTD 7140e1227d3SHuang Ying help 7150e1227d3SHuang Ying GHASH is message digest algorithm for GCM (Galois/Counter Mode). 7160e1227d3SHuang Ying The implementation is accelerated by CLMUL-NI of Intel. 7170e1227d3SHuang Ying 718584fffc8SSebastian Siewiorcomment "Ciphers" 7191da177e4SLinus Torvalds 7201da177e4SLinus Torvaldsconfig CRYPTO_AES 7211da177e4SLinus Torvalds tristate "AES cipher algorithms" 722cce9e06dSHerbert Xu select CRYPTO_ALGAPI 7231da177e4SLinus Torvalds help 7241da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 7251da177e4SLinus Torvalds algorithm. 7261da177e4SLinus Torvalds 7271da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 7281da177e4SLinus Torvalds both hardware and software across a wide range of computing 7291da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 7301da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 7311da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 7321da177e4SLinus Torvalds suited for restricted-space environments, in which it also 7331da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 7341da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 7351da177e4SLinus Torvalds 7361da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 7371da177e4SLinus Torvalds 7381da177e4SLinus Torvalds See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. 7391da177e4SLinus Torvalds 7401da177e4SLinus Torvaldsconfig CRYPTO_AES_586 7411da177e4SLinus Torvalds tristate "AES cipher algorithms (i586)" 742cce9e06dSHerbert Xu depends on (X86 || UML_X86) && !64BIT 743cce9e06dSHerbert Xu select CRYPTO_ALGAPI 7445157dea8SSebastian Siewior select CRYPTO_AES 7451da177e4SLinus Torvalds help 7461da177e4SLinus Torvalds AES cipher algorithms (FIPS-197). AES uses the Rijndael 7471da177e4SLinus Torvalds algorithm. 7481da177e4SLinus Torvalds 7491da177e4SLinus Torvalds Rijndael appears to be consistently a very good performer in 7501da177e4SLinus Torvalds both hardware and software across a wide range of computing 7511da177e4SLinus Torvalds environments regardless of its use in feedback or non-feedback 7521da177e4SLinus Torvalds modes. Its key setup time is excellent, and its key agility is 7531da177e4SLinus Torvalds good. Rijndael's very low memory requirements make it very well 7541da177e4SLinus Torvalds suited for restricted-space environments, in which it also 7551da177e4SLinus Torvalds demonstrates excellent performance. Rijndael's operations are 7561da177e4SLinus Torvalds among the easiest to defend against power and timing attacks. 7571da177e4SLinus Torvalds 7581da177e4SLinus Torvalds The AES specifies three key sizes: 128, 192 and 256 bits 7591da177e4SLinus Torvalds 7601da177e4SLinus Torvalds See <http://csrc.nist.gov/encryption/aes/> for more information. 7611da177e4SLinus Torvalds 762a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64 763a2a892a2SAndreas Steinmetz tristate "AES cipher algorithms (x86_64)" 764cce9e06dSHerbert Xu depends on (X86 || UML_X86) && 64BIT 765cce9e06dSHerbert Xu select CRYPTO_ALGAPI 76681190b32SSebastian Siewior select CRYPTO_AES 767a2a892a2SAndreas Steinmetz help 768a2a892a2SAndreas Steinmetz AES cipher algorithms (FIPS-197). AES uses the Rijndael 769a2a892a2SAndreas Steinmetz algorithm. 770a2a892a2SAndreas Steinmetz 771a2a892a2SAndreas Steinmetz Rijndael appears to be consistently a very good performer in 772a2a892a2SAndreas Steinmetz both hardware and software across a wide range of computing 773a2a892a2SAndreas Steinmetz environments regardless of its use in feedback or non-feedback 774a2a892a2SAndreas Steinmetz modes. Its key setup time is excellent, and its key agility is 775a2a892a2SAndreas Steinmetz good. Rijndael's very low memory requirements make it very well 776a2a892a2SAndreas Steinmetz suited for restricted-space environments, in which it also 777a2a892a2SAndreas Steinmetz demonstrates excellent performance. Rijndael's operations are 778a2a892a2SAndreas Steinmetz among the easiest to defend against power and timing attacks. 779a2a892a2SAndreas Steinmetz 780a2a892a2SAndreas Steinmetz The AES specifies three key sizes: 128, 192 and 256 bits 781a2a892a2SAndreas Steinmetz 782a2a892a2SAndreas Steinmetz See <http://csrc.nist.gov/encryption/aes/> for more information. 783a2a892a2SAndreas Steinmetz 78454b6a1bdSHuang Yingconfig CRYPTO_AES_NI_INTEL 78554b6a1bdSHuang Ying tristate "AES cipher algorithms (AES-NI)" 7868af00860SRichard Weinberger depends on X86 7870d258efbSMathias Krause select CRYPTO_AES_X86_64 if 64BIT 7880d258efbSMathias Krause select CRYPTO_AES_586 if !64BIT 78954b6a1bdSHuang Ying select CRYPTO_CRYPTD 790801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 79154b6a1bdSHuang Ying select CRYPTO_ALGAPI 7927643a11aSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 if 64BIT 793023af608SJussi Kivilinna select CRYPTO_LRW 794023af608SJussi Kivilinna select CRYPTO_XTS 79554b6a1bdSHuang Ying help 79654b6a1bdSHuang Ying Use Intel AES-NI instructions for AES algorithm. 79754b6a1bdSHuang Ying 79854b6a1bdSHuang Ying AES cipher algorithms (FIPS-197). AES uses the Rijndael 79954b6a1bdSHuang Ying algorithm. 80054b6a1bdSHuang Ying 80154b6a1bdSHuang Ying Rijndael appears to be consistently a very good performer in 80254b6a1bdSHuang Ying both hardware and software across a wide range of computing 80354b6a1bdSHuang Ying environments regardless of its use in feedback or non-feedback 80454b6a1bdSHuang Ying modes. Its key setup time is excellent, and its key agility is 80554b6a1bdSHuang Ying good. Rijndael's very low memory requirements make it very well 80654b6a1bdSHuang Ying suited for restricted-space environments, in which it also 80754b6a1bdSHuang Ying demonstrates excellent performance. Rijndael's operations are 80854b6a1bdSHuang Ying among the easiest to defend against power and timing attacks. 80954b6a1bdSHuang Ying 81054b6a1bdSHuang Ying The AES specifies three key sizes: 128, 192 and 256 bits 81154b6a1bdSHuang Ying 81254b6a1bdSHuang Ying See <http://csrc.nist.gov/encryption/aes/> for more information. 81354b6a1bdSHuang Ying 8140d258efbSMathias Krause In addition to AES cipher algorithm support, the acceleration 8150d258efbSMathias Krause for some popular block cipher mode is supported too, including 8160d258efbSMathias Krause ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional 8170d258efbSMathias Krause acceleration for CTR. 8182cf4ac8bSHuang Ying 8199bf4852dSDavid S. Millerconfig CRYPTO_AES_SPARC64 8209bf4852dSDavid S. Miller tristate "AES cipher algorithms (SPARC64)" 8219bf4852dSDavid S. Miller depends on SPARC64 8229bf4852dSDavid S. Miller select CRYPTO_CRYPTD 8239bf4852dSDavid S. Miller select CRYPTO_ALGAPI 8249bf4852dSDavid S. Miller help 8259bf4852dSDavid S. Miller Use SPARC64 crypto opcodes for AES algorithm. 8269bf4852dSDavid S. Miller 8279bf4852dSDavid S. Miller AES cipher algorithms (FIPS-197). AES uses the Rijndael 8289bf4852dSDavid S. Miller algorithm. 8299bf4852dSDavid S. Miller 8309bf4852dSDavid S. Miller Rijndael appears to be consistently a very good performer in 8319bf4852dSDavid S. Miller both hardware and software across a wide range of computing 8329bf4852dSDavid S. Miller environments regardless of its use in feedback or non-feedback 8339bf4852dSDavid S. Miller modes. Its key setup time is excellent, and its key agility is 8349bf4852dSDavid S. Miller good. Rijndael's very low memory requirements make it very well 8359bf4852dSDavid S. Miller suited for restricted-space environments, in which it also 8369bf4852dSDavid S. Miller demonstrates excellent performance. Rijndael's operations are 8379bf4852dSDavid S. Miller among the easiest to defend against power and timing attacks. 8389bf4852dSDavid S. Miller 8399bf4852dSDavid S. Miller The AES specifies three key sizes: 128, 192 and 256 bits 8409bf4852dSDavid S. Miller 8419bf4852dSDavid S. Miller See <http://csrc.nist.gov/encryption/aes/> for more information. 8429bf4852dSDavid S. Miller 8439bf4852dSDavid S. Miller In addition to AES cipher algorithm support, the acceleration 8449bf4852dSDavid S. Miller for some popular block cipher mode is supported too, including 8459bf4852dSDavid S. Miller ECB and CBC. 8469bf4852dSDavid S. Miller 847504c6143SMarkus Stockhausenconfig CRYPTO_AES_PPC_SPE 848504c6143SMarkus Stockhausen tristate "AES cipher algorithms (PPC SPE)" 849504c6143SMarkus Stockhausen depends on PPC && SPE 850504c6143SMarkus Stockhausen help 851504c6143SMarkus Stockhausen AES cipher algorithms (FIPS-197). Additionally the acceleration 852504c6143SMarkus Stockhausen for popular block cipher modes ECB, CBC, CTR and XTS is supported. 853504c6143SMarkus Stockhausen This module should only be used for low power (router) devices 854504c6143SMarkus Stockhausen without hardware AES acceleration (e.g. caam crypto). It reduces the 855504c6143SMarkus Stockhausen size of the AES tables from 16KB to 8KB + 256 bytes and mitigates 856504c6143SMarkus Stockhausen timining attacks. Nevertheless it might be not as secure as other 857504c6143SMarkus Stockhausen architecture specific assembler implementations that work on 1KB 858504c6143SMarkus Stockhausen tables or 256 bytes S-boxes. 859504c6143SMarkus Stockhausen 8601da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS 8611da177e4SLinus Torvalds tristate "Anubis cipher algorithm" 862cce9e06dSHerbert Xu select CRYPTO_ALGAPI 8631da177e4SLinus Torvalds help 8641da177e4SLinus Torvalds Anubis cipher algorithm. 8651da177e4SLinus Torvalds 8661da177e4SLinus Torvalds Anubis is a variable key length cipher which can use keys from 8671da177e4SLinus Torvalds 128 bits to 320 bits in length. It was evaluated as a entrant 8681da177e4SLinus Torvalds in the NESSIE competition. 8691da177e4SLinus Torvalds 8701da177e4SLinus Torvalds See also: 8716d8de74cSJustin P. Mattock <https://www.cosic.esat.kuleuven.be/nessie/reports/> 8726d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/AnubisPage.html> 8731da177e4SLinus Torvalds 874584fffc8SSebastian Siewiorconfig CRYPTO_ARC4 875584fffc8SSebastian Siewior tristate "ARC4 cipher algorithm" 876b9b0f080SSebastian Andrzej Siewior select CRYPTO_BLKCIPHER 877e2ee95b8SHye-Shik Chang help 878584fffc8SSebastian Siewior ARC4 cipher algorithm. 879e2ee95b8SHye-Shik Chang 880584fffc8SSebastian Siewior ARC4 is a stream cipher using keys ranging from 8 bits to 2048 881584fffc8SSebastian Siewior bits in length. This algorithm is required for driver-based 882584fffc8SSebastian Siewior WEP, but it should not be for other purposes because of the 883584fffc8SSebastian Siewior weakness of the algorithm. 884584fffc8SSebastian Siewior 885584fffc8SSebastian Siewiorconfig CRYPTO_BLOWFISH 886584fffc8SSebastian Siewior tristate "Blowfish cipher algorithm" 887584fffc8SSebastian Siewior select CRYPTO_ALGAPI 88852ba867cSJussi Kivilinna select CRYPTO_BLOWFISH_COMMON 889584fffc8SSebastian Siewior help 890584fffc8SSebastian Siewior Blowfish cipher algorithm, by Bruce Schneier. 891584fffc8SSebastian Siewior 892584fffc8SSebastian Siewior This is a variable key length cipher which can use keys from 32 893584fffc8SSebastian Siewior bits to 448 bits in length. It's fast, simple and specifically 894584fffc8SSebastian Siewior designed for use on "large microprocessors". 895e2ee95b8SHye-Shik Chang 896e2ee95b8SHye-Shik Chang See also: 897584fffc8SSebastian Siewior <http://www.schneier.com/blowfish.html> 898584fffc8SSebastian Siewior 89952ba867cSJussi Kivilinnaconfig CRYPTO_BLOWFISH_COMMON 90052ba867cSJussi Kivilinna tristate 90152ba867cSJussi Kivilinna help 90252ba867cSJussi Kivilinna Common parts of the Blowfish cipher algorithm shared by the 90352ba867cSJussi Kivilinna generic c and the assembler implementations. 90452ba867cSJussi Kivilinna 90552ba867cSJussi Kivilinna See also: 90652ba867cSJussi Kivilinna <http://www.schneier.com/blowfish.html> 90752ba867cSJussi Kivilinna 90864b94ceaSJussi Kivilinnaconfig CRYPTO_BLOWFISH_X86_64 90964b94ceaSJussi Kivilinna tristate "Blowfish cipher algorithm (x86_64)" 910f21a7c19SAl Viro depends on X86 && 64BIT 91164b94ceaSJussi Kivilinna select CRYPTO_ALGAPI 91264b94ceaSJussi Kivilinna select CRYPTO_BLOWFISH_COMMON 91364b94ceaSJussi Kivilinna help 91464b94ceaSJussi Kivilinna Blowfish cipher algorithm (x86_64), by Bruce Schneier. 91564b94ceaSJussi Kivilinna 91664b94ceaSJussi Kivilinna This is a variable key length cipher which can use keys from 32 91764b94ceaSJussi Kivilinna bits to 448 bits in length. It's fast, simple and specifically 91864b94ceaSJussi Kivilinna designed for use on "large microprocessors". 91964b94ceaSJussi Kivilinna 92064b94ceaSJussi Kivilinna See also: 92164b94ceaSJussi Kivilinna <http://www.schneier.com/blowfish.html> 92264b94ceaSJussi Kivilinna 923584fffc8SSebastian Siewiorconfig CRYPTO_CAMELLIA 924584fffc8SSebastian Siewior tristate "Camellia cipher algorithms" 925584fffc8SSebastian Siewior depends on CRYPTO 926584fffc8SSebastian Siewior select CRYPTO_ALGAPI 927584fffc8SSebastian Siewior help 928584fffc8SSebastian Siewior Camellia cipher algorithms module. 929584fffc8SSebastian Siewior 930584fffc8SSebastian Siewior Camellia is a symmetric key block cipher developed jointly 931584fffc8SSebastian Siewior at NTT and Mitsubishi Electric Corporation. 932584fffc8SSebastian Siewior 933584fffc8SSebastian Siewior The Camellia specifies three key sizes: 128, 192 and 256 bits. 934584fffc8SSebastian Siewior 935584fffc8SSebastian Siewior See also: 936584fffc8SSebastian Siewior <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 937584fffc8SSebastian Siewior 9380b95ec56SJussi Kivilinnaconfig CRYPTO_CAMELLIA_X86_64 9390b95ec56SJussi Kivilinna tristate "Camellia cipher algorithm (x86_64)" 940f21a7c19SAl Viro depends on X86 && 64BIT 9410b95ec56SJussi Kivilinna depends on CRYPTO 9420b95ec56SJussi Kivilinna select CRYPTO_ALGAPI 943964263afSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 9440b95ec56SJussi Kivilinna select CRYPTO_LRW 9450b95ec56SJussi Kivilinna select CRYPTO_XTS 9460b95ec56SJussi Kivilinna help 9470b95ec56SJussi Kivilinna Camellia cipher algorithm module (x86_64). 9480b95ec56SJussi Kivilinna 9490b95ec56SJussi Kivilinna Camellia is a symmetric key block cipher developed jointly 9500b95ec56SJussi Kivilinna at NTT and Mitsubishi Electric Corporation. 9510b95ec56SJussi Kivilinna 9520b95ec56SJussi Kivilinna The Camellia specifies three key sizes: 128, 192 and 256 bits. 9530b95ec56SJussi Kivilinna 9540b95ec56SJussi Kivilinna See also: 9550b95ec56SJussi Kivilinna <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 9560b95ec56SJussi Kivilinna 957d9b1d2e7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX_X86_64 958d9b1d2e7SJussi Kivilinna tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)" 959d9b1d2e7SJussi Kivilinna depends on X86 && 64BIT 960d9b1d2e7SJussi Kivilinna depends on CRYPTO 961d9b1d2e7SJussi Kivilinna select CRYPTO_ALGAPI 962d9b1d2e7SJussi Kivilinna select CRYPTO_CRYPTD 963801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 964d9b1d2e7SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 965d9b1d2e7SJussi Kivilinna select CRYPTO_CAMELLIA_X86_64 966d9b1d2e7SJussi Kivilinna select CRYPTO_LRW 967d9b1d2e7SJussi Kivilinna select CRYPTO_XTS 968d9b1d2e7SJussi Kivilinna help 969d9b1d2e7SJussi Kivilinna Camellia cipher algorithm module (x86_64/AES-NI/AVX). 970d9b1d2e7SJussi Kivilinna 971d9b1d2e7SJussi Kivilinna Camellia is a symmetric key block cipher developed jointly 972d9b1d2e7SJussi Kivilinna at NTT and Mitsubishi Electric Corporation. 973d9b1d2e7SJussi Kivilinna 974d9b1d2e7SJussi Kivilinna The Camellia specifies three key sizes: 128, 192 and 256 bits. 975d9b1d2e7SJussi Kivilinna 976d9b1d2e7SJussi Kivilinna See also: 977d9b1d2e7SJussi Kivilinna <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 978d9b1d2e7SJussi Kivilinna 979f3f935a7SJussi Kivilinnaconfig CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 980f3f935a7SJussi Kivilinna tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX2)" 981f3f935a7SJussi Kivilinna depends on X86 && 64BIT 982f3f935a7SJussi Kivilinna depends on CRYPTO 983f3f935a7SJussi Kivilinna select CRYPTO_ALGAPI 984f3f935a7SJussi Kivilinna select CRYPTO_CRYPTD 985801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 986f3f935a7SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 987f3f935a7SJussi Kivilinna select CRYPTO_CAMELLIA_X86_64 988f3f935a7SJussi Kivilinna select CRYPTO_CAMELLIA_AESNI_AVX_X86_64 989f3f935a7SJussi Kivilinna select CRYPTO_LRW 990f3f935a7SJussi Kivilinna select CRYPTO_XTS 991f3f935a7SJussi Kivilinna help 992f3f935a7SJussi Kivilinna Camellia cipher algorithm module (x86_64/AES-NI/AVX2). 993f3f935a7SJussi Kivilinna 994f3f935a7SJussi Kivilinna Camellia is a symmetric key block cipher developed jointly 995f3f935a7SJussi Kivilinna at NTT and Mitsubishi Electric Corporation. 996f3f935a7SJussi Kivilinna 997f3f935a7SJussi Kivilinna The Camellia specifies three key sizes: 128, 192 and 256 bits. 998f3f935a7SJussi Kivilinna 999f3f935a7SJussi Kivilinna See also: 1000f3f935a7SJussi Kivilinna <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1001f3f935a7SJussi Kivilinna 100281658ad0SDavid S. Millerconfig CRYPTO_CAMELLIA_SPARC64 100381658ad0SDavid S. Miller tristate "Camellia cipher algorithm (SPARC64)" 100481658ad0SDavid S. Miller depends on SPARC64 100581658ad0SDavid S. Miller depends on CRYPTO 100681658ad0SDavid S. Miller select CRYPTO_ALGAPI 100781658ad0SDavid S. Miller help 100881658ad0SDavid S. Miller Camellia cipher algorithm module (SPARC64). 100981658ad0SDavid S. Miller 101081658ad0SDavid S. Miller Camellia is a symmetric key block cipher developed jointly 101181658ad0SDavid S. Miller at NTT and Mitsubishi Electric Corporation. 101281658ad0SDavid S. Miller 101381658ad0SDavid S. Miller The Camellia specifies three key sizes: 128, 192 and 256 bits. 101481658ad0SDavid S. Miller 101581658ad0SDavid S. Miller See also: 101681658ad0SDavid S. Miller <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 101781658ad0SDavid S. Miller 1018044ab525SJussi Kivilinnaconfig CRYPTO_CAST_COMMON 1019044ab525SJussi Kivilinna tristate 1020044ab525SJussi Kivilinna help 1021044ab525SJussi Kivilinna Common parts of the CAST cipher algorithms shared by the 1022044ab525SJussi Kivilinna generic c and the assembler implementations. 1023044ab525SJussi Kivilinna 1024584fffc8SSebastian Siewiorconfig CRYPTO_CAST5 1025584fffc8SSebastian Siewior tristate "CAST5 (CAST-128) cipher algorithm" 1026584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1027044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 1028584fffc8SSebastian Siewior help 1029584fffc8SSebastian Siewior The CAST5 encryption algorithm (synonymous with CAST-128) is 1030584fffc8SSebastian Siewior described in RFC2144. 1031584fffc8SSebastian Siewior 10324d6d6a2cSJohannes Goetzfriedconfig CRYPTO_CAST5_AVX_X86_64 10334d6d6a2cSJohannes Goetzfried tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)" 10344d6d6a2cSJohannes Goetzfried depends on X86 && 64BIT 10354d6d6a2cSJohannes Goetzfried select CRYPTO_ALGAPI 10364d6d6a2cSJohannes Goetzfried select CRYPTO_CRYPTD 1037801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1038044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 10394d6d6a2cSJohannes Goetzfried select CRYPTO_CAST5 10404d6d6a2cSJohannes Goetzfried help 10414d6d6a2cSJohannes Goetzfried The CAST5 encryption algorithm (synonymous with CAST-128) is 10424d6d6a2cSJohannes Goetzfried described in RFC2144. 10434d6d6a2cSJohannes Goetzfried 10444d6d6a2cSJohannes Goetzfried This module provides the Cast5 cipher algorithm that processes 10454d6d6a2cSJohannes Goetzfried sixteen blocks parallel using the AVX instruction set. 10464d6d6a2cSJohannes Goetzfried 1047584fffc8SSebastian Siewiorconfig CRYPTO_CAST6 1048584fffc8SSebastian Siewior tristate "CAST6 (CAST-256) cipher algorithm" 1049584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1050044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 1051584fffc8SSebastian Siewior help 1052584fffc8SSebastian Siewior The CAST6 encryption algorithm (synonymous with CAST-256) is 1053584fffc8SSebastian Siewior described in RFC2612. 1054584fffc8SSebastian Siewior 10554ea1277dSJohannes Goetzfriedconfig CRYPTO_CAST6_AVX_X86_64 10564ea1277dSJohannes Goetzfried tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)" 10574ea1277dSJohannes Goetzfried depends on X86 && 64BIT 10584ea1277dSJohannes Goetzfried select CRYPTO_ALGAPI 10594ea1277dSJohannes Goetzfried select CRYPTO_CRYPTD 1060801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 10614ea1277dSJohannes Goetzfried select CRYPTO_GLUE_HELPER_X86 1062044ab525SJussi Kivilinna select CRYPTO_CAST_COMMON 10634ea1277dSJohannes Goetzfried select CRYPTO_CAST6 10644ea1277dSJohannes Goetzfried select CRYPTO_LRW 10654ea1277dSJohannes Goetzfried select CRYPTO_XTS 10664ea1277dSJohannes Goetzfried help 10674ea1277dSJohannes Goetzfried The CAST6 encryption algorithm (synonymous with CAST-256) is 10684ea1277dSJohannes Goetzfried described in RFC2612. 10694ea1277dSJohannes Goetzfried 10704ea1277dSJohannes Goetzfried This module provides the Cast6 cipher algorithm that processes 10714ea1277dSJohannes Goetzfried eight blocks parallel using the AVX instruction set. 10724ea1277dSJohannes Goetzfried 1073584fffc8SSebastian Siewiorconfig CRYPTO_DES 1074584fffc8SSebastian Siewior tristate "DES and Triple DES EDE cipher algorithms" 1075584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1076584fffc8SSebastian Siewior help 1077584fffc8SSebastian Siewior DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). 1078584fffc8SSebastian Siewior 1079c5aac2dfSDavid S. Millerconfig CRYPTO_DES_SPARC64 1080c5aac2dfSDavid S. Miller tristate "DES and Triple DES EDE cipher algorithms (SPARC64)" 108197da37b3SDave Jones depends on SPARC64 1082c5aac2dfSDavid S. Miller select CRYPTO_ALGAPI 1083c5aac2dfSDavid S. Miller select CRYPTO_DES 1084c5aac2dfSDavid S. Miller help 1085c5aac2dfSDavid S. Miller DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3), 1086c5aac2dfSDavid S. Miller optimized using SPARC64 crypto opcodes. 1087c5aac2dfSDavid S. Miller 10886574e6c6SJussi Kivilinnaconfig CRYPTO_DES3_EDE_X86_64 10896574e6c6SJussi Kivilinna tristate "Triple DES EDE cipher algorithm (x86-64)" 10906574e6c6SJussi Kivilinna depends on X86 && 64BIT 10916574e6c6SJussi Kivilinna select CRYPTO_ALGAPI 10926574e6c6SJussi Kivilinna select CRYPTO_DES 10936574e6c6SJussi Kivilinna help 10946574e6c6SJussi Kivilinna Triple DES EDE (FIPS 46-3) algorithm. 10956574e6c6SJussi Kivilinna 10966574e6c6SJussi Kivilinna This module provides implementation of the Triple DES EDE cipher 10976574e6c6SJussi Kivilinna algorithm that is optimized for x86-64 processors. Two versions of 10986574e6c6SJussi Kivilinna algorithm are provided; regular processing one input block and 10996574e6c6SJussi Kivilinna one that processes three blocks parallel. 11006574e6c6SJussi Kivilinna 1101584fffc8SSebastian Siewiorconfig CRYPTO_FCRYPT 1102584fffc8SSebastian Siewior tristate "FCrypt cipher algorithm" 1103584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1104584fffc8SSebastian Siewior select CRYPTO_BLKCIPHER 1105584fffc8SSebastian Siewior help 1106584fffc8SSebastian Siewior FCrypt algorithm used by RxRPC. 1107584fffc8SSebastian Siewior 1108584fffc8SSebastian Siewiorconfig CRYPTO_KHAZAD 1109584fffc8SSebastian Siewior tristate "Khazad cipher algorithm" 1110584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1111584fffc8SSebastian Siewior help 1112584fffc8SSebastian Siewior Khazad cipher algorithm. 1113584fffc8SSebastian Siewior 1114584fffc8SSebastian Siewior Khazad was a finalist in the initial NESSIE competition. It is 1115584fffc8SSebastian Siewior an algorithm optimized for 64-bit processors with good performance 1116584fffc8SSebastian Siewior on 32-bit processors. Khazad uses an 128 bit key size. 1117584fffc8SSebastian Siewior 1118584fffc8SSebastian Siewior See also: 11196d8de74cSJustin P. Mattock <http://www.larc.usp.br/~pbarreto/KhazadPage.html> 1120e2ee95b8SHye-Shik Chang 11212407d608STan Swee Hengconfig CRYPTO_SALSA20 11223b4afaf2SKees Cook tristate "Salsa20 stream cipher algorithm" 11232407d608STan Swee Heng select CRYPTO_BLKCIPHER 11242407d608STan Swee Heng help 11252407d608STan Swee Heng Salsa20 stream cipher algorithm. 11262407d608STan Swee Heng 11272407d608STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 11282407d608STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 11292407d608STan Swee Heng 11302407d608STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 11312407d608STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 11321da177e4SLinus Torvalds 1133974e4b75STan Swee Hengconfig CRYPTO_SALSA20_586 11343b4afaf2SKees Cook tristate "Salsa20 stream cipher algorithm (i586)" 1135974e4b75STan Swee Heng depends on (X86 || UML_X86) && !64BIT 1136974e4b75STan Swee Heng select CRYPTO_BLKCIPHER 1137974e4b75STan Swee Heng help 1138974e4b75STan Swee Heng Salsa20 stream cipher algorithm. 1139974e4b75STan Swee Heng 1140974e4b75STan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 1141974e4b75STan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 1142974e4b75STan Swee Heng 1143974e4b75STan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 1144974e4b75STan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 1145974e4b75STan Swee Heng 11469a7dafbbSTan Swee Hengconfig CRYPTO_SALSA20_X86_64 11473b4afaf2SKees Cook tristate "Salsa20 stream cipher algorithm (x86_64)" 11489a7dafbbSTan Swee Heng depends on (X86 || UML_X86) && 64BIT 11499a7dafbbSTan Swee Heng select CRYPTO_BLKCIPHER 11509a7dafbbSTan Swee Heng help 11519a7dafbbSTan Swee Heng Salsa20 stream cipher algorithm. 11529a7dafbbSTan Swee Heng 11539a7dafbbSTan Swee Heng Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT 11549a7dafbbSTan Swee Heng Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> 11559a7dafbbSTan Swee Heng 11569a7dafbbSTan Swee Heng The Salsa20 stream cipher algorithm is designed by Daniel J. 11579a7dafbbSTan Swee Heng Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> 11589a7dafbbSTan Swee Heng 1159584fffc8SSebastian Siewiorconfig CRYPTO_SEED 1160584fffc8SSebastian Siewior tristate "SEED cipher algorithm" 1161584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1162584fffc8SSebastian Siewior help 1163584fffc8SSebastian Siewior SEED cipher algorithm (RFC4269). 1164584fffc8SSebastian Siewior 1165584fffc8SSebastian Siewior SEED is a 128-bit symmetric key block cipher that has been 1166584fffc8SSebastian Siewior developed by KISA (Korea Information Security Agency) as a 1167584fffc8SSebastian Siewior national standard encryption algorithm of the Republic of Korea. 1168584fffc8SSebastian Siewior It is a 16 round block cipher with the key size of 128 bit. 1169584fffc8SSebastian Siewior 1170584fffc8SSebastian Siewior See also: 1171584fffc8SSebastian Siewior <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> 1172584fffc8SSebastian Siewior 1173584fffc8SSebastian Siewiorconfig CRYPTO_SERPENT 1174584fffc8SSebastian Siewior tristate "Serpent cipher algorithm" 1175584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1176584fffc8SSebastian Siewior help 1177584fffc8SSebastian Siewior Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1178584fffc8SSebastian Siewior 1179584fffc8SSebastian Siewior Keys are allowed to be from 0 to 256 bits in length, in steps 1180584fffc8SSebastian Siewior of 8 bits. Also includes the 'Tnepres' algorithm, a reversed 1181584fffc8SSebastian Siewior variant of Serpent for compatibility with old kerneli.org code. 1182584fffc8SSebastian Siewior 1183584fffc8SSebastian Siewior See also: 1184584fffc8SSebastian Siewior <http://www.cl.cam.ac.uk/~rja14/serpent.html> 1185584fffc8SSebastian Siewior 1186937c30d7SJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_X86_64 1187937c30d7SJussi Kivilinna tristate "Serpent cipher algorithm (x86_64/SSE2)" 1188937c30d7SJussi Kivilinna depends on X86 && 64BIT 1189937c30d7SJussi Kivilinna select CRYPTO_ALGAPI 1190341975bfSJussi Kivilinna select CRYPTO_CRYPTD 1191801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1192596d8750SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1193937c30d7SJussi Kivilinna select CRYPTO_SERPENT 1194feaf0cfcSJussi Kivilinna select CRYPTO_LRW 1195feaf0cfcSJussi Kivilinna select CRYPTO_XTS 1196937c30d7SJussi Kivilinna help 1197937c30d7SJussi Kivilinna Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1198937c30d7SJussi Kivilinna 1199937c30d7SJussi Kivilinna Keys are allowed to be from 0 to 256 bits in length, in steps 1200937c30d7SJussi Kivilinna of 8 bits. 1201937c30d7SJussi Kivilinna 12021e6232f8SMasanari Iida This module provides Serpent cipher algorithm that processes eight 1203937c30d7SJussi Kivilinna blocks parallel using SSE2 instruction set. 1204937c30d7SJussi Kivilinna 1205937c30d7SJussi Kivilinna See also: 1206937c30d7SJussi Kivilinna <http://www.cl.cam.ac.uk/~rja14/serpent.html> 1207937c30d7SJussi Kivilinna 1208251496dbSJussi Kivilinnaconfig CRYPTO_SERPENT_SSE2_586 1209251496dbSJussi Kivilinna tristate "Serpent cipher algorithm (i586/SSE2)" 1210251496dbSJussi Kivilinna depends on X86 && !64BIT 1211251496dbSJussi Kivilinna select CRYPTO_ALGAPI 1212341975bfSJussi Kivilinna select CRYPTO_CRYPTD 1213801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1214596d8750SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1215251496dbSJussi Kivilinna select CRYPTO_SERPENT 1216feaf0cfcSJussi Kivilinna select CRYPTO_LRW 1217feaf0cfcSJussi Kivilinna select CRYPTO_XTS 1218251496dbSJussi Kivilinna help 1219251496dbSJussi Kivilinna Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1220251496dbSJussi Kivilinna 1221251496dbSJussi Kivilinna Keys are allowed to be from 0 to 256 bits in length, in steps 1222251496dbSJussi Kivilinna of 8 bits. 1223251496dbSJussi Kivilinna 1224251496dbSJussi Kivilinna This module provides Serpent cipher algorithm that processes four 1225251496dbSJussi Kivilinna blocks parallel using SSE2 instruction set. 1226251496dbSJussi Kivilinna 1227251496dbSJussi Kivilinna See also: 1228251496dbSJussi Kivilinna <http://www.cl.cam.ac.uk/~rja14/serpent.html> 1229251496dbSJussi Kivilinna 12307efe4076SJohannes Goetzfriedconfig CRYPTO_SERPENT_AVX_X86_64 12317efe4076SJohannes Goetzfried tristate "Serpent cipher algorithm (x86_64/AVX)" 12327efe4076SJohannes Goetzfried depends on X86 && 64BIT 12337efe4076SJohannes Goetzfried select CRYPTO_ALGAPI 12347efe4076SJohannes Goetzfried select CRYPTO_CRYPTD 1235801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 12361d0debbdSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 12377efe4076SJohannes Goetzfried select CRYPTO_SERPENT 12387efe4076SJohannes Goetzfried select CRYPTO_LRW 12397efe4076SJohannes Goetzfried select CRYPTO_XTS 12407efe4076SJohannes Goetzfried help 12417efe4076SJohannes Goetzfried Serpent cipher algorithm, by Anderson, Biham & Knudsen. 12427efe4076SJohannes Goetzfried 12437efe4076SJohannes Goetzfried Keys are allowed to be from 0 to 256 bits in length, in steps 12447efe4076SJohannes Goetzfried of 8 bits. 12457efe4076SJohannes Goetzfried 12467efe4076SJohannes Goetzfried This module provides the Serpent cipher algorithm that processes 12477efe4076SJohannes Goetzfried eight blocks parallel using the AVX instruction set. 12487efe4076SJohannes Goetzfried 12497efe4076SJohannes Goetzfried See also: 12507efe4076SJohannes Goetzfried <http://www.cl.cam.ac.uk/~rja14/serpent.html> 12517efe4076SJohannes Goetzfried 125256d76c96SJussi Kivilinnaconfig CRYPTO_SERPENT_AVX2_X86_64 125356d76c96SJussi Kivilinna tristate "Serpent cipher algorithm (x86_64/AVX2)" 125456d76c96SJussi Kivilinna depends on X86 && 64BIT 125556d76c96SJussi Kivilinna select CRYPTO_ALGAPI 125656d76c96SJussi Kivilinna select CRYPTO_CRYPTD 1257801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 125856d76c96SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 125956d76c96SJussi Kivilinna select CRYPTO_SERPENT 126056d76c96SJussi Kivilinna select CRYPTO_SERPENT_AVX_X86_64 126156d76c96SJussi Kivilinna select CRYPTO_LRW 126256d76c96SJussi Kivilinna select CRYPTO_XTS 126356d76c96SJussi Kivilinna help 126456d76c96SJussi Kivilinna Serpent cipher algorithm, by Anderson, Biham & Knudsen. 126556d76c96SJussi Kivilinna 126656d76c96SJussi Kivilinna Keys are allowed to be from 0 to 256 bits in length, in steps 126756d76c96SJussi Kivilinna of 8 bits. 126856d76c96SJussi Kivilinna 126956d76c96SJussi Kivilinna This module provides Serpent cipher algorithm that processes 16 127056d76c96SJussi Kivilinna blocks parallel using AVX2 instruction set. 127156d76c96SJussi Kivilinna 127256d76c96SJussi Kivilinna See also: 127356d76c96SJussi Kivilinna <http://www.cl.cam.ac.uk/~rja14/serpent.html> 127456d76c96SJussi Kivilinna 1275584fffc8SSebastian Siewiorconfig CRYPTO_TEA 1276584fffc8SSebastian Siewior tristate "TEA, XTEA and XETA cipher algorithms" 1277584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1278584fffc8SSebastian Siewior help 1279584fffc8SSebastian Siewior TEA cipher algorithm. 1280584fffc8SSebastian Siewior 1281584fffc8SSebastian Siewior Tiny Encryption Algorithm is a simple cipher that uses 1282584fffc8SSebastian Siewior many rounds for security. It is very fast and uses 1283584fffc8SSebastian Siewior little memory. 1284584fffc8SSebastian Siewior 1285584fffc8SSebastian Siewior Xtendend Tiny Encryption Algorithm is a modification to 1286584fffc8SSebastian Siewior the TEA algorithm to address a potential key weakness 1287584fffc8SSebastian Siewior in the TEA algorithm. 1288584fffc8SSebastian Siewior 1289584fffc8SSebastian Siewior Xtendend Encryption Tiny Algorithm is a mis-implementation 1290584fffc8SSebastian Siewior of the XTEA algorithm for compatibility purposes. 1291584fffc8SSebastian Siewior 1292584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH 1293584fffc8SSebastian Siewior tristate "Twofish cipher algorithm" 1294584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1295584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 1296584fffc8SSebastian Siewior help 1297584fffc8SSebastian Siewior Twofish cipher algorithm. 1298584fffc8SSebastian Siewior 1299584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 1300584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 1301584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 1302584fffc8SSebastian Siewior bits. 1303584fffc8SSebastian Siewior 1304584fffc8SSebastian Siewior See also: 1305584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 1306584fffc8SSebastian Siewior 1307584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_COMMON 1308584fffc8SSebastian Siewior tristate 1309584fffc8SSebastian Siewior help 1310584fffc8SSebastian Siewior Common parts of the Twofish cipher algorithm shared by the 1311584fffc8SSebastian Siewior generic c and the assembler implementations. 1312584fffc8SSebastian Siewior 1313584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_586 1314584fffc8SSebastian Siewior tristate "Twofish cipher algorithms (i586)" 1315584fffc8SSebastian Siewior depends on (X86 || UML_X86) && !64BIT 1316584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1317584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 1318584fffc8SSebastian Siewior help 1319584fffc8SSebastian Siewior Twofish cipher algorithm. 1320584fffc8SSebastian Siewior 1321584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 1322584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 1323584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 1324584fffc8SSebastian Siewior bits. 1325584fffc8SSebastian Siewior 1326584fffc8SSebastian Siewior See also: 1327584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 1328584fffc8SSebastian Siewior 1329584fffc8SSebastian Siewiorconfig CRYPTO_TWOFISH_X86_64 1330584fffc8SSebastian Siewior tristate "Twofish cipher algorithm (x86_64)" 1331584fffc8SSebastian Siewior depends on (X86 || UML_X86) && 64BIT 1332584fffc8SSebastian Siewior select CRYPTO_ALGAPI 1333584fffc8SSebastian Siewior select CRYPTO_TWOFISH_COMMON 1334584fffc8SSebastian Siewior help 1335584fffc8SSebastian Siewior Twofish cipher algorithm (x86_64). 1336584fffc8SSebastian Siewior 1337584fffc8SSebastian Siewior Twofish was submitted as an AES (Advanced Encryption Standard) 1338584fffc8SSebastian Siewior candidate cipher by researchers at CounterPane Systems. It is a 1339584fffc8SSebastian Siewior 16 round block cipher supporting key sizes of 128, 192, and 256 1340584fffc8SSebastian Siewior bits. 1341584fffc8SSebastian Siewior 1342584fffc8SSebastian Siewior See also: 1343584fffc8SSebastian Siewior <http://www.schneier.com/twofish.html> 1344584fffc8SSebastian Siewior 13458280daadSJussi Kivilinnaconfig CRYPTO_TWOFISH_X86_64_3WAY 13468280daadSJussi Kivilinna tristate "Twofish cipher algorithm (x86_64, 3-way parallel)" 1347f21a7c19SAl Viro depends on X86 && 64BIT 13488280daadSJussi Kivilinna select CRYPTO_ALGAPI 13498280daadSJussi Kivilinna select CRYPTO_TWOFISH_COMMON 13508280daadSJussi Kivilinna select CRYPTO_TWOFISH_X86_64 1351414cb5e7SJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1352e7cda5d2SJussi Kivilinna select CRYPTO_LRW 1353e7cda5d2SJussi Kivilinna select CRYPTO_XTS 13548280daadSJussi Kivilinna help 13558280daadSJussi Kivilinna Twofish cipher algorithm (x86_64, 3-way parallel). 13568280daadSJussi Kivilinna 13578280daadSJussi Kivilinna Twofish was submitted as an AES (Advanced Encryption Standard) 13588280daadSJussi Kivilinna candidate cipher by researchers at CounterPane Systems. It is a 13598280daadSJussi Kivilinna 16 round block cipher supporting key sizes of 128, 192, and 256 13608280daadSJussi Kivilinna bits. 13618280daadSJussi Kivilinna 13628280daadSJussi Kivilinna This module provides Twofish cipher algorithm that processes three 13638280daadSJussi Kivilinna blocks parallel, utilizing resources of out-of-order CPUs better. 13648280daadSJussi Kivilinna 13658280daadSJussi Kivilinna See also: 13668280daadSJussi Kivilinna <http://www.schneier.com/twofish.html> 13678280daadSJussi Kivilinna 1368107778b5SJohannes Goetzfriedconfig CRYPTO_TWOFISH_AVX_X86_64 1369107778b5SJohannes Goetzfried tristate "Twofish cipher algorithm (x86_64/AVX)" 1370107778b5SJohannes Goetzfried depends on X86 && 64BIT 1371107778b5SJohannes Goetzfried select CRYPTO_ALGAPI 1372107778b5SJohannes Goetzfried select CRYPTO_CRYPTD 1373801201aaSArd Biesheuvel select CRYPTO_ABLK_HELPER 1374a7378d4eSJussi Kivilinna select CRYPTO_GLUE_HELPER_X86 1375107778b5SJohannes Goetzfried select CRYPTO_TWOFISH_COMMON 1376107778b5SJohannes Goetzfried select CRYPTO_TWOFISH_X86_64 1377107778b5SJohannes Goetzfried select CRYPTO_TWOFISH_X86_64_3WAY 1378107778b5SJohannes Goetzfried select CRYPTO_LRW 1379107778b5SJohannes Goetzfried select CRYPTO_XTS 1380107778b5SJohannes Goetzfried help 1381107778b5SJohannes Goetzfried Twofish cipher algorithm (x86_64/AVX). 1382107778b5SJohannes Goetzfried 1383107778b5SJohannes Goetzfried Twofish was submitted as an AES (Advanced Encryption Standard) 1384107778b5SJohannes Goetzfried candidate cipher by researchers at CounterPane Systems. It is a 1385107778b5SJohannes Goetzfried 16 round block cipher supporting key sizes of 128, 192, and 256 1386107778b5SJohannes Goetzfried bits. 1387107778b5SJohannes Goetzfried 1388107778b5SJohannes Goetzfried This module provides the Twofish cipher algorithm that processes 1389107778b5SJohannes Goetzfried eight blocks parallel using the AVX Instruction Set. 1390107778b5SJohannes Goetzfried 1391107778b5SJohannes Goetzfried See also: 1392107778b5SJohannes Goetzfried <http://www.schneier.com/twofish.html> 1393107778b5SJohannes Goetzfried 1394584fffc8SSebastian Siewiorcomment "Compression" 1395584fffc8SSebastian Siewior 13961da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE 13971da177e4SLinus Torvalds tristate "Deflate compression algorithm" 1398cce9e06dSHerbert Xu select CRYPTO_ALGAPI 13991da177e4SLinus Torvalds select ZLIB_INFLATE 14001da177e4SLinus Torvalds select ZLIB_DEFLATE 14011da177e4SLinus Torvalds help 14021da177e4SLinus Torvalds This is the Deflate algorithm (RFC1951), specified for use in 14031da177e4SLinus Torvalds IPSec with the IPCOMP protocol (RFC3173, RFC2394). 14041da177e4SLinus Torvalds 14051da177e4SLinus Torvalds You will most probably want this if using IPSec. 14061da177e4SLinus Torvalds 1407bf68e65eSGeert Uytterhoevenconfig CRYPTO_ZLIB 1408bf68e65eSGeert Uytterhoeven tristate "Zlib compression algorithm" 1409bf68e65eSGeert Uytterhoeven select CRYPTO_PCOMP 1410bf68e65eSGeert Uytterhoeven select ZLIB_INFLATE 1411bf68e65eSGeert Uytterhoeven select ZLIB_DEFLATE 1412bf68e65eSGeert Uytterhoeven select NLATTR 1413bf68e65eSGeert Uytterhoeven help 1414bf68e65eSGeert Uytterhoeven This is the zlib algorithm. 1415bf68e65eSGeert Uytterhoeven 14160b77abb3SZoltan Sogorconfig CRYPTO_LZO 14170b77abb3SZoltan Sogor tristate "LZO compression algorithm" 14180b77abb3SZoltan Sogor select CRYPTO_ALGAPI 14190b77abb3SZoltan Sogor select LZO_COMPRESS 14200b77abb3SZoltan Sogor select LZO_DECOMPRESS 14210b77abb3SZoltan Sogor help 14220b77abb3SZoltan Sogor This is the LZO algorithm. 14230b77abb3SZoltan Sogor 142435a1fc18SSeth Jenningsconfig CRYPTO_842 142535a1fc18SSeth Jennings tristate "842 compression algorithm" 14262062c5b6SDan Streetman select CRYPTO_ALGAPI 14272062c5b6SDan Streetman select 842_COMPRESS 14282062c5b6SDan Streetman select 842_DECOMPRESS 142935a1fc18SSeth Jennings help 143035a1fc18SSeth Jennings This is the 842 algorithm. 143135a1fc18SSeth Jennings 14320ea8530dSChanho Minconfig CRYPTO_LZ4 14330ea8530dSChanho Min tristate "LZ4 compression algorithm" 14340ea8530dSChanho Min select CRYPTO_ALGAPI 14350ea8530dSChanho Min select LZ4_COMPRESS 14360ea8530dSChanho Min select LZ4_DECOMPRESS 14370ea8530dSChanho Min help 14380ea8530dSChanho Min This is the LZ4 algorithm. 14390ea8530dSChanho Min 14400ea8530dSChanho Minconfig CRYPTO_LZ4HC 14410ea8530dSChanho Min tristate "LZ4HC compression algorithm" 14420ea8530dSChanho Min select CRYPTO_ALGAPI 14430ea8530dSChanho Min select LZ4HC_COMPRESS 14440ea8530dSChanho Min select LZ4_DECOMPRESS 14450ea8530dSChanho Min help 14460ea8530dSChanho Min This is the LZ4 high compression mode algorithm. 14470ea8530dSChanho Min 144817f0f4a4SNeil Hormancomment "Random Number Generation" 144917f0f4a4SNeil Horman 145017f0f4a4SNeil Hormanconfig CRYPTO_ANSI_CPRNG 145117f0f4a4SNeil Horman tristate "Pseudo Random Number Generation for Cryptographic modules" 14524e4ed83bSNeil Horman default m 145317f0f4a4SNeil Horman select CRYPTO_AES 145417f0f4a4SNeil Horman select CRYPTO_RNG 145517f0f4a4SNeil Horman help 145617f0f4a4SNeil Horman This option enables the generic pseudo random number generator 145717f0f4a4SNeil Horman for cryptographic modules. Uses the Algorithm specified in 14587dd607e8SJiri Kosina ANSI X9.31 A.2.4. Note that this option must be enabled if 14597dd607e8SJiri Kosina CRYPTO_FIPS is selected 146017f0f4a4SNeil Horman 1461f2c89a10SHerbert Xumenuconfig CRYPTO_DRBG_MENU 1462419090c6SStephan Mueller tristate "NIST SP800-90A DRBG" 1463419090c6SStephan Mueller help 1464419090c6SStephan Mueller NIST SP800-90A compliant DRBG. In the following submenu, one or 1465419090c6SStephan Mueller more of the DRBG types must be selected. 1466419090c6SStephan Mueller 1467f2c89a10SHerbert Xuif CRYPTO_DRBG_MENU 1468419090c6SStephan Mueller 1469419090c6SStephan Muellerconfig CRYPTO_DRBG_HMAC 1470419090c6SStephan Mueller bool "Enable HMAC DRBG" 1471419090c6SStephan Mueller default y 1472419090c6SStephan Mueller select CRYPTO_HMAC 1473419090c6SStephan Mueller help 1474419090c6SStephan Mueller Enable the HMAC DRBG variant as defined in NIST SP800-90A. 1475419090c6SStephan Mueller 1476419090c6SStephan Muellerconfig CRYPTO_DRBG_HASH 1477419090c6SStephan Mueller bool "Enable Hash DRBG" 1478419090c6SStephan Mueller select CRYPTO_HASH 1479419090c6SStephan Mueller help 1480419090c6SStephan Mueller Enable the Hash DRBG variant as defined in NIST SP800-90A. 1481419090c6SStephan Mueller 1482419090c6SStephan Muellerconfig CRYPTO_DRBG_CTR 1483419090c6SStephan Mueller bool "Enable CTR DRBG" 1484419090c6SStephan Mueller select CRYPTO_AES 1485419090c6SStephan Mueller help 1486419090c6SStephan Mueller Enable the CTR DRBG variant as defined in NIST SP800-90A. 1487419090c6SStephan Mueller 1488f2c89a10SHerbert Xuconfig CRYPTO_DRBG 1489f2c89a10SHerbert Xu tristate 1490f2c89a10SHerbert Xu default CRYPTO_DRBG_MENU if (CRYPTO_DRBG_HMAC || CRYPTO_DRBG_HASH || CRYPTO_DRBG_CTR) 1491f2c89a10SHerbert Xu select CRYPTO_RNG 1492f2c89a10SHerbert Xu 1493f2c89a10SHerbert Xuendif # if CRYPTO_DRBG_MENU 1494419090c6SStephan Mueller 149503c8efc1SHerbert Xuconfig CRYPTO_USER_API 149603c8efc1SHerbert Xu tristate 149703c8efc1SHerbert Xu 1498fe869cdbSHerbert Xuconfig CRYPTO_USER_API_HASH 1499fe869cdbSHerbert Xu tristate "User-space interface for hash algorithms" 15007451708fSHerbert Xu depends on NET 1501fe869cdbSHerbert Xu select CRYPTO_HASH 1502fe869cdbSHerbert Xu select CRYPTO_USER_API 1503fe869cdbSHerbert Xu help 1504fe869cdbSHerbert Xu This option enables the user-spaces interface for hash 1505fe869cdbSHerbert Xu algorithms. 1506fe869cdbSHerbert Xu 15078ff59090SHerbert Xuconfig CRYPTO_USER_API_SKCIPHER 15088ff59090SHerbert Xu tristate "User-space interface for symmetric key cipher algorithms" 15097451708fSHerbert Xu depends on NET 15108ff59090SHerbert Xu select CRYPTO_BLKCIPHER 15118ff59090SHerbert Xu select CRYPTO_USER_API 15128ff59090SHerbert Xu help 15138ff59090SHerbert Xu This option enables the user-spaces interface for symmetric 15148ff59090SHerbert Xu key cipher algorithms. 15158ff59090SHerbert Xu 15162f375538SStephan Muellerconfig CRYPTO_USER_API_RNG 15172f375538SStephan Mueller tristate "User-space interface for random number generator algorithms" 15182f375538SStephan Mueller depends on NET 15192f375538SStephan Mueller select CRYPTO_RNG 15202f375538SStephan Mueller select CRYPTO_USER_API 15212f375538SStephan Mueller help 15222f375538SStephan Mueller This option enables the user-spaces interface for random 15232f375538SStephan Mueller number generator algorithms. 15242f375538SStephan Mueller 152544cac4fcSStephan Muellerconfig CRYPTO_USER_API_AEAD 152644cac4fcSStephan Mueller tristate "User-space interface for AEAD cipher algorithms" 152744cac4fcSStephan Mueller depends on NET 152844cac4fcSStephan Mueller select CRYPTO_AEAD 152944cac4fcSStephan Mueller select CRYPTO_USER_API 153044cac4fcSStephan Mueller help 153144cac4fcSStephan Mueller This option enables the user-spaces interface for AEAD 153244cac4fcSStephan Mueller cipher algorithms. 153344cac4fcSStephan Mueller 1534ee08997fSDmitry Kasatkinconfig CRYPTO_HASH_INFO 1535ee08997fSDmitry Kasatkin bool 1536ee08997fSDmitry Kasatkin 15371da177e4SLinus Torvaldssource "drivers/crypto/Kconfig" 1538964f3b3bSDavid Howellssource crypto/asymmetric_keys/Kconfig 15391da177e4SLinus Torvalds 1540cce9e06dSHerbert Xuendif # if CRYPTO 1541