Kconfig 37 KB

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