Kconfig 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299
  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_HMAC
  243. tristate "HMAC support"
  244. select CRYPTO_HASH
  245. select CRYPTO_MANAGER
  246. help
  247. HMAC: Keyed-Hashing for Message Authentication (RFC2104).
  248. This is required for IPSec.
  249. config CRYPTO_XCBC
  250. tristate "XCBC support"
  251. select CRYPTO_HASH
  252. select CRYPTO_MANAGER
  253. help
  254. XCBC: Keyed-Hashing with encryption algorithm
  255. http://www.ietf.org/rfc/rfc3566.txt
  256. http://csrc.nist.gov/encryption/modes/proposedmodes/
  257. xcbc-mac/xcbc-mac-spec.pdf
  258. config CRYPTO_VMAC
  259. tristate "VMAC support"
  260. select CRYPTO_HASH
  261. select CRYPTO_MANAGER
  262. help
  263. VMAC is a message authentication algorithm designed for
  264. very high speed on 64-bit architectures.
  265. See also:
  266. <http://fastcrypto.org/vmac>
  267. comment "Digest"
  268. config CRYPTO_CRC32C
  269. tristate "CRC32c CRC algorithm"
  270. select CRYPTO_HASH
  271. select CRC32
  272. help
  273. Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
  274. by iSCSI for header and data digests and by others.
  275. See Castagnoli93. Module will be crc32c.
  276. config CRYPTO_CRC32C_INTEL
  277. tristate "CRC32c INTEL hardware acceleration"
  278. depends on X86
  279. select CRYPTO_HASH
  280. help
  281. In Intel processor with SSE4.2 supported, the processor will
  282. support CRC32C implementation using hardware accelerated CRC32
  283. instruction. This option will create 'crc32c-intel' module,
  284. which will enable any routine to use the CRC32 instruction to
  285. gain performance compared with software implementation.
  286. Module will be crc32c-intel.
  287. config CRYPTO_CRC32C_SPARC64
  288. tristate "CRC32c CRC algorithm (SPARC64)"
  289. depends on SPARC64
  290. select CRYPTO_HASH
  291. select CRC32
  292. help
  293. CRC32c CRC algorithm implemented using sparc64 crypto instructions,
  294. when available.
  295. config CRYPTO_CRC32
  296. tristate "CRC32 CRC algorithm"
  297. select CRYPTO_HASH
  298. select CRC32
  299. help
  300. CRC-32-IEEE 802.3 cyclic redundancy-check algorithm.
  301. Shash crypto api wrappers to crc32_le function.
  302. config CRYPTO_CRC32_PCLMUL
  303. tristate "CRC32 PCLMULQDQ hardware acceleration"
  304. depends on X86
  305. select CRYPTO_HASH
  306. select CRC32
  307. help
  308. From Intel Westmere and AMD Bulldozer processor with SSE4.2
  309. and PCLMULQDQ supported, the processor will support
  310. CRC32 PCLMULQDQ implementation using hardware accelerated PCLMULQDQ
  311. instruction. This option will create 'crc32-plcmul' module,
  312. which will enable any routine to use the CRC-32-IEEE 802.3 checksum
  313. and gain better performance as compared with the table implementation.
  314. config CRYPTO_GHASH
  315. tristate "GHASH digest algorithm"
  316. select CRYPTO_GF128MUL
  317. help
  318. GHASH is message digest algorithm for GCM (Galois/Counter Mode).
  319. config CRYPTO_MD4
  320. tristate "MD4 digest algorithm"
  321. select CRYPTO_HASH
  322. help
  323. MD4 message digest algorithm (RFC1320).
  324. config CRYPTO_MD5
  325. tristate "MD5 digest algorithm"
  326. select CRYPTO_HASH
  327. help
  328. MD5 message digest algorithm (RFC1321).
  329. config CRYPTO_MD5_SPARC64
  330. tristate "MD5 digest algorithm (SPARC64)"
  331. depends on SPARC64
  332. select CRYPTO_MD5
  333. select CRYPTO_HASH
  334. help
  335. MD5 message digest algorithm (RFC1321) implemented
  336. using sparc64 crypto instructions, when available.
  337. config CRYPTO_MICHAEL_MIC
  338. tristate "Michael MIC keyed digest algorithm"
  339. select CRYPTO_HASH
  340. help
  341. Michael MIC is used for message integrity protection in TKIP
  342. (IEEE 802.11i). This algorithm is required for TKIP, but it
  343. should not be used for other purposes because of the weakness
  344. of the algorithm.
  345. config CRYPTO_RMD128
  346. tristate "RIPEMD-128 digest algorithm"
  347. select CRYPTO_HASH
  348. help
  349. RIPEMD-128 (ISO/IEC 10118-3:2004).
  350. RIPEMD-128 is a 128-bit cryptographic hash function. It should only
  351. be used as a secure replacement for RIPEMD. For other use cases,
  352. RIPEMD-160 should be used.
  353. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  354. See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
  355. config CRYPTO_RMD160
  356. tristate "RIPEMD-160 digest algorithm"
  357. select CRYPTO_HASH
  358. help
  359. RIPEMD-160 (ISO/IEC 10118-3:2004).
  360. RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
  361. to be used as a secure replacement for the 128-bit hash functions
  362. MD4, MD5 and it's predecessor RIPEMD
  363. (not to be confused with RIPEMD-128).
  364. It's speed is comparable to SHA1 and there are no known attacks
  365. against RIPEMD-160.
  366. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  367. See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
  368. config CRYPTO_RMD256
  369. tristate "RIPEMD-256 digest algorithm"
  370. select CRYPTO_HASH
  371. help
  372. RIPEMD-256 is an optional extension of RIPEMD-128 with a
  373. 256 bit hash. It is intended for applications that require
  374. longer hash-results, without needing a larger security level
  375. (than RIPEMD-128).
  376. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  377. See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
  378. config CRYPTO_RMD320
  379. tristate "RIPEMD-320 digest algorithm"
  380. select CRYPTO_HASH
  381. help
  382. RIPEMD-320 is an optional extension of RIPEMD-160 with a
  383. 320 bit hash. It is intended for applications that require
  384. longer hash-results, without needing a larger security level
  385. (than RIPEMD-160).
  386. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  387. See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
  388. config CRYPTO_SHA1
  389. tristate "SHA1 digest algorithm"
  390. select CRYPTO_HASH
  391. help
  392. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
  393. config CRYPTO_SHA1_SSSE3
  394. tristate "SHA1 digest algorithm (SSSE3/AVX)"
  395. depends on X86 && 64BIT
  396. select CRYPTO_SHA1
  397. select CRYPTO_HASH
  398. help
  399. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
  400. using Supplemental SSE3 (SSSE3) instructions or Advanced Vector
  401. Extensions (AVX), when available.
  402. config CRYPTO_SHA256_SSSE3
  403. tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2)"
  404. depends on X86 && 64BIT
  405. select CRYPTO_SHA256
  406. select CRYPTO_HASH
  407. help
  408. SHA-256 secure hash standard (DFIPS 180-2) implemented
  409. using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector
  410. Extensions version 1 (AVX1), or Advanced Vector Extensions
  411. version 2 (AVX2) instructions, when available.
  412. config CRYPTO_SHA512_SSSE3
  413. tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)"
  414. depends on X86 && 64BIT
  415. select CRYPTO_SHA512
  416. select CRYPTO_HASH
  417. help
  418. SHA-512 secure hash standard (DFIPS 180-2) implemented
  419. using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector
  420. Extensions version 1 (AVX1), or Advanced Vector Extensions
  421. version 2 (AVX2) instructions, when available.
  422. config CRYPTO_SHA1_SPARC64
  423. tristate "SHA1 digest algorithm (SPARC64)"
  424. depends on SPARC64
  425. select CRYPTO_SHA1
  426. select CRYPTO_HASH
  427. help
  428. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
  429. using sparc64 crypto instructions, when available.
  430. config CRYPTO_SHA1_ARM
  431. tristate "SHA1 digest algorithm (ARM-asm)"
  432. depends on ARM
  433. select CRYPTO_SHA1
  434. select CRYPTO_HASH
  435. help
  436. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
  437. using optimized ARM assembler.
  438. config CRYPTO_SHA1_PPC
  439. tristate "SHA1 digest algorithm (powerpc)"
  440. depends on PPC
  441. help
  442. This is the powerpc hardware accelerated implementation of the
  443. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
  444. config CRYPTO_SHA256
  445. tristate "SHA224 and SHA256 digest algorithm"
  446. select CRYPTO_HASH
  447. help
  448. SHA256 secure hash standard (DFIPS 180-2).
  449. This version of SHA implements a 256 bit hash with 128 bits of
  450. security against collision attacks.
  451. This code also includes SHA-224, a 224 bit hash with 112 bits
  452. of security against collision attacks.
  453. config CRYPTO_SHA256_SPARC64
  454. tristate "SHA224 and SHA256 digest algorithm (SPARC64)"
  455. depends on SPARC64
  456. select CRYPTO_SHA256
  457. select CRYPTO_HASH
  458. help
  459. SHA-256 secure hash standard (DFIPS 180-2) implemented
  460. using sparc64 crypto instructions, when available.
  461. config CRYPTO_SHA512
  462. tristate "SHA384 and SHA512 digest algorithms"
  463. select CRYPTO_HASH
  464. help
  465. SHA512 secure hash standard (DFIPS 180-2).
  466. This version of SHA implements a 512 bit hash with 256 bits of
  467. security against collision attacks.
  468. This code also includes SHA-384, a 384 bit hash with 192 bits
  469. of security against collision attacks.
  470. config CRYPTO_SHA512_SPARC64
  471. tristate "SHA384 and SHA512 digest algorithm (SPARC64)"
  472. depends on SPARC64
  473. select CRYPTO_SHA512
  474. select CRYPTO_HASH
  475. help
  476. SHA-512 secure hash standard (DFIPS 180-2) implemented
  477. using sparc64 crypto instructions, when available.
  478. config CRYPTO_TGR192
  479. tristate "Tiger digest algorithms"
  480. select CRYPTO_HASH
  481. help
  482. Tiger hash algorithm 192, 160 and 128-bit hashes
  483. Tiger is a hash function optimized for 64-bit processors while
  484. still having decent performance on 32-bit processors.
  485. Tiger was developed by Ross Anderson and Eli Biham.
  486. See also:
  487. <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
  488. config CRYPTO_WP512
  489. tristate "Whirlpool digest algorithms"
  490. select CRYPTO_HASH
  491. help
  492. Whirlpool hash algorithm 512, 384 and 256-bit hashes
  493. Whirlpool-512 is part of the NESSIE cryptographic primitives.
  494. Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
  495. See also:
  496. <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html>
  497. config CRYPTO_GHASH_CLMUL_NI_INTEL
  498. tristate "GHASH digest algorithm (CLMUL-NI accelerated)"
  499. depends on X86 && 64BIT
  500. select CRYPTO_CRYPTD
  501. help
  502. GHASH is message digest algorithm for GCM (Galois/Counter Mode).
  503. The implementation is accelerated by CLMUL-NI of Intel.
  504. comment "Ciphers"
  505. config CRYPTO_AES
  506. tristate "AES cipher algorithms"
  507. select CRYPTO_ALGAPI
  508. help
  509. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  510. algorithm.
  511. Rijndael appears to be consistently a very good performer in
  512. both hardware and software across a wide range of computing
  513. environments regardless of its use in feedback or non-feedback
  514. modes. Its key setup time is excellent, and its key agility is
  515. good. Rijndael's very low memory requirements make it very well
  516. suited for restricted-space environments, in which it also
  517. demonstrates excellent performance. Rijndael's operations are
  518. among the easiest to defend against power and timing attacks.
  519. The AES specifies three key sizes: 128, 192 and 256 bits
  520. See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
  521. config CRYPTO_AES_586
  522. tristate "AES cipher algorithms (i586)"
  523. depends on (X86 || UML_X86) && !64BIT
  524. select CRYPTO_ALGAPI
  525. select CRYPTO_AES
  526. help
  527. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  528. algorithm.
  529. Rijndael appears to be consistently a very good performer in
  530. both hardware and software across a wide range of computing
  531. environments regardless of its use in feedback or non-feedback
  532. modes. Its key setup time is excellent, and its key agility is
  533. good. Rijndael's very low memory requirements make it very well
  534. suited for restricted-space environments, in which it also
  535. demonstrates excellent performance. Rijndael's operations are
  536. among the easiest to defend against power and timing attacks.
  537. The AES specifies three key sizes: 128, 192 and 256 bits
  538. See <http://csrc.nist.gov/encryption/aes/> for more information.
  539. config CRYPTO_AES_X86_64
  540. tristate "AES cipher algorithms (x86_64)"
  541. depends on (X86 || UML_X86) && 64BIT
  542. select CRYPTO_ALGAPI
  543. select CRYPTO_AES
  544. help
  545. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  546. algorithm.
  547. Rijndael appears to be consistently a very good performer in
  548. both hardware and software across a wide range of computing
  549. environments regardless of its use in feedback or non-feedback
  550. modes. Its key setup time is excellent, and its key agility is
  551. good. Rijndael's very low memory requirements make it very well
  552. suited for restricted-space environments, in which it also
  553. demonstrates excellent performance. Rijndael's operations are
  554. among the easiest to defend against power and timing attacks.
  555. The AES specifies three key sizes: 128, 192 and 256 bits
  556. See <http://csrc.nist.gov/encryption/aes/> for more information.
  557. config CRYPTO_AES_NI_INTEL
  558. tristate "AES cipher algorithms (AES-NI)"
  559. depends on X86
  560. select CRYPTO_AES_X86_64 if 64BIT
  561. select CRYPTO_AES_586 if !64BIT
  562. select CRYPTO_CRYPTD
  563. select CRYPTO_ABLK_HELPER_X86
  564. select CRYPTO_ALGAPI
  565. select CRYPTO_LRW
  566. select CRYPTO_XTS
  567. help
  568. Use Intel AES-NI instructions for AES algorithm.
  569. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  570. algorithm.
  571. Rijndael appears to be consistently a very good performer in
  572. both hardware and software across a wide range of computing
  573. environments regardless of its use in feedback or non-feedback
  574. modes. Its key setup time is excellent, and its key agility is
  575. good. Rijndael's very low memory requirements make it very well
  576. suited for restricted-space environments, in which it also
  577. demonstrates excellent performance. Rijndael's operations are
  578. among the easiest to defend against power and timing attacks.
  579. The AES specifies three key sizes: 128, 192 and 256 bits
  580. See <http://csrc.nist.gov/encryption/aes/> for more information.
  581. In addition to AES cipher algorithm support, the acceleration
  582. for some popular block cipher mode is supported too, including
  583. ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional
  584. acceleration for CTR.
  585. config CRYPTO_AES_SPARC64
  586. tristate "AES cipher algorithms (SPARC64)"
  587. depends on SPARC64
  588. select CRYPTO_CRYPTD
  589. select CRYPTO_ALGAPI
  590. help
  591. Use SPARC64 crypto opcodes for AES algorithm.
  592. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  593. algorithm.
  594. Rijndael appears to be consistently a very good performer in
  595. both hardware and software across a wide range of computing
  596. environments regardless of its use in feedback or non-feedback
  597. modes. Its key setup time is excellent, and its key agility is
  598. good. Rijndael's very low memory requirements make it very well
  599. suited for restricted-space environments, in which it also
  600. demonstrates excellent performance. Rijndael's operations are
  601. among the easiest to defend against power and timing attacks.
  602. The AES specifies three key sizes: 128, 192 and 256 bits
  603. See <http://csrc.nist.gov/encryption/aes/> for more information.
  604. In addition to AES cipher algorithm support, the acceleration
  605. for some popular block cipher mode is supported too, including
  606. ECB and CBC.
  607. config CRYPTO_AES_ARM
  608. tristate "AES cipher algorithms (ARM-asm)"
  609. depends on ARM
  610. select CRYPTO_ALGAPI
  611. select CRYPTO_AES
  612. help
  613. Use optimized AES assembler routines for ARM platforms.
  614. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  615. algorithm.
  616. Rijndael appears to be consistently a very good performer in
  617. both hardware and software across a wide range of computing
  618. environments regardless of its use in feedback or non-feedback
  619. modes. Its key setup time is excellent, and its key agility is
  620. good. Rijndael's very low memory requirements make it very well
  621. suited for restricted-space environments, in which it also
  622. demonstrates excellent performance. Rijndael's operations are
  623. among the easiest to defend against power and timing attacks.
  624. The AES specifies three key sizes: 128, 192 and 256 bits
  625. See <http://csrc.nist.gov/encryption/aes/> for more information.
  626. config CRYPTO_ANUBIS
  627. tristate "Anubis cipher algorithm"
  628. select CRYPTO_ALGAPI
  629. help
  630. Anubis cipher algorithm.
  631. Anubis is a variable key length cipher which can use keys from
  632. 128 bits to 320 bits in length. It was evaluated as a entrant
  633. in the NESSIE competition.
  634. See also:
  635. <https://www.cosic.esat.kuleuven.be/nessie/reports/>
  636. <http://www.larc.usp.br/~pbarreto/AnubisPage.html>
  637. config CRYPTO_ARC4
  638. tristate "ARC4 cipher algorithm"
  639. select CRYPTO_BLKCIPHER
  640. help
  641. ARC4 cipher algorithm.
  642. ARC4 is a stream cipher using keys ranging from 8 bits to 2048
  643. bits in length. This algorithm is required for driver-based
  644. WEP, but it should not be for other purposes because of the
  645. weakness of the algorithm.
  646. config CRYPTO_BLOWFISH
  647. tristate "Blowfish cipher algorithm"
  648. select CRYPTO_ALGAPI
  649. select CRYPTO_BLOWFISH_COMMON
  650. help
  651. Blowfish cipher algorithm, by Bruce Schneier.
  652. This is a variable key length cipher which can use keys from 32
  653. bits to 448 bits in length. It's fast, simple and specifically
  654. designed for use on "large microprocessors".
  655. See also:
  656. <http://www.schneier.com/blowfish.html>
  657. config CRYPTO_BLOWFISH_COMMON
  658. tristate
  659. help
  660. Common parts of the Blowfish cipher algorithm shared by the
  661. generic c and the assembler implementations.
  662. See also:
  663. <http://www.schneier.com/blowfish.html>
  664. config CRYPTO_BLOWFISH_X86_64
  665. tristate "Blowfish cipher algorithm (x86_64)"
  666. depends on X86 && 64BIT
  667. select CRYPTO_ALGAPI
  668. select CRYPTO_BLOWFISH_COMMON
  669. help
  670. Blowfish cipher algorithm (x86_64), by Bruce Schneier.
  671. This is a variable key length cipher which can use keys from 32
  672. bits to 448 bits in length. It's fast, simple and specifically
  673. designed for use on "large microprocessors".
  674. See also:
  675. <http://www.schneier.com/blowfish.html>
  676. config CRYPTO_CAMELLIA
  677. tristate "Camellia cipher algorithms"
  678. depends on CRYPTO
  679. select CRYPTO_ALGAPI
  680. help
  681. Camellia cipher algorithms module.
  682. Camellia is a symmetric key block cipher developed jointly
  683. at NTT and Mitsubishi Electric Corporation.
  684. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  685. See also:
  686. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  687. config CRYPTO_CAMELLIA_X86_64
  688. tristate "Camellia cipher algorithm (x86_64)"
  689. depends on X86 && 64BIT
  690. depends on CRYPTO
  691. select CRYPTO_ALGAPI
  692. select CRYPTO_GLUE_HELPER_X86
  693. select CRYPTO_LRW
  694. select CRYPTO_XTS
  695. help
  696. Camellia cipher algorithm module (x86_64).
  697. Camellia is a symmetric key block cipher developed jointly
  698. at NTT and Mitsubishi Electric Corporation.
  699. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  700. See also:
  701. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  702. config CRYPTO_CAMELLIA_AESNI_AVX_X86_64
  703. tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)"
  704. depends on X86 && 64BIT
  705. depends on CRYPTO
  706. select CRYPTO_ALGAPI
  707. select CRYPTO_CRYPTD
  708. select CRYPTO_ABLK_HELPER_X86
  709. select CRYPTO_GLUE_HELPER_X86
  710. select CRYPTO_CAMELLIA_X86_64
  711. select CRYPTO_LRW
  712. select CRYPTO_XTS
  713. help
  714. Camellia cipher algorithm module (x86_64/AES-NI/AVX).
  715. Camellia is a symmetric key block cipher developed jointly
  716. at NTT and Mitsubishi Electric Corporation.
  717. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  718. See also:
  719. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  720. config CRYPTO_CAMELLIA_SPARC64
  721. tristate "Camellia cipher algorithm (SPARC64)"
  722. depends on SPARC64
  723. depends on CRYPTO
  724. select CRYPTO_ALGAPI
  725. help
  726. Camellia cipher algorithm module (SPARC64).
  727. Camellia is a symmetric key block cipher developed jointly
  728. at NTT and Mitsubishi Electric Corporation.
  729. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  730. See also:
  731. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  732. config CRYPTO_CAST_COMMON
  733. tristate
  734. help
  735. Common parts of the CAST cipher algorithms shared by the
  736. generic c and the assembler implementations.
  737. config CRYPTO_CAST5
  738. tristate "CAST5 (CAST-128) cipher algorithm"
  739. select CRYPTO_ALGAPI
  740. select CRYPTO_CAST_COMMON
  741. help
  742. The CAST5 encryption algorithm (synonymous with CAST-128) is
  743. described in RFC2144.
  744. config CRYPTO_CAST5_AVX_X86_64
  745. tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)"
  746. depends on X86 && 64BIT
  747. select CRYPTO_ALGAPI
  748. select CRYPTO_CRYPTD
  749. select CRYPTO_ABLK_HELPER_X86
  750. select CRYPTO_CAST_COMMON
  751. select CRYPTO_CAST5
  752. help
  753. The CAST5 encryption algorithm (synonymous with CAST-128) is
  754. described in RFC2144.
  755. This module provides the Cast5 cipher algorithm that processes
  756. sixteen blocks parallel using the AVX instruction set.
  757. config CRYPTO_CAST6
  758. tristate "CAST6 (CAST-256) cipher algorithm"
  759. select CRYPTO_ALGAPI
  760. select CRYPTO_CAST_COMMON
  761. help
  762. The CAST6 encryption algorithm (synonymous with CAST-256) is
  763. described in RFC2612.
  764. config CRYPTO_CAST6_AVX_X86_64
  765. tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)"
  766. depends on X86 && 64BIT
  767. select CRYPTO_ALGAPI
  768. select CRYPTO_CRYPTD
  769. select CRYPTO_ABLK_HELPER_X86
  770. select CRYPTO_GLUE_HELPER_X86
  771. select CRYPTO_CAST_COMMON
  772. select CRYPTO_CAST6
  773. select CRYPTO_LRW
  774. select CRYPTO_XTS
  775. help
  776. The CAST6 encryption algorithm (synonymous with CAST-256) is
  777. described in RFC2612.
  778. This module provides the Cast6 cipher algorithm that processes
  779. eight blocks parallel using the AVX instruction set.
  780. config CRYPTO_DES
  781. tristate "DES and Triple DES EDE cipher algorithms"
  782. select CRYPTO_ALGAPI
  783. help
  784. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
  785. config CRYPTO_DES_SPARC64
  786. tristate "DES and Triple DES EDE cipher algorithms (SPARC64)"
  787. depends on SPARC64
  788. select CRYPTO_ALGAPI
  789. select CRYPTO_DES
  790. help
  791. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3),
  792. optimized using SPARC64 crypto opcodes.
  793. config CRYPTO_FCRYPT
  794. tristate "FCrypt cipher algorithm"
  795. select CRYPTO_ALGAPI
  796. select CRYPTO_BLKCIPHER
  797. help
  798. FCrypt algorithm used by RxRPC.
  799. config CRYPTO_KHAZAD
  800. tristate "Khazad cipher algorithm"
  801. select CRYPTO_ALGAPI
  802. help
  803. Khazad cipher algorithm.
  804. Khazad was a finalist in the initial NESSIE competition. It is
  805. an algorithm optimized for 64-bit processors with good performance
  806. on 32-bit processors. Khazad uses an 128 bit key size.
  807. See also:
  808. <http://www.larc.usp.br/~pbarreto/KhazadPage.html>
  809. config CRYPTO_SALSA20
  810. tristate "Salsa20 stream cipher algorithm"
  811. select CRYPTO_BLKCIPHER
  812. help
  813. Salsa20 stream cipher algorithm.
  814. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  815. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  816. The Salsa20 stream cipher algorithm is designed by Daniel J.
  817. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  818. config CRYPTO_SALSA20_586
  819. tristate "Salsa20 stream cipher algorithm (i586)"
  820. depends on (X86 || UML_X86) && !64BIT
  821. select CRYPTO_BLKCIPHER
  822. help
  823. Salsa20 stream cipher algorithm.
  824. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  825. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  826. The Salsa20 stream cipher algorithm is designed by Daniel J.
  827. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  828. config CRYPTO_SALSA20_X86_64
  829. tristate "Salsa20 stream cipher algorithm (x86_64)"
  830. depends on (X86 || UML_X86) && 64BIT
  831. select CRYPTO_BLKCIPHER
  832. help
  833. Salsa20 stream cipher algorithm.
  834. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  835. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  836. The Salsa20 stream cipher algorithm is designed by Daniel J.
  837. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  838. config CRYPTO_SEED
  839. tristate "SEED cipher algorithm"
  840. select CRYPTO_ALGAPI
  841. help
  842. SEED cipher algorithm (RFC4269).
  843. SEED is a 128-bit symmetric key block cipher that has been
  844. developed by KISA (Korea Information Security Agency) as a
  845. national standard encryption algorithm of the Republic of Korea.
  846. It is a 16 round block cipher with the key size of 128 bit.
  847. See also:
  848. <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
  849. config CRYPTO_SERPENT
  850. tristate "Serpent cipher algorithm"
  851. select CRYPTO_ALGAPI
  852. help
  853. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  854. Keys are allowed to be from 0 to 256 bits in length, in steps
  855. of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
  856. variant of Serpent for compatibility with old kerneli.org code.
  857. See also:
  858. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  859. config CRYPTO_SERPENT_SSE2_X86_64
  860. tristate "Serpent cipher algorithm (x86_64/SSE2)"
  861. depends on X86 && 64BIT
  862. select CRYPTO_ALGAPI
  863. select CRYPTO_CRYPTD
  864. select CRYPTO_ABLK_HELPER_X86
  865. select CRYPTO_GLUE_HELPER_X86
  866. select CRYPTO_SERPENT
  867. select CRYPTO_LRW
  868. select CRYPTO_XTS
  869. help
  870. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  871. Keys are allowed to be from 0 to 256 bits in length, in steps
  872. of 8 bits.
  873. This module provides Serpent cipher algorithm that processes eigth
  874. blocks parallel using SSE2 instruction set.
  875. See also:
  876. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  877. config CRYPTO_SERPENT_SSE2_586
  878. tristate "Serpent cipher algorithm (i586/SSE2)"
  879. depends on X86 && !64BIT
  880. select CRYPTO_ALGAPI
  881. select CRYPTO_CRYPTD
  882. select CRYPTO_ABLK_HELPER_X86
  883. select CRYPTO_GLUE_HELPER_X86
  884. select CRYPTO_SERPENT
  885. select CRYPTO_LRW
  886. select CRYPTO_XTS
  887. help
  888. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  889. Keys are allowed to be from 0 to 256 bits in length, in steps
  890. of 8 bits.
  891. This module provides Serpent cipher algorithm that processes four
  892. blocks parallel using SSE2 instruction set.
  893. See also:
  894. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  895. config CRYPTO_SERPENT_AVX_X86_64
  896. tristate "Serpent cipher algorithm (x86_64/AVX)"
  897. depends on X86 && 64BIT
  898. select CRYPTO_ALGAPI
  899. select CRYPTO_CRYPTD
  900. select CRYPTO_ABLK_HELPER_X86
  901. select CRYPTO_GLUE_HELPER_X86
  902. select CRYPTO_SERPENT
  903. select CRYPTO_LRW
  904. select CRYPTO_XTS
  905. help
  906. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  907. Keys are allowed to be from 0 to 256 bits in length, in steps
  908. of 8 bits.
  909. This module provides the Serpent cipher algorithm that processes
  910. eight blocks parallel using the AVX instruction set.
  911. See also:
  912. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  913. config CRYPTO_TEA
  914. tristate "TEA, XTEA and XETA cipher algorithms"
  915. select CRYPTO_ALGAPI
  916. help
  917. TEA cipher algorithm.
  918. Tiny Encryption Algorithm is a simple cipher that uses
  919. many rounds for security. It is very fast and uses
  920. little memory.
  921. Xtendend Tiny Encryption Algorithm is a modification to
  922. the TEA algorithm to address a potential key weakness
  923. in the TEA algorithm.
  924. Xtendend Encryption Tiny Algorithm is a mis-implementation
  925. of the XTEA algorithm for compatibility purposes.
  926. config CRYPTO_TWOFISH
  927. tristate "Twofish cipher algorithm"
  928. select CRYPTO_ALGAPI
  929. select CRYPTO_TWOFISH_COMMON
  930. help
  931. Twofish cipher algorithm.
  932. Twofish was submitted as an AES (Advanced Encryption Standard)
  933. candidate cipher by researchers at CounterPane Systems. It is a
  934. 16 round block cipher supporting key sizes of 128, 192, and 256
  935. bits.
  936. See also:
  937. <http://www.schneier.com/twofish.html>
  938. config CRYPTO_TWOFISH_COMMON
  939. tristate
  940. help
  941. Common parts of the Twofish cipher algorithm shared by the
  942. generic c and the assembler implementations.
  943. config CRYPTO_TWOFISH_586
  944. tristate "Twofish cipher algorithms (i586)"
  945. depends on (X86 || UML_X86) && !64BIT
  946. select CRYPTO_ALGAPI
  947. select CRYPTO_TWOFISH_COMMON
  948. help
  949. Twofish cipher algorithm.
  950. Twofish was submitted as an AES (Advanced Encryption Standard)
  951. candidate cipher by researchers at CounterPane Systems. It is a
  952. 16 round block cipher supporting key sizes of 128, 192, and 256
  953. bits.
  954. See also:
  955. <http://www.schneier.com/twofish.html>
  956. config CRYPTO_TWOFISH_X86_64
  957. tristate "Twofish cipher algorithm (x86_64)"
  958. depends on (X86 || UML_X86) && 64BIT
  959. select CRYPTO_ALGAPI
  960. select CRYPTO_TWOFISH_COMMON
  961. help
  962. Twofish cipher algorithm (x86_64).
  963. Twofish was submitted as an AES (Advanced Encryption Standard)
  964. candidate cipher by researchers at CounterPane Systems. It is a
  965. 16 round block cipher supporting key sizes of 128, 192, and 256
  966. bits.
  967. See also:
  968. <http://www.schneier.com/twofish.html>
  969. config CRYPTO_TWOFISH_X86_64_3WAY
  970. tristate "Twofish cipher algorithm (x86_64, 3-way parallel)"
  971. depends on X86 && 64BIT
  972. select CRYPTO_ALGAPI
  973. select CRYPTO_TWOFISH_COMMON
  974. select CRYPTO_TWOFISH_X86_64
  975. select CRYPTO_GLUE_HELPER_X86
  976. select CRYPTO_LRW
  977. select CRYPTO_XTS
  978. help
  979. Twofish cipher algorithm (x86_64, 3-way parallel).
  980. Twofish was submitted as an AES (Advanced Encryption Standard)
  981. candidate cipher by researchers at CounterPane Systems. It is a
  982. 16 round block cipher supporting key sizes of 128, 192, and 256
  983. bits.
  984. This module provides Twofish cipher algorithm that processes three
  985. blocks parallel, utilizing resources of out-of-order CPUs better.
  986. See also:
  987. <http://www.schneier.com/twofish.html>
  988. config CRYPTO_TWOFISH_AVX_X86_64
  989. tristate "Twofish cipher algorithm (x86_64/AVX)"
  990. depends on X86 && 64BIT
  991. select CRYPTO_ALGAPI
  992. select CRYPTO_CRYPTD
  993. select CRYPTO_ABLK_HELPER_X86
  994. select CRYPTO_GLUE_HELPER_X86
  995. select CRYPTO_TWOFISH_COMMON
  996. select CRYPTO_TWOFISH_X86_64
  997. select CRYPTO_TWOFISH_X86_64_3WAY
  998. select CRYPTO_LRW
  999. select CRYPTO_XTS
  1000. help
  1001. Twofish cipher algorithm (x86_64/AVX).
  1002. Twofish was submitted as an AES (Advanced Encryption Standard)
  1003. candidate cipher by researchers at CounterPane Systems. It is a
  1004. 16 round block cipher supporting key sizes of 128, 192, and 256
  1005. bits.
  1006. This module provides the Twofish cipher algorithm that processes
  1007. eight blocks parallel using the AVX Instruction Set.
  1008. See also:
  1009. <http://www.schneier.com/twofish.html>
  1010. comment "Compression"
  1011. config CRYPTO_DEFLATE
  1012. tristate "Deflate compression algorithm"
  1013. select CRYPTO_ALGAPI
  1014. select ZLIB_INFLATE
  1015. select ZLIB_DEFLATE
  1016. help
  1017. This is the Deflate algorithm (RFC1951), specified for use in
  1018. IPSec with the IPCOMP protocol (RFC3173, RFC2394).
  1019. You will most probably want this if using IPSec.
  1020. config CRYPTO_ZLIB
  1021. tristate "Zlib compression algorithm"
  1022. select CRYPTO_PCOMP
  1023. select ZLIB_INFLATE
  1024. select ZLIB_DEFLATE
  1025. select NLATTR
  1026. help
  1027. This is the zlib algorithm.
  1028. config CRYPTO_LZO
  1029. tristate "LZO compression algorithm"
  1030. select CRYPTO_ALGAPI
  1031. select LZO_COMPRESS
  1032. select LZO_DECOMPRESS
  1033. help
  1034. This is the LZO algorithm.
  1035. config CRYPTO_842
  1036. tristate "842 compression algorithm"
  1037. depends on CRYPTO_DEV_NX_COMPRESS
  1038. # 842 uses lzo if the hardware becomes unavailable
  1039. select LZO_COMPRESS
  1040. select LZO_DECOMPRESS
  1041. help
  1042. This is the 842 algorithm.
  1043. comment "Random Number Generation"
  1044. config CRYPTO_ANSI_CPRNG
  1045. tristate "Pseudo Random Number Generation for Cryptographic modules"
  1046. default m
  1047. select CRYPTO_AES
  1048. select CRYPTO_RNG
  1049. help
  1050. This option enables the generic pseudo random number generator
  1051. for cryptographic modules. Uses the Algorithm specified in
  1052. ANSI X9.31 A.2.4. Note that this option must be enabled if
  1053. CRYPTO_FIPS is selected
  1054. config CRYPTO_USER_API
  1055. tristate
  1056. config CRYPTO_USER_API_HASH
  1057. tristate "User-space interface for hash algorithms"
  1058. depends on NET
  1059. select CRYPTO_HASH
  1060. select CRYPTO_USER_API
  1061. help
  1062. This option enables the user-spaces interface for hash
  1063. algorithms.
  1064. config CRYPTO_USER_API_SKCIPHER
  1065. tristate "User-space interface for symmetric key cipher algorithms"
  1066. depends on NET
  1067. select CRYPTO_BLKCIPHER
  1068. select CRYPTO_USER_API
  1069. help
  1070. This option enables the user-spaces interface for symmetric
  1071. key cipher algorithms.
  1072. source "drivers/crypto/Kconfig"
  1073. source crypto/asymmetric_keys/Kconfig
  1074. endif # if CRYPTO