Kconfig 39 KB

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