Kconfig 36 KB

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