Kconfig 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310
  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_LRW
  575. select CRYPTO_XTS
  576. help
  577. Use Intel AES-NI instructions for AES algorithm.
  578. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  579. algorithm.
  580. Rijndael appears to be consistently a very good performer in
  581. both hardware and software across a wide range of computing
  582. environments regardless of its use in feedback or non-feedback
  583. modes. Its key setup time is excellent, and its key agility is
  584. good. Rijndael's very low memory requirements make it very well
  585. suited for restricted-space environments, in which it also
  586. demonstrates excellent performance. Rijndael's operations are
  587. among the easiest to defend against power and timing attacks.
  588. The AES specifies three key sizes: 128, 192 and 256 bits
  589. See <http://csrc.nist.gov/encryption/aes/> for more information.
  590. In addition to AES cipher algorithm support, the acceleration
  591. for some popular block cipher mode is supported too, including
  592. ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional
  593. acceleration for CTR.
  594. config CRYPTO_AES_SPARC64
  595. tristate "AES cipher algorithms (SPARC64)"
  596. depends on SPARC64
  597. select CRYPTO_CRYPTD
  598. select CRYPTO_ALGAPI
  599. help
  600. Use SPARC64 crypto opcodes for AES algorithm.
  601. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  602. algorithm.
  603. Rijndael appears to be consistently a very good performer in
  604. both hardware and software across a wide range of computing
  605. environments regardless of its use in feedback or non-feedback
  606. modes. Its key setup time is excellent, and its key agility is
  607. good. Rijndael's very low memory requirements make it very well
  608. suited for restricted-space environments, in which it also
  609. demonstrates excellent performance. Rijndael's operations are
  610. among the easiest to defend against power and timing attacks.
  611. The AES specifies three key sizes: 128, 192 and 256 bits
  612. See <http://csrc.nist.gov/encryption/aes/> for more information.
  613. In addition to AES cipher algorithm support, the acceleration
  614. for some popular block cipher mode is supported too, including
  615. ECB and CBC.
  616. config CRYPTO_AES_ARM
  617. tristate "AES cipher algorithms (ARM-asm)"
  618. depends on ARM
  619. select CRYPTO_ALGAPI
  620. select CRYPTO_AES
  621. help
  622. Use optimized AES assembler routines for ARM platforms.
  623. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  624. algorithm.
  625. Rijndael appears to be consistently a very good performer in
  626. both hardware and software across a wide range of computing
  627. environments regardless of its use in feedback or non-feedback
  628. modes. Its key setup time is excellent, and its key agility is
  629. good. Rijndael's very low memory requirements make it very well
  630. suited for restricted-space environments, in which it also
  631. demonstrates excellent performance. Rijndael's operations are
  632. among the easiest to defend against power and timing attacks.
  633. The AES specifies three key sizes: 128, 192 and 256 bits
  634. See <http://csrc.nist.gov/encryption/aes/> for more information.
  635. config CRYPTO_ANUBIS
  636. tristate "Anubis cipher algorithm"
  637. select CRYPTO_ALGAPI
  638. help
  639. Anubis cipher algorithm.
  640. Anubis is a variable key length cipher which can use keys from
  641. 128 bits to 320 bits in length. It was evaluated as a entrant
  642. in the NESSIE competition.
  643. See also:
  644. <https://www.cosic.esat.kuleuven.be/nessie/reports/>
  645. <http://www.larc.usp.br/~pbarreto/AnubisPage.html>
  646. config CRYPTO_ARC4
  647. tristate "ARC4 cipher algorithm"
  648. select CRYPTO_BLKCIPHER
  649. help
  650. ARC4 cipher algorithm.
  651. ARC4 is a stream cipher using keys ranging from 8 bits to 2048
  652. bits in length. This algorithm is required for driver-based
  653. WEP, but it should not be for other purposes because of the
  654. weakness of the algorithm.
  655. config CRYPTO_BLOWFISH
  656. tristate "Blowfish cipher algorithm"
  657. select CRYPTO_ALGAPI
  658. select CRYPTO_BLOWFISH_COMMON
  659. help
  660. Blowfish cipher algorithm, by Bruce Schneier.
  661. This is a variable key length cipher which can use keys from 32
  662. bits to 448 bits in length. It's fast, simple and specifically
  663. designed for use on "large microprocessors".
  664. See also:
  665. <http://www.schneier.com/blowfish.html>
  666. config CRYPTO_BLOWFISH_COMMON
  667. tristate
  668. help
  669. Common parts of the Blowfish cipher algorithm shared by the
  670. generic c and the assembler implementations.
  671. See also:
  672. <http://www.schneier.com/blowfish.html>
  673. config CRYPTO_BLOWFISH_X86_64
  674. tristate "Blowfish cipher algorithm (x86_64)"
  675. depends on X86 && 64BIT
  676. select CRYPTO_ALGAPI
  677. select CRYPTO_BLOWFISH_COMMON
  678. help
  679. Blowfish cipher algorithm (x86_64), by Bruce Schneier.
  680. This is a variable key length cipher which can use keys from 32
  681. bits to 448 bits in length. It's fast, simple and specifically
  682. designed for use on "large microprocessors".
  683. See also:
  684. <http://www.schneier.com/blowfish.html>
  685. config CRYPTO_CAMELLIA
  686. tristate "Camellia cipher algorithms"
  687. depends on CRYPTO
  688. select CRYPTO_ALGAPI
  689. help
  690. Camellia cipher algorithms module.
  691. Camellia is a symmetric key block cipher developed jointly
  692. at NTT and Mitsubishi Electric Corporation.
  693. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  694. See also:
  695. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  696. config CRYPTO_CAMELLIA_X86_64
  697. tristate "Camellia cipher algorithm (x86_64)"
  698. depends on X86 && 64BIT
  699. depends on CRYPTO
  700. select CRYPTO_ALGAPI
  701. select CRYPTO_GLUE_HELPER_X86
  702. select CRYPTO_LRW
  703. select CRYPTO_XTS
  704. help
  705. Camellia cipher algorithm module (x86_64).
  706. Camellia is a symmetric key block cipher developed jointly
  707. at NTT and Mitsubishi Electric Corporation.
  708. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  709. See also:
  710. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  711. config CRYPTO_CAMELLIA_AESNI_AVX_X86_64
  712. tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)"
  713. depends on X86 && 64BIT
  714. depends on CRYPTO
  715. select CRYPTO_ALGAPI
  716. select CRYPTO_CRYPTD
  717. select CRYPTO_ABLK_HELPER_X86
  718. select CRYPTO_GLUE_HELPER_X86
  719. select CRYPTO_CAMELLIA_X86_64
  720. select CRYPTO_LRW
  721. select CRYPTO_XTS
  722. help
  723. Camellia cipher algorithm module (x86_64/AES-NI/AVX).
  724. Camellia is a symmetric key block cipher developed jointly
  725. at NTT and Mitsubishi Electric Corporation.
  726. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  727. See also:
  728. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  729. config CRYPTO_CAMELLIA_SPARC64
  730. tristate "Camellia cipher algorithm (SPARC64)"
  731. depends on SPARC64
  732. depends on CRYPTO
  733. select CRYPTO_ALGAPI
  734. help
  735. Camellia cipher algorithm module (SPARC64).
  736. Camellia is a symmetric key block cipher developed jointly
  737. at NTT and Mitsubishi Electric Corporation.
  738. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  739. See also:
  740. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  741. config CRYPTO_CAST_COMMON
  742. tristate
  743. help
  744. Common parts of the CAST cipher algorithms shared by the
  745. generic c and the assembler implementations.
  746. config CRYPTO_CAST5
  747. tristate "CAST5 (CAST-128) cipher algorithm"
  748. select CRYPTO_ALGAPI
  749. select CRYPTO_CAST_COMMON
  750. help
  751. The CAST5 encryption algorithm (synonymous with CAST-128) is
  752. described in RFC2144.
  753. config CRYPTO_CAST5_AVX_X86_64
  754. tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)"
  755. depends on X86 && 64BIT
  756. select CRYPTO_ALGAPI
  757. select CRYPTO_CRYPTD
  758. select CRYPTO_ABLK_HELPER_X86
  759. select CRYPTO_CAST_COMMON
  760. select CRYPTO_CAST5
  761. help
  762. The CAST5 encryption algorithm (synonymous with CAST-128) is
  763. described in RFC2144.
  764. This module provides the Cast5 cipher algorithm that processes
  765. sixteen blocks parallel using the AVX instruction set.
  766. config CRYPTO_CAST6
  767. tristate "CAST6 (CAST-256) cipher algorithm"
  768. select CRYPTO_ALGAPI
  769. select CRYPTO_CAST_COMMON
  770. help
  771. The CAST6 encryption algorithm (synonymous with CAST-256) is
  772. described in RFC2612.
  773. config CRYPTO_CAST6_AVX_X86_64
  774. tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)"
  775. depends on X86 && 64BIT
  776. select CRYPTO_ALGAPI
  777. select CRYPTO_CRYPTD
  778. select CRYPTO_ABLK_HELPER_X86
  779. select CRYPTO_GLUE_HELPER_X86
  780. select CRYPTO_CAST_COMMON
  781. select CRYPTO_CAST6
  782. select CRYPTO_LRW
  783. select CRYPTO_XTS
  784. help
  785. The CAST6 encryption algorithm (synonymous with CAST-256) is
  786. described in RFC2612.
  787. This module provides the Cast6 cipher algorithm that processes
  788. eight blocks parallel using the AVX instruction set.
  789. config CRYPTO_DES
  790. tristate "DES and Triple DES EDE cipher algorithms"
  791. select CRYPTO_ALGAPI
  792. help
  793. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
  794. config CRYPTO_DES_SPARC64
  795. tristate "DES and Triple DES EDE cipher algorithms (SPARC64)"
  796. depends on SPARC64
  797. select CRYPTO_ALGAPI
  798. select CRYPTO_DES
  799. help
  800. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3),
  801. optimized using SPARC64 crypto opcodes.
  802. config CRYPTO_FCRYPT
  803. tristate "FCrypt cipher algorithm"
  804. select CRYPTO_ALGAPI
  805. select CRYPTO_BLKCIPHER
  806. help
  807. FCrypt algorithm used by RxRPC.
  808. config CRYPTO_KHAZAD
  809. tristate "Khazad cipher algorithm"
  810. select CRYPTO_ALGAPI
  811. help
  812. Khazad cipher algorithm.
  813. Khazad was a finalist in the initial NESSIE competition. It is
  814. an algorithm optimized for 64-bit processors with good performance
  815. on 32-bit processors. Khazad uses an 128 bit key size.
  816. See also:
  817. <http://www.larc.usp.br/~pbarreto/KhazadPage.html>
  818. config CRYPTO_SALSA20
  819. tristate "Salsa20 stream cipher algorithm"
  820. select CRYPTO_BLKCIPHER
  821. help
  822. Salsa20 stream cipher algorithm.
  823. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  824. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  825. The Salsa20 stream cipher algorithm is designed by Daniel J.
  826. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  827. config CRYPTO_SALSA20_586
  828. tristate "Salsa20 stream cipher algorithm (i586)"
  829. depends on (X86 || UML_X86) && !64BIT
  830. select CRYPTO_BLKCIPHER
  831. help
  832. Salsa20 stream cipher algorithm.
  833. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  834. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  835. The Salsa20 stream cipher algorithm is designed by Daniel J.
  836. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  837. config CRYPTO_SALSA20_X86_64
  838. tristate "Salsa20 stream cipher algorithm (x86_64)"
  839. depends on (X86 || UML_X86) && 64BIT
  840. select CRYPTO_BLKCIPHER
  841. help
  842. Salsa20 stream cipher algorithm.
  843. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  844. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  845. The Salsa20 stream cipher algorithm is designed by Daniel J.
  846. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  847. config CRYPTO_SEED
  848. tristate "SEED cipher algorithm"
  849. select CRYPTO_ALGAPI
  850. help
  851. SEED cipher algorithm (RFC4269).
  852. SEED is a 128-bit symmetric key block cipher that has been
  853. developed by KISA (Korea Information Security Agency) as a
  854. national standard encryption algorithm of the Republic of Korea.
  855. It is a 16 round block cipher with the key size of 128 bit.
  856. See also:
  857. <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
  858. config CRYPTO_SERPENT
  859. tristate "Serpent cipher algorithm"
  860. select CRYPTO_ALGAPI
  861. help
  862. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  863. Keys are allowed to be from 0 to 256 bits in length, in steps
  864. of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
  865. variant of Serpent for compatibility with old kerneli.org code.
  866. See also:
  867. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  868. config CRYPTO_SERPENT_SSE2_X86_64
  869. tristate "Serpent cipher algorithm (x86_64/SSE2)"
  870. depends on X86 && 64BIT
  871. select CRYPTO_ALGAPI
  872. select CRYPTO_CRYPTD
  873. select CRYPTO_ABLK_HELPER_X86
  874. select CRYPTO_GLUE_HELPER_X86
  875. select CRYPTO_SERPENT
  876. select CRYPTO_LRW
  877. select CRYPTO_XTS
  878. help
  879. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  880. Keys are allowed to be from 0 to 256 bits in length, in steps
  881. of 8 bits.
  882. This module provides Serpent cipher algorithm that processes eigth
  883. blocks parallel using SSE2 instruction set.
  884. See also:
  885. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  886. config CRYPTO_SERPENT_SSE2_586
  887. tristate "Serpent cipher algorithm (i586/SSE2)"
  888. depends on X86 && !64BIT
  889. select CRYPTO_ALGAPI
  890. select CRYPTO_CRYPTD
  891. select CRYPTO_ABLK_HELPER_X86
  892. select CRYPTO_GLUE_HELPER_X86
  893. select CRYPTO_SERPENT
  894. select CRYPTO_LRW
  895. select CRYPTO_XTS
  896. help
  897. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  898. Keys are allowed to be from 0 to 256 bits in length, in steps
  899. of 8 bits.
  900. This module provides Serpent cipher algorithm that processes four
  901. blocks parallel using SSE2 instruction set.
  902. See also:
  903. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  904. config CRYPTO_SERPENT_AVX_X86_64
  905. tristate "Serpent cipher algorithm (x86_64/AVX)"
  906. depends on X86 && 64BIT
  907. select CRYPTO_ALGAPI
  908. select CRYPTO_CRYPTD
  909. select CRYPTO_ABLK_HELPER_X86
  910. select CRYPTO_GLUE_HELPER_X86
  911. select CRYPTO_SERPENT
  912. select CRYPTO_LRW
  913. select CRYPTO_XTS
  914. help
  915. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  916. Keys are allowed to be from 0 to 256 bits in length, in steps
  917. of 8 bits.
  918. This module provides the Serpent cipher algorithm that processes
  919. eight blocks parallel using the AVX instruction set.
  920. See also:
  921. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  922. config CRYPTO_TEA
  923. tristate "TEA, XTEA and XETA cipher algorithms"
  924. select CRYPTO_ALGAPI
  925. help
  926. TEA cipher algorithm.
  927. Tiny Encryption Algorithm is a simple cipher that uses
  928. many rounds for security. It is very fast and uses
  929. little memory.
  930. Xtendend Tiny Encryption Algorithm is a modification to
  931. the TEA algorithm to address a potential key weakness
  932. in the TEA algorithm.
  933. Xtendend Encryption Tiny Algorithm is a mis-implementation
  934. of the XTEA algorithm for compatibility purposes.
  935. config CRYPTO_TWOFISH
  936. tristate "Twofish cipher algorithm"
  937. select CRYPTO_ALGAPI
  938. select CRYPTO_TWOFISH_COMMON
  939. help
  940. Twofish cipher algorithm.
  941. Twofish was submitted as an AES (Advanced Encryption Standard)
  942. candidate cipher by researchers at CounterPane Systems. It is a
  943. 16 round block cipher supporting key sizes of 128, 192, and 256
  944. bits.
  945. See also:
  946. <http://www.schneier.com/twofish.html>
  947. config CRYPTO_TWOFISH_COMMON
  948. tristate
  949. help
  950. Common parts of the Twofish cipher algorithm shared by the
  951. generic c and the assembler implementations.
  952. config CRYPTO_TWOFISH_586
  953. tristate "Twofish cipher algorithms (i586)"
  954. depends on (X86 || UML_X86) && !64BIT
  955. select CRYPTO_ALGAPI
  956. select CRYPTO_TWOFISH_COMMON
  957. help
  958. Twofish cipher algorithm.
  959. Twofish was submitted as an AES (Advanced Encryption Standard)
  960. candidate cipher by researchers at CounterPane Systems. It is a
  961. 16 round block cipher supporting key sizes of 128, 192, and 256
  962. bits.
  963. See also:
  964. <http://www.schneier.com/twofish.html>
  965. config CRYPTO_TWOFISH_X86_64
  966. tristate "Twofish cipher algorithm (x86_64)"
  967. depends on (X86 || UML_X86) && 64BIT
  968. select CRYPTO_ALGAPI
  969. select CRYPTO_TWOFISH_COMMON
  970. help
  971. Twofish cipher algorithm (x86_64).
  972. Twofish was submitted as an AES (Advanced Encryption Standard)
  973. candidate cipher by researchers at CounterPane Systems. It is a
  974. 16 round block cipher supporting key sizes of 128, 192, and 256
  975. bits.
  976. See also:
  977. <http://www.schneier.com/twofish.html>
  978. config CRYPTO_TWOFISH_X86_64_3WAY
  979. tristate "Twofish cipher algorithm (x86_64, 3-way parallel)"
  980. depends on X86 && 64BIT
  981. select CRYPTO_ALGAPI
  982. select CRYPTO_TWOFISH_COMMON
  983. select CRYPTO_TWOFISH_X86_64
  984. select CRYPTO_GLUE_HELPER_X86
  985. select CRYPTO_LRW
  986. select CRYPTO_XTS
  987. help
  988. Twofish cipher algorithm (x86_64, 3-way parallel).
  989. Twofish was submitted as an AES (Advanced Encryption Standard)
  990. candidate cipher by researchers at CounterPane Systems. It is a
  991. 16 round block cipher supporting key sizes of 128, 192, and 256
  992. bits.
  993. This module provides Twofish cipher algorithm that processes three
  994. blocks parallel, utilizing resources of out-of-order CPUs better.
  995. See also:
  996. <http://www.schneier.com/twofish.html>
  997. config CRYPTO_TWOFISH_AVX_X86_64
  998. tristate "Twofish cipher algorithm (x86_64/AVX)"
  999. depends on X86 && 64BIT
  1000. select CRYPTO_ALGAPI
  1001. select CRYPTO_CRYPTD
  1002. select CRYPTO_ABLK_HELPER_X86
  1003. select CRYPTO_GLUE_HELPER_X86
  1004. select CRYPTO_TWOFISH_COMMON
  1005. select CRYPTO_TWOFISH_X86_64
  1006. select CRYPTO_TWOFISH_X86_64_3WAY
  1007. select CRYPTO_LRW
  1008. select CRYPTO_XTS
  1009. help
  1010. Twofish cipher algorithm (x86_64/AVX).
  1011. Twofish was submitted as an AES (Advanced Encryption Standard)
  1012. candidate cipher by researchers at CounterPane Systems. It is a
  1013. 16 round block cipher supporting key sizes of 128, 192, and 256
  1014. bits.
  1015. This module provides the Twofish cipher algorithm that processes
  1016. eight blocks parallel using the AVX Instruction Set.
  1017. See also:
  1018. <http://www.schneier.com/twofish.html>
  1019. comment "Compression"
  1020. config CRYPTO_DEFLATE
  1021. tristate "Deflate compression algorithm"
  1022. select CRYPTO_ALGAPI
  1023. select ZLIB_INFLATE
  1024. select ZLIB_DEFLATE
  1025. help
  1026. This is the Deflate algorithm (RFC1951), specified for use in
  1027. IPSec with the IPCOMP protocol (RFC3173, RFC2394).
  1028. You will most probably want this if using IPSec.
  1029. config CRYPTO_ZLIB
  1030. tristate "Zlib compression algorithm"
  1031. select CRYPTO_PCOMP
  1032. select ZLIB_INFLATE
  1033. select ZLIB_DEFLATE
  1034. select NLATTR
  1035. help
  1036. This is the zlib algorithm.
  1037. config CRYPTO_LZO
  1038. tristate "LZO compression algorithm"
  1039. select CRYPTO_ALGAPI
  1040. select LZO_COMPRESS
  1041. select LZO_DECOMPRESS
  1042. help
  1043. This is the LZO algorithm.
  1044. config CRYPTO_842
  1045. tristate "842 compression algorithm"
  1046. depends on CRYPTO_DEV_NX_COMPRESS
  1047. # 842 uses lzo if the hardware becomes unavailable
  1048. select LZO_COMPRESS
  1049. select LZO_DECOMPRESS
  1050. help
  1051. This is the 842 algorithm.
  1052. comment "Random Number Generation"
  1053. config CRYPTO_ANSI_CPRNG
  1054. tristate "Pseudo Random Number Generation for Cryptographic modules"
  1055. default m
  1056. select CRYPTO_AES
  1057. select CRYPTO_RNG
  1058. help
  1059. This option enables the generic pseudo random number generator
  1060. for cryptographic modules. Uses the Algorithm specified in
  1061. ANSI X9.31 A.2.4. Note that this option must be enabled if
  1062. CRYPTO_FIPS is selected
  1063. config CRYPTO_USER_API
  1064. tristate
  1065. config CRYPTO_USER_API_HASH
  1066. tristate "User-space interface for hash algorithms"
  1067. depends on NET
  1068. select CRYPTO_HASH
  1069. select CRYPTO_USER_API
  1070. help
  1071. This option enables the user-spaces interface for hash
  1072. algorithms.
  1073. config CRYPTO_USER_API_SKCIPHER
  1074. tristate "User-space interface for symmetric key cipher algorithms"
  1075. depends on NET
  1076. select CRYPTO_BLKCIPHER
  1077. select CRYPTO_USER_API
  1078. help
  1079. This option enables the user-spaces interface for symmetric
  1080. key cipher algorithms.
  1081. source "drivers/crypto/Kconfig"
  1082. source crypto/asymmetric_keys/Kconfig
  1083. endif # if CRYPTO