Kconfig 35 KB

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