Kconfig 36 KB

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