Kconfig 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353
  1. #
  2. # Generic algorithms support
  3. #
  4. config XOR_BLOCKS
  5. tristate
  6. #
  7. # async_tx api: hardware offloaded memory transfer/transform support
  8. #
  9. source "crypto/async_tx/Kconfig"
  10. #
  11. # Cryptographic API Configuration
  12. #
  13. menuconfig CRYPTO
  14. tristate "Cryptographic API"
  15. help
  16. This option provides the core Cryptographic API.
  17. if CRYPTO
  18. comment "Crypto core or helper"
  19. config CRYPTO_FIPS
  20. bool "FIPS 200 compliance"
  21. depends on CRYPTO_ANSI_CPRNG && !CRYPTO_MANAGER_DISABLE_TESTS
  22. help
  23. This options enables the fips boot option which is
  24. required if you want to system to operate in a FIPS 200
  25. certification. You should say no unless you know what
  26. this is.
  27. config CRYPTO_ALGAPI
  28. tristate
  29. select CRYPTO_ALGAPI2
  30. help
  31. This option provides the API for cryptographic algorithms.
  32. config CRYPTO_ALGAPI2
  33. tristate
  34. config CRYPTO_AEAD
  35. tristate
  36. select CRYPTO_AEAD2
  37. select CRYPTO_ALGAPI
  38. config CRYPTO_AEAD2
  39. tristate
  40. select CRYPTO_ALGAPI2
  41. config CRYPTO_BLKCIPHER
  42. tristate
  43. select CRYPTO_BLKCIPHER2
  44. select CRYPTO_ALGAPI
  45. config CRYPTO_BLKCIPHER2
  46. tristate
  47. select CRYPTO_ALGAPI2
  48. select CRYPTO_RNG2
  49. select CRYPTO_WORKQUEUE
  50. config CRYPTO_HASH
  51. tristate
  52. select CRYPTO_HASH2
  53. select CRYPTO_ALGAPI
  54. config CRYPTO_HASH2
  55. tristate
  56. select CRYPTO_ALGAPI2
  57. config CRYPTO_RNG
  58. tristate
  59. select CRYPTO_RNG2
  60. select CRYPTO_ALGAPI
  61. config CRYPTO_RNG2
  62. tristate
  63. select CRYPTO_ALGAPI2
  64. config CRYPTO_PCOMP
  65. tristate
  66. select CRYPTO_PCOMP2
  67. select CRYPTO_ALGAPI
  68. config CRYPTO_PCOMP2
  69. tristate
  70. select CRYPTO_ALGAPI2
  71. config CRYPTO_MANAGER
  72. tristate "Cryptographic algorithm manager"
  73. select CRYPTO_MANAGER2
  74. help
  75. Create default cryptographic template instantiations such as
  76. cbc(aes).
  77. config CRYPTO_MANAGER2
  78. def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y)
  79. select CRYPTO_AEAD2
  80. select CRYPTO_HASH2
  81. select CRYPTO_BLKCIPHER2
  82. select CRYPTO_PCOMP2
  83. config CRYPTO_USER
  84. tristate "Userspace cryptographic algorithm configuration"
  85. depends on NET
  86. select CRYPTO_MANAGER
  87. help
  88. Userspace configuration for cryptographic instantiations such as
  89. cbc(aes).
  90. config CRYPTO_MANAGER_DISABLE_TESTS
  91. bool "Disable run-time self tests"
  92. default y
  93. depends on CRYPTO_MANAGER2
  94. help
  95. Disable run-time self tests that normally take place at
  96. algorithm registration.
  97. config CRYPTO_GF128MUL
  98. tristate "GF(2^128) multiplication functions"
  99. help
  100. Efficient table driven implementation of multiplications in the
  101. field GF(2^128). This is needed by some cypher modes. This
  102. option will be selected automatically if you select such a
  103. cipher mode. Only select this option by hand if you expect to load
  104. an external module that requires these functions.
  105. config CRYPTO_NULL
  106. tristate "Null algorithms"
  107. select CRYPTO_ALGAPI
  108. select CRYPTO_BLKCIPHER
  109. select CRYPTO_HASH
  110. help
  111. These are 'Null' algorithms, used by IPsec, which do nothing.
  112. config CRYPTO_PCRYPT
  113. tristate "Parallel crypto engine"
  114. depends on SMP
  115. select PADATA
  116. select CRYPTO_MANAGER
  117. select CRYPTO_AEAD
  118. help
  119. This converts an arbitrary crypto algorithm into a parallel
  120. algorithm that executes in kernel threads.
  121. config CRYPTO_WORKQUEUE
  122. tristate
  123. config CRYPTO_CRYPTD
  124. tristate "Software async crypto daemon"
  125. select CRYPTO_BLKCIPHER
  126. select CRYPTO_HASH
  127. select CRYPTO_MANAGER
  128. select CRYPTO_WORKQUEUE
  129. help
  130. This is a generic software asynchronous crypto daemon that
  131. converts an arbitrary synchronous software crypto algorithm
  132. into an asynchronous algorithm that executes in a kernel thread.
  133. config CRYPTO_AUTHENC
  134. tristate "Authenc support"
  135. select CRYPTO_AEAD
  136. select CRYPTO_BLKCIPHER
  137. select CRYPTO_MANAGER
  138. select CRYPTO_HASH
  139. help
  140. Authenc: Combined mode wrapper for IPsec.
  141. This is required for IPSec.
  142. config CRYPTO_TEST
  143. tristate "Testing module"
  144. depends on m
  145. select CRYPTO_MANAGER
  146. help
  147. Quick & dirty crypto test module.
  148. config CRYPTO_ABLK_HELPER_X86
  149. tristate
  150. depends on X86
  151. select CRYPTO_CRYPTD
  152. config CRYPTO_GLUE_HELPER_X86
  153. tristate
  154. depends on X86
  155. select CRYPTO_ALGAPI
  156. comment "Authenticated Encryption with Associated Data"
  157. config CRYPTO_CCM
  158. tristate "CCM support"
  159. select CRYPTO_CTR
  160. select CRYPTO_AEAD
  161. help
  162. Support for Counter with CBC MAC. Required for IPsec.
  163. config CRYPTO_GCM
  164. tristate "GCM/GMAC support"
  165. select CRYPTO_CTR
  166. select CRYPTO_AEAD
  167. select CRYPTO_GHASH
  168. select CRYPTO_NULL
  169. help
  170. Support for Galois/Counter Mode (GCM) and Galois Message
  171. Authentication Code (GMAC). Required for IPSec.
  172. config CRYPTO_SEQIV
  173. tristate "Sequence Number IV Generator"
  174. select CRYPTO_AEAD
  175. select CRYPTO_BLKCIPHER
  176. select CRYPTO_RNG
  177. help
  178. This IV generator generates an IV based on a sequence number by
  179. xoring it with a salt. This algorithm is mainly useful for CTR
  180. comment "Block modes"
  181. config CRYPTO_CBC
  182. tristate "CBC support"
  183. select CRYPTO_BLKCIPHER
  184. select CRYPTO_MANAGER
  185. help
  186. CBC: Cipher Block Chaining mode
  187. This block cipher algorithm is required for IPSec.
  188. config CRYPTO_CTR
  189. tristate "CTR support"
  190. select CRYPTO_BLKCIPHER
  191. select CRYPTO_SEQIV
  192. select CRYPTO_MANAGER
  193. help
  194. CTR: Counter mode
  195. This block cipher algorithm is required for IPSec.
  196. config CRYPTO_CTS
  197. tristate "CTS support"
  198. select CRYPTO_BLKCIPHER
  199. help
  200. CTS: Cipher Text Stealing
  201. This is the Cipher Text Stealing mode as described by
  202. Section 8 of rfc2040 and referenced by rfc3962.
  203. (rfc3962 includes errata information in its Appendix A)
  204. This mode is required for Kerberos gss mechanism support
  205. for AES encryption.
  206. config CRYPTO_ECB
  207. tristate "ECB support"
  208. select CRYPTO_BLKCIPHER
  209. select CRYPTO_MANAGER
  210. help
  211. ECB: Electronic CodeBook mode
  212. This is the simplest block cipher algorithm. It simply encrypts
  213. the input block by block.
  214. config CRYPTO_LRW
  215. tristate "LRW support"
  216. select CRYPTO_BLKCIPHER
  217. select CRYPTO_MANAGER
  218. select CRYPTO_GF128MUL
  219. help
  220. LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
  221. narrow block cipher mode for dm-crypt. Use it with cipher
  222. specification string aes-lrw-benbi, the key must be 256, 320 or 384.
  223. The first 128, 192 or 256 bits in the key are used for AES and the
  224. rest is used to tie each cipher block to its logical position.
  225. config CRYPTO_PCBC
  226. tristate "PCBC support"
  227. select CRYPTO_BLKCIPHER
  228. select CRYPTO_MANAGER
  229. help
  230. PCBC: Propagating Cipher Block Chaining mode
  231. This block cipher algorithm is required for RxRPC.
  232. config CRYPTO_XTS
  233. tristate "XTS support"
  234. select CRYPTO_BLKCIPHER
  235. select CRYPTO_MANAGER
  236. select CRYPTO_GF128MUL
  237. help
  238. XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
  239. key size 256, 384 or 512 bits. This implementation currently
  240. can't handle a sectorsize which is not a multiple of 16 bytes.
  241. comment "Hash modes"
  242. config CRYPTO_CMAC
  243. tristate "CMAC support"
  244. select CRYPTO_HASH
  245. select CRYPTO_MANAGER
  246. help
  247. Cipher-based Message Authentication Code (CMAC) specified by
  248. The National Institute of Standards and Technology (NIST).
  249. https://tools.ietf.org/html/rfc4493
  250. http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf
  251. config CRYPTO_HMAC
  252. tristate "HMAC support"
  253. select CRYPTO_HASH
  254. select CRYPTO_MANAGER
  255. help
  256. HMAC: Keyed-Hashing for Message Authentication (RFC2104).
  257. This is required for IPSec.
  258. config CRYPTO_XCBC
  259. tristate "XCBC support"
  260. select CRYPTO_HASH
  261. select CRYPTO_MANAGER
  262. help
  263. XCBC: Keyed-Hashing with encryption algorithm
  264. http://www.ietf.org/rfc/rfc3566.txt
  265. http://csrc.nist.gov/encryption/modes/proposedmodes/
  266. xcbc-mac/xcbc-mac-spec.pdf
  267. config CRYPTO_VMAC
  268. tristate "VMAC support"
  269. select CRYPTO_HASH
  270. select CRYPTO_MANAGER
  271. help
  272. VMAC is a message authentication algorithm designed for
  273. very high speed on 64-bit architectures.
  274. See also:
  275. <http://fastcrypto.org/vmac>
  276. comment "Digest"
  277. config CRYPTO_CRC32C
  278. tristate "CRC32c CRC algorithm"
  279. select CRYPTO_HASH
  280. select CRC32
  281. help
  282. Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
  283. by iSCSI for header and data digests and by others.
  284. See Castagnoli93. Module will be crc32c.
  285. config CRYPTO_CRC32C_INTEL
  286. tristate "CRC32c INTEL hardware acceleration"
  287. depends on X86
  288. select CRYPTO_HASH
  289. help
  290. In Intel processor with SSE4.2 supported, the processor will
  291. support CRC32C implementation using hardware accelerated CRC32
  292. instruction. This option will create 'crc32c-intel' module,
  293. which will enable any routine to use the CRC32 instruction to
  294. gain performance compared with software implementation.
  295. Module will be crc32c-intel.
  296. config CRYPTO_CRC32C_SPARC64
  297. tristate "CRC32c CRC algorithm (SPARC64)"
  298. depends on SPARC64
  299. select CRYPTO_HASH
  300. select CRC32
  301. help
  302. CRC32c CRC algorithm implemented using sparc64 crypto instructions,
  303. when available.
  304. config CRYPTO_CRC32
  305. tristate "CRC32 CRC algorithm"
  306. select CRYPTO_HASH
  307. select CRC32
  308. help
  309. CRC-32-IEEE 802.3 cyclic redundancy-check algorithm.
  310. Shash crypto api wrappers to crc32_le function.
  311. config CRYPTO_CRC32_PCLMUL
  312. tristate "CRC32 PCLMULQDQ hardware acceleration"
  313. depends on X86
  314. select CRYPTO_HASH
  315. select CRC32
  316. help
  317. From Intel Westmere and AMD Bulldozer processor with SSE4.2
  318. and PCLMULQDQ supported, the processor will support
  319. CRC32 PCLMULQDQ implementation using hardware accelerated PCLMULQDQ
  320. instruction. This option will create 'crc32-plcmul' module,
  321. which will enable any routine to use the CRC-32-IEEE 802.3 checksum
  322. and gain better performance as compared with the table implementation.
  323. config CRYPTO_GHASH
  324. tristate "GHASH digest algorithm"
  325. select CRYPTO_GF128MUL
  326. help
  327. GHASH is message digest algorithm for GCM (Galois/Counter Mode).
  328. config CRYPTO_MD4
  329. tristate "MD4 digest algorithm"
  330. select CRYPTO_HASH
  331. help
  332. MD4 message digest algorithm (RFC1320).
  333. config CRYPTO_MD5
  334. tristate "MD5 digest algorithm"
  335. select CRYPTO_HASH
  336. help
  337. MD5 message digest algorithm (RFC1321).
  338. config CRYPTO_MD5_SPARC64
  339. tristate "MD5 digest algorithm (SPARC64)"
  340. depends on SPARC64
  341. select CRYPTO_MD5
  342. select CRYPTO_HASH
  343. help
  344. MD5 message digest algorithm (RFC1321) implemented
  345. using sparc64 crypto instructions, when available.
  346. config CRYPTO_MICHAEL_MIC
  347. tristate "Michael MIC keyed digest algorithm"
  348. select CRYPTO_HASH
  349. help
  350. Michael MIC is used for message integrity protection in TKIP
  351. (IEEE 802.11i). This algorithm is required for TKIP, but it
  352. should not be used for other purposes because of the weakness
  353. of the algorithm.
  354. config CRYPTO_RMD128
  355. tristate "RIPEMD-128 digest algorithm"
  356. select CRYPTO_HASH
  357. help
  358. RIPEMD-128 (ISO/IEC 10118-3:2004).
  359. RIPEMD-128 is a 128-bit cryptographic hash function. It should only
  360. be used as a secure replacement for RIPEMD. For other use cases,
  361. RIPEMD-160 should be used.
  362. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  363. See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
  364. config CRYPTO_RMD160
  365. tristate "RIPEMD-160 digest algorithm"
  366. select CRYPTO_HASH
  367. help
  368. RIPEMD-160 (ISO/IEC 10118-3:2004).
  369. RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
  370. to be used as a secure replacement for the 128-bit hash functions
  371. MD4, MD5 and it's predecessor RIPEMD
  372. (not to be confused with RIPEMD-128).
  373. It's speed is comparable to SHA1 and there are no known attacks
  374. against RIPEMD-160.
  375. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  376. See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
  377. config CRYPTO_RMD256
  378. tristate "RIPEMD-256 digest algorithm"
  379. select CRYPTO_HASH
  380. help
  381. RIPEMD-256 is an optional extension of RIPEMD-128 with a
  382. 256 bit hash. It is intended for applications that require
  383. longer hash-results, without needing a larger security level
  384. (than RIPEMD-128).
  385. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  386. See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
  387. config CRYPTO_RMD320
  388. tristate "RIPEMD-320 digest algorithm"
  389. select CRYPTO_HASH
  390. help
  391. RIPEMD-320 is an optional extension of RIPEMD-160 with a
  392. 320 bit hash. It is intended for applications that require
  393. longer hash-results, without needing a larger security level
  394. (than RIPEMD-160).
  395. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  396. See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
  397. config CRYPTO_SHA1
  398. tristate "SHA1 digest algorithm"
  399. select CRYPTO_HASH
  400. help
  401. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
  402. config CRYPTO_SHA1_SSSE3
  403. tristate "SHA1 digest algorithm (SSSE3/AVX)"
  404. depends on X86 && 64BIT
  405. select CRYPTO_SHA1
  406. select CRYPTO_HASH
  407. help
  408. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
  409. using Supplemental SSE3 (SSSE3) instructions or Advanced Vector
  410. Extensions (AVX), when available.
  411. config CRYPTO_SHA256_SSSE3
  412. tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2)"
  413. depends on X86 && 64BIT
  414. select CRYPTO_SHA256
  415. select CRYPTO_HASH
  416. help
  417. SHA-256 secure hash standard (DFIPS 180-2) implemented
  418. using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector
  419. Extensions version 1 (AVX1), or Advanced Vector Extensions
  420. version 2 (AVX2) instructions, when available.
  421. config CRYPTO_SHA512_SSSE3
  422. tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)"
  423. depends on X86 && 64BIT
  424. select CRYPTO_SHA512
  425. select CRYPTO_HASH
  426. help
  427. SHA-512 secure hash standard (DFIPS 180-2) implemented
  428. using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector
  429. Extensions version 1 (AVX1), or Advanced Vector Extensions
  430. version 2 (AVX2) instructions, when available.
  431. config CRYPTO_SHA1_SPARC64
  432. tristate "SHA1 digest algorithm (SPARC64)"
  433. depends on SPARC64
  434. select CRYPTO_SHA1
  435. select CRYPTO_HASH
  436. help
  437. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
  438. using sparc64 crypto instructions, when available.
  439. config CRYPTO_SHA1_ARM
  440. tristate "SHA1 digest algorithm (ARM-asm)"
  441. depends on ARM
  442. select CRYPTO_SHA1
  443. select CRYPTO_HASH
  444. help
  445. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
  446. using optimized ARM assembler.
  447. config CRYPTO_SHA1_PPC
  448. tristate "SHA1 digest algorithm (powerpc)"
  449. depends on PPC
  450. help
  451. This is the powerpc hardware accelerated implementation of the
  452. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
  453. config CRYPTO_SHA256
  454. tristate "SHA224 and SHA256 digest algorithm"
  455. select CRYPTO_HASH
  456. help
  457. SHA256 secure hash standard (DFIPS 180-2).
  458. This version of SHA implements a 256 bit hash with 128 bits of
  459. security against collision attacks.
  460. This code also includes SHA-224, a 224 bit hash with 112 bits
  461. of security against collision attacks.
  462. config CRYPTO_SHA256_SPARC64
  463. tristate "SHA224 and SHA256 digest algorithm (SPARC64)"
  464. depends on SPARC64
  465. select CRYPTO_SHA256
  466. select CRYPTO_HASH
  467. help
  468. SHA-256 secure hash standard (DFIPS 180-2) implemented
  469. using sparc64 crypto instructions, when available.
  470. config CRYPTO_SHA512
  471. tristate "SHA384 and SHA512 digest algorithms"
  472. select CRYPTO_HASH
  473. help
  474. SHA512 secure hash standard (DFIPS 180-2).
  475. This version of SHA implements a 512 bit hash with 256 bits of
  476. security against collision attacks.
  477. This code also includes SHA-384, a 384 bit hash with 192 bits
  478. of security against collision attacks.
  479. config CRYPTO_SHA512_SPARC64
  480. tristate "SHA384 and SHA512 digest algorithm (SPARC64)"
  481. depends on SPARC64
  482. select CRYPTO_SHA512
  483. select CRYPTO_HASH
  484. help
  485. SHA-512 secure hash standard (DFIPS 180-2) implemented
  486. using sparc64 crypto instructions, when available.
  487. config CRYPTO_TGR192
  488. tristate "Tiger digest algorithms"
  489. select CRYPTO_HASH
  490. help
  491. Tiger hash algorithm 192, 160 and 128-bit hashes
  492. Tiger is a hash function optimized for 64-bit processors while
  493. still having decent performance on 32-bit processors.
  494. Tiger was developed by Ross Anderson and Eli Biham.
  495. See also:
  496. <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
  497. config CRYPTO_WP512
  498. tristate "Whirlpool digest algorithms"
  499. select CRYPTO_HASH
  500. help
  501. Whirlpool hash algorithm 512, 384 and 256-bit hashes
  502. Whirlpool-512 is part of the NESSIE cryptographic primitives.
  503. Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
  504. See also:
  505. <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html>
  506. config CRYPTO_GHASH_CLMUL_NI_INTEL
  507. tristate "GHASH digest algorithm (CLMUL-NI accelerated)"
  508. depends on X86 && 64BIT
  509. select CRYPTO_CRYPTD
  510. help
  511. GHASH is message digest algorithm for GCM (Galois/Counter Mode).
  512. The implementation is accelerated by CLMUL-NI of Intel.
  513. comment "Ciphers"
  514. config CRYPTO_AES
  515. tristate "AES cipher algorithms"
  516. select CRYPTO_ALGAPI
  517. help
  518. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  519. algorithm.
  520. Rijndael appears to be consistently a very good performer in
  521. both hardware and software across a wide range of computing
  522. environments regardless of its use in feedback or non-feedback
  523. modes. Its key setup time is excellent, and its key agility is
  524. good. Rijndael's very low memory requirements make it very well
  525. suited for restricted-space environments, in which it also
  526. demonstrates excellent performance. Rijndael's operations are
  527. among the easiest to defend against power and timing attacks.
  528. The AES specifies three key sizes: 128, 192 and 256 bits
  529. See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
  530. config CRYPTO_AES_586
  531. tristate "AES cipher algorithms (i586)"
  532. depends on (X86 || UML_X86) && !64BIT
  533. select CRYPTO_ALGAPI
  534. select CRYPTO_AES
  535. help
  536. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  537. algorithm.
  538. Rijndael appears to be consistently a very good performer in
  539. both hardware and software across a wide range of computing
  540. environments regardless of its use in feedback or non-feedback
  541. modes. Its key setup time is excellent, and its key agility is
  542. good. Rijndael's very low memory requirements make it very well
  543. suited for restricted-space environments, in which it also
  544. demonstrates excellent performance. Rijndael's operations are
  545. among the easiest to defend against power and timing attacks.
  546. The AES specifies three key sizes: 128, 192 and 256 bits
  547. See <http://csrc.nist.gov/encryption/aes/> for more information.
  548. config CRYPTO_AES_X86_64
  549. tristate "AES cipher algorithms (x86_64)"
  550. depends on (X86 || UML_X86) && 64BIT
  551. select CRYPTO_ALGAPI
  552. select CRYPTO_AES
  553. help
  554. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  555. algorithm.
  556. Rijndael appears to be consistently a very good performer in
  557. both hardware and software across a wide range of computing
  558. environments regardless of its use in feedback or non-feedback
  559. modes. Its key setup time is excellent, and its key agility is
  560. good. Rijndael's very low memory requirements make it very well
  561. suited for restricted-space environments, in which it also
  562. demonstrates excellent performance. Rijndael's operations are
  563. among the easiest to defend against power and timing attacks.
  564. The AES specifies three key sizes: 128, 192 and 256 bits
  565. See <http://csrc.nist.gov/encryption/aes/> for more information.
  566. config CRYPTO_AES_NI_INTEL
  567. tristate "AES cipher algorithms (AES-NI)"
  568. depends on X86
  569. select CRYPTO_AES_X86_64 if 64BIT
  570. select CRYPTO_AES_586 if !64BIT
  571. select CRYPTO_CRYPTD
  572. select CRYPTO_ABLK_HELPER_X86
  573. select CRYPTO_ALGAPI
  574. select CRYPTO_GLUE_HELPER_X86 if 64BIT
  575. select CRYPTO_LRW
  576. select CRYPTO_XTS
  577. help
  578. Use Intel AES-NI instructions for AES algorithm.
  579. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  580. algorithm.
  581. Rijndael appears to be consistently a very good performer in
  582. both hardware and software across a wide range of computing
  583. environments regardless of its use in feedback or non-feedback
  584. modes. Its key setup time is excellent, and its key agility is
  585. good. Rijndael's very low memory requirements make it very well
  586. suited for restricted-space environments, in which it also
  587. demonstrates excellent performance. Rijndael's operations are
  588. among the easiest to defend against power and timing attacks.
  589. The AES specifies three key sizes: 128, 192 and 256 bits
  590. See <http://csrc.nist.gov/encryption/aes/> for more information.
  591. In addition to AES cipher algorithm support, the acceleration
  592. for some popular block cipher mode is supported too, including
  593. ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional
  594. acceleration for CTR.
  595. config CRYPTO_AES_SPARC64
  596. tristate "AES cipher algorithms (SPARC64)"
  597. depends on SPARC64
  598. select CRYPTO_CRYPTD
  599. select CRYPTO_ALGAPI
  600. help
  601. Use SPARC64 crypto opcodes for AES algorithm.
  602. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  603. algorithm.
  604. Rijndael appears to be consistently a very good performer in
  605. both hardware and software across a wide range of computing
  606. environments regardless of its use in feedback or non-feedback
  607. modes. Its key setup time is excellent, and its key agility is
  608. good. Rijndael's very low memory requirements make it very well
  609. suited for restricted-space environments, in which it also
  610. demonstrates excellent performance. Rijndael's operations are
  611. among the easiest to defend against power and timing attacks.
  612. The AES specifies three key sizes: 128, 192 and 256 bits
  613. See <http://csrc.nist.gov/encryption/aes/> for more information.
  614. In addition to AES cipher algorithm support, the acceleration
  615. for some popular block cipher mode is supported too, including
  616. ECB and CBC.
  617. config CRYPTO_AES_ARM
  618. tristate "AES cipher algorithms (ARM-asm)"
  619. depends on ARM
  620. select CRYPTO_ALGAPI
  621. select CRYPTO_AES
  622. help
  623. Use optimized AES assembler routines for ARM platforms.
  624. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  625. algorithm.
  626. Rijndael appears to be consistently a very good performer in
  627. both hardware and software across a wide range of computing
  628. environments regardless of its use in feedback or non-feedback
  629. modes. Its key setup time is excellent, and its key agility is
  630. good. Rijndael's very low memory requirements make it very well
  631. suited for restricted-space environments, in which it also
  632. demonstrates excellent performance. Rijndael's operations are
  633. among the easiest to defend against power and timing attacks.
  634. The AES specifies three key sizes: 128, 192 and 256 bits
  635. See <http://csrc.nist.gov/encryption/aes/> for more information.
  636. config CRYPTO_ANUBIS
  637. tristate "Anubis cipher algorithm"
  638. select CRYPTO_ALGAPI
  639. help
  640. Anubis cipher algorithm.
  641. Anubis is a variable key length cipher which can use keys from
  642. 128 bits to 320 bits in length. It was evaluated as a entrant
  643. in the NESSIE competition.
  644. See also:
  645. <https://www.cosic.esat.kuleuven.be/nessie/reports/>
  646. <http://www.larc.usp.br/~pbarreto/AnubisPage.html>
  647. config CRYPTO_ARC4
  648. tristate "ARC4 cipher algorithm"
  649. select CRYPTO_BLKCIPHER
  650. help
  651. ARC4 cipher algorithm.
  652. ARC4 is a stream cipher using keys ranging from 8 bits to 2048
  653. bits in length. This algorithm is required for driver-based
  654. WEP, but it should not be for other purposes because of the
  655. weakness of the algorithm.
  656. config CRYPTO_BLOWFISH
  657. tristate "Blowfish cipher algorithm"
  658. select CRYPTO_ALGAPI
  659. select CRYPTO_BLOWFISH_COMMON
  660. help
  661. Blowfish cipher algorithm, by Bruce Schneier.
  662. This is a variable key length cipher which can use keys from 32
  663. bits to 448 bits in length. It's fast, simple and specifically
  664. designed for use on "large microprocessors".
  665. See also:
  666. <http://www.schneier.com/blowfish.html>
  667. config CRYPTO_BLOWFISH_COMMON
  668. tristate
  669. help
  670. Common parts of the Blowfish cipher algorithm shared by the
  671. generic c and the assembler implementations.
  672. See also:
  673. <http://www.schneier.com/blowfish.html>
  674. config CRYPTO_BLOWFISH_X86_64
  675. tristate "Blowfish cipher algorithm (x86_64)"
  676. depends on X86 && 64BIT
  677. select CRYPTO_ALGAPI
  678. select CRYPTO_BLOWFISH_COMMON
  679. help
  680. Blowfish cipher algorithm (x86_64), by Bruce Schneier.
  681. This is a variable key length cipher which can use keys from 32
  682. bits to 448 bits in length. It's fast, simple and specifically
  683. designed for use on "large microprocessors".
  684. See also:
  685. <http://www.schneier.com/blowfish.html>
  686. config CRYPTO_BLOWFISH_AVX2_X86_64
  687. tristate "Blowfish cipher algorithm (x86_64/AVX2)"
  688. depends on X86 && 64BIT
  689. select CRYPTO_ALGAPI
  690. select CRYPTO_CRYPTD
  691. select CRYPTO_ABLK_HELPER_X86
  692. select CRYPTO_BLOWFISH_COMMON
  693. select CRYPTO_BLOWFISH_X86_64
  694. help
  695. Blowfish cipher algorithm (x86_64/AVX2), by Bruce Schneier.
  696. This is a variable key length cipher which can use keys from 32
  697. bits to 448 bits in length. It's fast, simple and specifically
  698. designed for use on "large microprocessors".
  699. See also:
  700. <http://www.schneier.com/blowfish.html>
  701. config CRYPTO_CAMELLIA
  702. tristate "Camellia cipher algorithms"
  703. depends on CRYPTO
  704. select CRYPTO_ALGAPI
  705. help
  706. Camellia cipher algorithms module.
  707. Camellia is a symmetric key block cipher developed jointly
  708. at NTT and Mitsubishi Electric Corporation.
  709. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  710. See also:
  711. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  712. config CRYPTO_CAMELLIA_X86_64
  713. tristate "Camellia cipher algorithm (x86_64)"
  714. depends on X86 && 64BIT
  715. depends on CRYPTO
  716. select CRYPTO_ALGAPI
  717. select CRYPTO_GLUE_HELPER_X86
  718. select CRYPTO_LRW
  719. select CRYPTO_XTS
  720. help
  721. Camellia cipher algorithm module (x86_64).
  722. Camellia is a symmetric key block cipher developed jointly
  723. at NTT and Mitsubishi Electric Corporation.
  724. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  725. See also:
  726. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  727. config CRYPTO_CAMELLIA_AESNI_AVX_X86_64
  728. tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)"
  729. depends on X86 && 64BIT
  730. depends on CRYPTO
  731. select CRYPTO_ALGAPI
  732. select CRYPTO_CRYPTD
  733. select CRYPTO_ABLK_HELPER_X86
  734. select CRYPTO_GLUE_HELPER_X86
  735. select CRYPTO_CAMELLIA_X86_64
  736. select CRYPTO_LRW
  737. select CRYPTO_XTS
  738. help
  739. Camellia cipher algorithm module (x86_64/AES-NI/AVX).
  740. Camellia is a symmetric key block cipher developed jointly
  741. at NTT and Mitsubishi Electric Corporation.
  742. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  743. See also:
  744. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  745. config CRYPTO_CAMELLIA_SPARC64
  746. tristate "Camellia cipher algorithm (SPARC64)"
  747. depends on SPARC64
  748. depends on CRYPTO
  749. select CRYPTO_ALGAPI
  750. help
  751. Camellia cipher algorithm module (SPARC64).
  752. Camellia is a symmetric key block cipher developed jointly
  753. at NTT and Mitsubishi Electric Corporation.
  754. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  755. See also:
  756. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  757. config CRYPTO_CAST_COMMON
  758. tristate
  759. help
  760. Common parts of the CAST cipher algorithms shared by the
  761. generic c and the assembler implementations.
  762. config CRYPTO_CAST5
  763. tristate "CAST5 (CAST-128) cipher algorithm"
  764. select CRYPTO_ALGAPI
  765. select CRYPTO_CAST_COMMON
  766. help
  767. The CAST5 encryption algorithm (synonymous with CAST-128) is
  768. described in RFC2144.
  769. config CRYPTO_CAST5_AVX_X86_64
  770. tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)"
  771. depends on X86 && 64BIT
  772. select CRYPTO_ALGAPI
  773. select CRYPTO_CRYPTD
  774. select CRYPTO_ABLK_HELPER_X86
  775. select CRYPTO_CAST_COMMON
  776. select CRYPTO_CAST5
  777. help
  778. The CAST5 encryption algorithm (synonymous with CAST-128) is
  779. described in RFC2144.
  780. This module provides the Cast5 cipher algorithm that processes
  781. sixteen blocks parallel using the AVX instruction set.
  782. config CRYPTO_CAST6
  783. tristate "CAST6 (CAST-256) cipher algorithm"
  784. select CRYPTO_ALGAPI
  785. select CRYPTO_CAST_COMMON
  786. help
  787. The CAST6 encryption algorithm (synonymous with CAST-256) is
  788. described in RFC2612.
  789. config CRYPTO_CAST6_AVX_X86_64
  790. tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)"
  791. depends on X86 && 64BIT
  792. select CRYPTO_ALGAPI
  793. select CRYPTO_CRYPTD
  794. select CRYPTO_ABLK_HELPER_X86
  795. select CRYPTO_GLUE_HELPER_X86
  796. select CRYPTO_CAST_COMMON
  797. select CRYPTO_CAST6
  798. select CRYPTO_LRW
  799. select CRYPTO_XTS
  800. help
  801. The CAST6 encryption algorithm (synonymous with CAST-256) is
  802. described in RFC2612.
  803. This module provides the Cast6 cipher algorithm that processes
  804. eight blocks parallel using the AVX instruction set.
  805. config CRYPTO_DES
  806. tristate "DES and Triple DES EDE cipher algorithms"
  807. select CRYPTO_ALGAPI
  808. help
  809. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
  810. config CRYPTO_DES_SPARC64
  811. tristate "DES and Triple DES EDE cipher algorithms (SPARC64)"
  812. depends on SPARC64
  813. select CRYPTO_ALGAPI
  814. select CRYPTO_DES
  815. help
  816. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3),
  817. optimized using SPARC64 crypto opcodes.
  818. config CRYPTO_FCRYPT
  819. tristate "FCrypt cipher algorithm"
  820. select CRYPTO_ALGAPI
  821. select CRYPTO_BLKCIPHER
  822. help
  823. FCrypt algorithm used by RxRPC.
  824. config CRYPTO_KHAZAD
  825. tristate "Khazad cipher algorithm"
  826. select CRYPTO_ALGAPI
  827. help
  828. Khazad cipher algorithm.
  829. Khazad was a finalist in the initial NESSIE competition. It is
  830. an algorithm optimized for 64-bit processors with good performance
  831. on 32-bit processors. Khazad uses an 128 bit key size.
  832. See also:
  833. <http://www.larc.usp.br/~pbarreto/KhazadPage.html>
  834. config CRYPTO_SALSA20
  835. tristate "Salsa20 stream cipher algorithm"
  836. select CRYPTO_BLKCIPHER
  837. help
  838. Salsa20 stream cipher algorithm.
  839. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  840. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  841. The Salsa20 stream cipher algorithm is designed by Daniel J.
  842. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  843. config CRYPTO_SALSA20_586
  844. tristate "Salsa20 stream cipher algorithm (i586)"
  845. depends on (X86 || UML_X86) && !64BIT
  846. select CRYPTO_BLKCIPHER
  847. help
  848. Salsa20 stream cipher algorithm.
  849. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  850. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  851. The Salsa20 stream cipher algorithm is designed by Daniel J.
  852. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  853. config CRYPTO_SALSA20_X86_64
  854. tristate "Salsa20 stream cipher algorithm (x86_64)"
  855. depends on (X86 || UML_X86) && 64BIT
  856. select CRYPTO_BLKCIPHER
  857. help
  858. Salsa20 stream cipher algorithm.
  859. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  860. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  861. The Salsa20 stream cipher algorithm is designed by Daniel J.
  862. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  863. config CRYPTO_SEED
  864. tristate "SEED cipher algorithm"
  865. select CRYPTO_ALGAPI
  866. help
  867. SEED cipher algorithm (RFC4269).
  868. SEED is a 128-bit symmetric key block cipher that has been
  869. developed by KISA (Korea Information Security Agency) as a
  870. national standard encryption algorithm of the Republic of Korea.
  871. It is a 16 round block cipher with the key size of 128 bit.
  872. See also:
  873. <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
  874. config CRYPTO_SERPENT
  875. tristate "Serpent cipher algorithm"
  876. select CRYPTO_ALGAPI
  877. help
  878. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  879. Keys are allowed to be from 0 to 256 bits in length, in steps
  880. of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
  881. variant of Serpent for compatibility with old kerneli.org code.
  882. See also:
  883. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  884. config CRYPTO_SERPENT_SSE2_X86_64
  885. tristate "Serpent cipher algorithm (x86_64/SSE2)"
  886. depends on X86 && 64BIT
  887. select CRYPTO_ALGAPI
  888. select CRYPTO_CRYPTD
  889. select CRYPTO_ABLK_HELPER_X86
  890. select CRYPTO_GLUE_HELPER_X86
  891. select CRYPTO_SERPENT
  892. select CRYPTO_LRW
  893. select CRYPTO_XTS
  894. help
  895. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  896. Keys are allowed to be from 0 to 256 bits in length, in steps
  897. of 8 bits.
  898. This module provides Serpent cipher algorithm that processes eigth
  899. blocks parallel using SSE2 instruction set.
  900. See also:
  901. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  902. config CRYPTO_SERPENT_SSE2_586
  903. tristate "Serpent cipher algorithm (i586/SSE2)"
  904. depends on X86 && !64BIT
  905. select CRYPTO_ALGAPI
  906. select CRYPTO_CRYPTD
  907. select CRYPTO_ABLK_HELPER_X86
  908. select CRYPTO_GLUE_HELPER_X86
  909. select CRYPTO_SERPENT
  910. select CRYPTO_LRW
  911. select CRYPTO_XTS
  912. help
  913. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  914. Keys are allowed to be from 0 to 256 bits in length, in steps
  915. of 8 bits.
  916. This module provides Serpent cipher algorithm that processes four
  917. blocks parallel using SSE2 instruction set.
  918. See also:
  919. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  920. config CRYPTO_SERPENT_AVX_X86_64
  921. tristate "Serpent cipher algorithm (x86_64/AVX)"
  922. depends on X86 && 64BIT
  923. select CRYPTO_ALGAPI
  924. select CRYPTO_CRYPTD
  925. select CRYPTO_ABLK_HELPER_X86
  926. select CRYPTO_GLUE_HELPER_X86
  927. select CRYPTO_SERPENT
  928. select CRYPTO_LRW
  929. select CRYPTO_XTS
  930. help
  931. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  932. Keys are allowed to be from 0 to 256 bits in length, in steps
  933. of 8 bits.
  934. This module provides the Serpent cipher algorithm that processes
  935. eight blocks parallel using the AVX instruction set.
  936. See also:
  937. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  938. config CRYPTO_TEA
  939. tristate "TEA, XTEA and XETA cipher algorithms"
  940. select CRYPTO_ALGAPI
  941. help
  942. TEA cipher algorithm.
  943. Tiny Encryption Algorithm is a simple cipher that uses
  944. many rounds for security. It is very fast and uses
  945. little memory.
  946. Xtendend Tiny Encryption Algorithm is a modification to
  947. the TEA algorithm to address a potential key weakness
  948. in the TEA algorithm.
  949. Xtendend Encryption Tiny Algorithm is a mis-implementation
  950. of the XTEA algorithm for compatibility purposes.
  951. config CRYPTO_TWOFISH
  952. tristate "Twofish cipher algorithm"
  953. select CRYPTO_ALGAPI
  954. select CRYPTO_TWOFISH_COMMON
  955. help
  956. Twofish cipher algorithm.
  957. Twofish was submitted as an AES (Advanced Encryption Standard)
  958. candidate cipher by researchers at CounterPane Systems. It is a
  959. 16 round block cipher supporting key sizes of 128, 192, and 256
  960. bits.
  961. See also:
  962. <http://www.schneier.com/twofish.html>
  963. config CRYPTO_TWOFISH_COMMON
  964. tristate
  965. help
  966. Common parts of the Twofish cipher algorithm shared by the
  967. generic c and the assembler implementations.
  968. config CRYPTO_TWOFISH_586
  969. tristate "Twofish cipher algorithms (i586)"
  970. depends on (X86 || UML_X86) && !64BIT
  971. select CRYPTO_ALGAPI
  972. select CRYPTO_TWOFISH_COMMON
  973. help
  974. Twofish cipher algorithm.
  975. Twofish was submitted as an AES (Advanced Encryption Standard)
  976. candidate cipher by researchers at CounterPane Systems. It is a
  977. 16 round block cipher supporting key sizes of 128, 192, and 256
  978. bits.
  979. See also:
  980. <http://www.schneier.com/twofish.html>
  981. config CRYPTO_TWOFISH_X86_64
  982. tristate "Twofish cipher algorithm (x86_64)"
  983. depends on (X86 || UML_X86) && 64BIT
  984. select CRYPTO_ALGAPI
  985. select CRYPTO_TWOFISH_COMMON
  986. help
  987. Twofish cipher algorithm (x86_64).
  988. Twofish was submitted as an AES (Advanced Encryption Standard)
  989. candidate cipher by researchers at CounterPane Systems. It is a
  990. 16 round block cipher supporting key sizes of 128, 192, and 256
  991. bits.
  992. See also:
  993. <http://www.schneier.com/twofish.html>
  994. config CRYPTO_TWOFISH_X86_64_3WAY
  995. tristate "Twofish cipher algorithm (x86_64, 3-way parallel)"
  996. depends on X86 && 64BIT
  997. select CRYPTO_ALGAPI
  998. select CRYPTO_TWOFISH_COMMON
  999. select CRYPTO_TWOFISH_X86_64
  1000. select CRYPTO_GLUE_HELPER_X86
  1001. select CRYPTO_LRW
  1002. select CRYPTO_XTS
  1003. help
  1004. Twofish cipher algorithm (x86_64, 3-way parallel).
  1005. Twofish was submitted as an AES (Advanced Encryption Standard)
  1006. candidate cipher by researchers at CounterPane Systems. It is a
  1007. 16 round block cipher supporting key sizes of 128, 192, and 256
  1008. bits.
  1009. This module provides Twofish cipher algorithm that processes three
  1010. blocks parallel, utilizing resources of out-of-order CPUs better.
  1011. See also:
  1012. <http://www.schneier.com/twofish.html>
  1013. config CRYPTO_TWOFISH_AVX_X86_64
  1014. tristate "Twofish cipher algorithm (x86_64/AVX)"
  1015. depends on X86 && 64BIT
  1016. select CRYPTO_ALGAPI
  1017. select CRYPTO_CRYPTD
  1018. select CRYPTO_ABLK_HELPER_X86
  1019. select CRYPTO_GLUE_HELPER_X86
  1020. select CRYPTO_TWOFISH_COMMON
  1021. select CRYPTO_TWOFISH_X86_64
  1022. select CRYPTO_TWOFISH_X86_64_3WAY
  1023. select CRYPTO_LRW
  1024. select CRYPTO_XTS
  1025. help
  1026. Twofish cipher algorithm (x86_64/AVX).
  1027. Twofish was submitted as an AES (Advanced Encryption Standard)
  1028. candidate cipher by researchers at CounterPane Systems. It is a
  1029. 16 round block cipher supporting key sizes of 128, 192, and 256
  1030. bits.
  1031. This module provides the Twofish cipher algorithm that processes
  1032. eight blocks parallel using the AVX Instruction Set.
  1033. See also:
  1034. <http://www.schneier.com/twofish.html>
  1035. config CRYPTO_TWOFISH_AVX2_X86_64
  1036. tristate "Twofish cipher algorithm (x86_64/AVX2)"
  1037. depends on X86 && 64BIT
  1038. select CRYPTO_ALGAPI
  1039. select CRYPTO_CRYPTD
  1040. select CRYPTO_ABLK_HELPER_X86
  1041. select CRYPTO_GLUE_HELPER_X86
  1042. select CRYPTO_TWOFISH_COMMON
  1043. select CRYPTO_TWOFISH_X86_64
  1044. select CRYPTO_TWOFISH_X86_64_3WAY
  1045. select CRYPTO_TWOFISH_AVX_X86_64
  1046. select CRYPTO_LRW
  1047. select CRYPTO_XTS
  1048. help
  1049. Twofish cipher algorithm (x86_64/AVX2).
  1050. Twofish was submitted as an AES (Advanced Encryption Standard)
  1051. candidate cipher by researchers at CounterPane Systems. It is a
  1052. 16 round block cipher supporting key sizes of 128, 192, and 256
  1053. bits.
  1054. See also:
  1055. <http://www.schneier.com/twofish.html>
  1056. comment "Compression"
  1057. config CRYPTO_DEFLATE
  1058. tristate "Deflate compression algorithm"
  1059. select CRYPTO_ALGAPI
  1060. select ZLIB_INFLATE
  1061. select ZLIB_DEFLATE
  1062. help
  1063. This is the Deflate algorithm (RFC1951), specified for use in
  1064. IPSec with the IPCOMP protocol (RFC3173, RFC2394).
  1065. You will most probably want this if using IPSec.
  1066. config CRYPTO_ZLIB
  1067. tristate "Zlib compression algorithm"
  1068. select CRYPTO_PCOMP
  1069. select ZLIB_INFLATE
  1070. select ZLIB_DEFLATE
  1071. select NLATTR
  1072. help
  1073. This is the zlib algorithm.
  1074. config CRYPTO_LZO
  1075. tristate "LZO compression algorithm"
  1076. select CRYPTO_ALGAPI
  1077. select LZO_COMPRESS
  1078. select LZO_DECOMPRESS
  1079. help
  1080. This is the LZO algorithm.
  1081. config CRYPTO_842
  1082. tristate "842 compression algorithm"
  1083. depends on CRYPTO_DEV_NX_COMPRESS
  1084. # 842 uses lzo if the hardware becomes unavailable
  1085. select LZO_COMPRESS
  1086. select LZO_DECOMPRESS
  1087. help
  1088. This is the 842 algorithm.
  1089. comment "Random Number Generation"
  1090. config CRYPTO_ANSI_CPRNG
  1091. tristate "Pseudo Random Number Generation for Cryptographic modules"
  1092. default m
  1093. select CRYPTO_AES
  1094. select CRYPTO_RNG
  1095. help
  1096. This option enables the generic pseudo random number generator
  1097. for cryptographic modules. Uses the Algorithm specified in
  1098. ANSI X9.31 A.2.4. Note that this option must be enabled if
  1099. CRYPTO_FIPS is selected
  1100. config CRYPTO_USER_API
  1101. tristate
  1102. config CRYPTO_USER_API_HASH
  1103. tristate "User-space interface for hash algorithms"
  1104. depends on NET
  1105. select CRYPTO_HASH
  1106. select CRYPTO_USER_API
  1107. help
  1108. This option enables the user-spaces interface for hash
  1109. algorithms.
  1110. config CRYPTO_USER_API_SKCIPHER
  1111. tristate "User-space interface for symmetric key cipher algorithms"
  1112. depends on NET
  1113. select CRYPTO_BLKCIPHER
  1114. select CRYPTO_USER_API
  1115. help
  1116. This option enables the user-spaces interface for symmetric
  1117. key cipher algorithms.
  1118. source "drivers/crypto/Kconfig"
  1119. source crypto/asymmetric_keys/Kconfig
  1120. endif # if CRYPTO