Kconfig 36 KB

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