Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799
  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. help
  22. This options enables the fips boot option which is
  23. required if you want to system to operate in a FIPS 200
  24. certification. You should say no unless you know what
  25. this is.
  26. config CRYPTO_ALGAPI
  27. tristate
  28. select CRYPTO_ALGAPI2
  29. help
  30. This option provides the API for cryptographic algorithms.
  31. config CRYPTO_ALGAPI2
  32. tristate
  33. config CRYPTO_AEAD
  34. tristate
  35. select CRYPTO_AEAD2
  36. select CRYPTO_ALGAPI
  37. config CRYPTO_AEAD2
  38. tristate
  39. select CRYPTO_ALGAPI2
  40. config CRYPTO_BLKCIPHER
  41. tristate
  42. select CRYPTO_BLKCIPHER2
  43. select CRYPTO_ALGAPI
  44. config CRYPTO_BLKCIPHER2
  45. tristate
  46. select CRYPTO_ALGAPI2
  47. select CRYPTO_RNG2
  48. select CRYPTO_WORKQUEUE
  49. config CRYPTO_HASH
  50. tristate
  51. select CRYPTO_HASH2
  52. select CRYPTO_ALGAPI
  53. config CRYPTO_HASH2
  54. tristate
  55. select CRYPTO_ALGAPI2
  56. config CRYPTO_RNG
  57. tristate
  58. select CRYPTO_RNG2
  59. select CRYPTO_ALGAPI
  60. config CRYPTO_RNG2
  61. tristate
  62. select CRYPTO_ALGAPI2
  63. config CRYPTO_PCOMP
  64. tristate
  65. select CRYPTO_ALGAPI2
  66. config CRYPTO_MANAGER
  67. tristate "Cryptographic algorithm manager"
  68. select CRYPTO_MANAGER2
  69. help
  70. Create default cryptographic template instantiations such as
  71. cbc(aes).
  72. config CRYPTO_MANAGER2
  73. def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y)
  74. select CRYPTO_AEAD2
  75. select CRYPTO_HASH2
  76. select CRYPTO_BLKCIPHER2
  77. select CRYPTO_PCOMP
  78. config CRYPTO_GF128MUL
  79. tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"
  80. depends on EXPERIMENTAL
  81. help
  82. Efficient table driven implementation of multiplications in the
  83. field GF(2^128). This is needed by some cypher modes. This
  84. option will be selected automatically if you select such a
  85. cipher mode. Only select this option by hand if you expect to load
  86. an external module that requires these functions.
  87. config CRYPTO_NULL
  88. tristate "Null algorithms"
  89. select CRYPTO_ALGAPI
  90. select CRYPTO_BLKCIPHER
  91. select CRYPTO_HASH
  92. help
  93. These are 'Null' algorithms, used by IPsec, which do nothing.
  94. config CRYPTO_WORKQUEUE
  95. tristate
  96. config CRYPTO_CRYPTD
  97. tristate "Software async crypto daemon"
  98. select CRYPTO_BLKCIPHER
  99. select CRYPTO_HASH
  100. select CRYPTO_MANAGER
  101. select CRYPTO_WORKQUEUE
  102. help
  103. This is a generic software asynchronous crypto daemon that
  104. converts an arbitrary synchronous software crypto algorithm
  105. into an asynchronous algorithm that executes in a kernel thread.
  106. config CRYPTO_AUTHENC
  107. tristate "Authenc support"
  108. select CRYPTO_AEAD
  109. select CRYPTO_BLKCIPHER
  110. select CRYPTO_MANAGER
  111. select CRYPTO_HASH
  112. help
  113. Authenc: Combined mode wrapper for IPsec.
  114. This is required for IPSec.
  115. config CRYPTO_TEST
  116. tristate "Testing module"
  117. depends on m
  118. select CRYPTO_MANAGER
  119. help
  120. Quick & dirty crypto test module.
  121. comment "Authenticated Encryption with Associated Data"
  122. config CRYPTO_CCM
  123. tristate "CCM support"
  124. select CRYPTO_CTR
  125. select CRYPTO_AEAD
  126. help
  127. Support for Counter with CBC MAC. Required for IPsec.
  128. config CRYPTO_GCM
  129. tristate "GCM/GMAC support"
  130. select CRYPTO_CTR
  131. select CRYPTO_AEAD
  132. select CRYPTO_GHASH
  133. help
  134. Support for Galois/Counter Mode (GCM) and Galois Message
  135. Authentication Code (GMAC). Required for IPSec.
  136. config CRYPTO_SEQIV
  137. tristate "Sequence Number IV Generator"
  138. select CRYPTO_AEAD
  139. select CRYPTO_BLKCIPHER
  140. select CRYPTO_RNG
  141. help
  142. This IV generator generates an IV based on a sequence number by
  143. xoring it with a salt. This algorithm is mainly useful for CTR
  144. comment "Block modes"
  145. config CRYPTO_CBC
  146. tristate "CBC support"
  147. select CRYPTO_BLKCIPHER
  148. select CRYPTO_MANAGER
  149. help
  150. CBC: Cipher Block Chaining mode
  151. This block cipher algorithm is required for IPSec.
  152. config CRYPTO_CTR
  153. tristate "CTR support"
  154. select CRYPTO_BLKCIPHER
  155. select CRYPTO_SEQIV
  156. select CRYPTO_MANAGER
  157. help
  158. CTR: Counter mode
  159. This block cipher algorithm is required for IPSec.
  160. config CRYPTO_CTS
  161. tristate "CTS support"
  162. select CRYPTO_BLKCIPHER
  163. help
  164. CTS: Cipher Text Stealing
  165. This is the Cipher Text Stealing mode as described by
  166. Section 8 of rfc2040 and referenced by rfc3962.
  167. (rfc3962 includes errata information in its Appendix A)
  168. This mode is required for Kerberos gss mechanism support
  169. for AES encryption.
  170. config CRYPTO_ECB
  171. tristate "ECB support"
  172. select CRYPTO_BLKCIPHER
  173. select CRYPTO_MANAGER
  174. help
  175. ECB: Electronic CodeBook mode
  176. This is the simplest block cipher algorithm. It simply encrypts
  177. the input block by block.
  178. config CRYPTO_LRW
  179. tristate "LRW support (EXPERIMENTAL)"
  180. depends on EXPERIMENTAL
  181. select CRYPTO_BLKCIPHER
  182. select CRYPTO_MANAGER
  183. select CRYPTO_GF128MUL
  184. help
  185. LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
  186. narrow block cipher mode for dm-crypt. Use it with cipher
  187. specification string aes-lrw-benbi, the key must be 256, 320 or 384.
  188. The first 128, 192 or 256 bits in the key are used for AES and the
  189. rest is used to tie each cipher block to its logical position.
  190. config CRYPTO_PCBC
  191. tristate "PCBC support"
  192. select CRYPTO_BLKCIPHER
  193. select CRYPTO_MANAGER
  194. help
  195. PCBC: Propagating Cipher Block Chaining mode
  196. This block cipher algorithm is required for RxRPC.
  197. config CRYPTO_XTS
  198. tristate "XTS support (EXPERIMENTAL)"
  199. depends on EXPERIMENTAL
  200. select CRYPTO_BLKCIPHER
  201. select CRYPTO_MANAGER
  202. select CRYPTO_GF128MUL
  203. help
  204. XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
  205. key size 256, 384 or 512 bits. This implementation currently
  206. can't handle a sectorsize which is not a multiple of 16 bytes.
  207. config CRYPTO_FPU
  208. tristate
  209. select CRYPTO_BLKCIPHER
  210. select CRYPTO_MANAGER
  211. comment "Hash modes"
  212. config CRYPTO_HMAC
  213. tristate "HMAC support"
  214. select CRYPTO_HASH
  215. select CRYPTO_MANAGER
  216. help
  217. HMAC: Keyed-Hashing for Message Authentication (RFC2104).
  218. This is required for IPSec.
  219. config CRYPTO_XCBC
  220. tristate "XCBC support"
  221. depends on EXPERIMENTAL
  222. select CRYPTO_HASH
  223. select CRYPTO_MANAGER
  224. help
  225. XCBC: Keyed-Hashing with encryption algorithm
  226. http://www.ietf.org/rfc/rfc3566.txt
  227. http://csrc.nist.gov/encryption/modes/proposedmodes/
  228. xcbc-mac/xcbc-mac-spec.pdf
  229. comment "Digest"
  230. config CRYPTO_CRC32C
  231. tristate "CRC32c CRC algorithm"
  232. select CRYPTO_HASH
  233. help
  234. Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
  235. by iSCSI for header and data digests and by others.
  236. See Castagnoli93. Module will be crc32c.
  237. config CRYPTO_CRC32C_INTEL
  238. tristate "CRC32c INTEL hardware acceleration"
  239. depends on X86
  240. select CRYPTO_HASH
  241. help
  242. In Intel processor with SSE4.2 supported, the processor will
  243. support CRC32C implementation using hardware accelerated CRC32
  244. instruction. This option will create 'crc32c-intel' module,
  245. which will enable any routine to use the CRC32 instruction to
  246. gain performance compared with software implementation.
  247. Module will be crc32c-intel.
  248. config CRYPTO_GHASH
  249. tristate "GHASH digest algorithm"
  250. select CRYPTO_SHASH
  251. select CRYPTO_GF128MUL
  252. help
  253. GHASH is message digest algorithm for GCM (Galois/Counter Mode).
  254. config CRYPTO_MD4
  255. tristate "MD4 digest algorithm"
  256. select CRYPTO_HASH
  257. help
  258. MD4 message digest algorithm (RFC1320).
  259. config CRYPTO_MD5
  260. tristate "MD5 digest algorithm"
  261. select CRYPTO_HASH
  262. help
  263. MD5 message digest algorithm (RFC1321).
  264. config CRYPTO_MICHAEL_MIC
  265. tristate "Michael MIC keyed digest algorithm"
  266. select CRYPTO_HASH
  267. help
  268. Michael MIC is used for message integrity protection in TKIP
  269. (IEEE 802.11i). This algorithm is required for TKIP, but it
  270. should not be used for other purposes because of the weakness
  271. of the algorithm.
  272. config CRYPTO_RMD128
  273. tristate "RIPEMD-128 digest algorithm"
  274. select CRYPTO_HASH
  275. help
  276. RIPEMD-128 (ISO/IEC 10118-3:2004).
  277. RIPEMD-128 is a 128-bit cryptographic hash function. It should only
  278. to be used as a secure replacement for RIPEMD. For other use cases
  279. RIPEMD-160 should be used.
  280. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  281. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  282. config CRYPTO_RMD160
  283. tristate "RIPEMD-160 digest algorithm"
  284. select CRYPTO_HASH
  285. help
  286. RIPEMD-160 (ISO/IEC 10118-3:2004).
  287. RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
  288. to be used as a secure replacement for the 128-bit hash functions
  289. MD4, MD5 and it's predecessor RIPEMD
  290. (not to be confused with RIPEMD-128).
  291. It's speed is comparable to SHA1 and there are no known attacks
  292. against RIPEMD-160.
  293. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  294. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  295. config CRYPTO_RMD256
  296. tristate "RIPEMD-256 digest algorithm"
  297. select CRYPTO_HASH
  298. help
  299. RIPEMD-256 is an optional extension of RIPEMD-128 with a
  300. 256 bit hash. It is intended for applications that require
  301. longer hash-results, without needing a larger security level
  302. (than RIPEMD-128).
  303. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  304. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  305. config CRYPTO_RMD320
  306. tristate "RIPEMD-320 digest algorithm"
  307. select CRYPTO_HASH
  308. help
  309. RIPEMD-320 is an optional extension of RIPEMD-160 with a
  310. 320 bit hash. It is intended for applications that require
  311. longer hash-results, without needing a larger security level
  312. (than RIPEMD-160).
  313. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  314. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  315. config CRYPTO_SHA1
  316. tristate "SHA1 digest algorithm"
  317. select CRYPTO_HASH
  318. help
  319. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
  320. config CRYPTO_SHA256
  321. tristate "SHA224 and SHA256 digest algorithm"
  322. select CRYPTO_HASH
  323. help
  324. SHA256 secure hash standard (DFIPS 180-2).
  325. This version of SHA implements a 256 bit hash with 128 bits of
  326. security against collision attacks.
  327. This code also includes SHA-224, a 224 bit hash with 112 bits
  328. of security against collision attacks.
  329. config CRYPTO_SHA512
  330. tristate "SHA384 and SHA512 digest algorithms"
  331. select CRYPTO_HASH
  332. help
  333. SHA512 secure hash standard (DFIPS 180-2).
  334. This version of SHA implements a 512 bit hash with 256 bits of
  335. security against collision attacks.
  336. This code also includes SHA-384, a 384 bit hash with 192 bits
  337. of security against collision attacks.
  338. config CRYPTO_TGR192
  339. tristate "Tiger digest algorithms"
  340. select CRYPTO_HASH
  341. help
  342. Tiger hash algorithm 192, 160 and 128-bit hashes
  343. Tiger is a hash function optimized for 64-bit processors while
  344. still having decent performance on 32-bit processors.
  345. Tiger was developed by Ross Anderson and Eli Biham.
  346. See also:
  347. <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
  348. config CRYPTO_WP512
  349. tristate "Whirlpool digest algorithms"
  350. select CRYPTO_HASH
  351. help
  352. Whirlpool hash algorithm 512, 384 and 256-bit hashes
  353. Whirlpool-512 is part of the NESSIE cryptographic primitives.
  354. Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
  355. See also:
  356. <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
  357. comment "Ciphers"
  358. config CRYPTO_AES
  359. tristate "AES cipher algorithms"
  360. select CRYPTO_ALGAPI
  361. help
  362. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  363. algorithm.
  364. Rijndael appears to be consistently a very good performer in
  365. both hardware and software across a wide range of computing
  366. environments regardless of its use in feedback or non-feedback
  367. modes. Its key setup time is excellent, and its key agility is
  368. good. Rijndael's very low memory requirements make it very well
  369. suited for restricted-space environments, in which it also
  370. demonstrates excellent performance. Rijndael's operations are
  371. among the easiest to defend against power and timing attacks.
  372. The AES specifies three key sizes: 128, 192 and 256 bits
  373. See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
  374. config CRYPTO_AES_586
  375. tristate "AES cipher algorithms (i586)"
  376. depends on (X86 || UML_X86) && !64BIT
  377. select CRYPTO_ALGAPI
  378. select CRYPTO_AES
  379. help
  380. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  381. algorithm.
  382. Rijndael appears to be consistently a very good performer in
  383. both hardware and software across a wide range of computing
  384. environments regardless of its use in feedback or non-feedback
  385. modes. Its key setup time is excellent, and its key agility is
  386. good. Rijndael's very low memory requirements make it very well
  387. suited for restricted-space environments, in which it also
  388. demonstrates excellent performance. Rijndael's operations are
  389. among the easiest to defend against power and timing attacks.
  390. The AES specifies three key sizes: 128, 192 and 256 bits
  391. See <http://csrc.nist.gov/encryption/aes/> for more information.
  392. config CRYPTO_AES_X86_64
  393. tristate "AES cipher algorithms (x86_64)"
  394. depends on (X86 || UML_X86) && 64BIT
  395. select CRYPTO_ALGAPI
  396. select CRYPTO_AES
  397. help
  398. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  399. algorithm.
  400. Rijndael appears to be consistently a very good performer in
  401. both hardware and software across a wide range of computing
  402. environments regardless of its use in feedback or non-feedback
  403. modes. Its key setup time is excellent, and its key agility is
  404. good. Rijndael's very low memory requirements make it very well
  405. suited for restricted-space environments, in which it also
  406. demonstrates excellent performance. Rijndael's operations are
  407. among the easiest to defend against power and timing attacks.
  408. The AES specifies three key sizes: 128, 192 and 256 bits
  409. See <http://csrc.nist.gov/encryption/aes/> for more information.
  410. config CRYPTO_AES_NI_INTEL
  411. tristate "AES cipher algorithms (AES-NI)"
  412. depends on (X86 || UML_X86) && 64BIT
  413. select CRYPTO_AES_X86_64
  414. select CRYPTO_CRYPTD
  415. select CRYPTO_ALGAPI
  416. select CRYPTO_FPU
  417. help
  418. Use Intel AES-NI instructions for AES algorithm.
  419. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  420. algorithm.
  421. Rijndael appears to be consistently a very good performer in
  422. both hardware and software across a wide range of computing
  423. environments regardless of its use in feedback or non-feedback
  424. modes. Its key setup time is excellent, and its key agility is
  425. good. Rijndael's very low memory requirements make it very well
  426. suited for restricted-space environments, in which it also
  427. demonstrates excellent performance. Rijndael's operations are
  428. among the easiest to defend against power and timing attacks.
  429. The AES specifies three key sizes: 128, 192 and 256 bits
  430. See <http://csrc.nist.gov/encryption/aes/> for more information.
  431. In addition to AES cipher algorithm support, the
  432. acceleration for some popular block cipher mode is supported
  433. too, including ECB, CBC, CTR, LRW, PCBC, XTS.
  434. config CRYPTO_ANUBIS
  435. tristate "Anubis cipher algorithm"
  436. select CRYPTO_ALGAPI
  437. help
  438. Anubis cipher algorithm.
  439. Anubis is a variable key length cipher which can use keys from
  440. 128 bits to 320 bits in length. It was evaluated as a entrant
  441. in the NESSIE competition.
  442. See also:
  443. <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
  444. <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
  445. config CRYPTO_ARC4
  446. tristate "ARC4 cipher algorithm"
  447. select CRYPTO_ALGAPI
  448. help
  449. ARC4 cipher algorithm.
  450. ARC4 is a stream cipher using keys ranging from 8 bits to 2048
  451. bits in length. This algorithm is required for driver-based
  452. WEP, but it should not be for other purposes because of the
  453. weakness of the algorithm.
  454. config CRYPTO_BLOWFISH
  455. tristate "Blowfish cipher algorithm"
  456. select CRYPTO_ALGAPI
  457. help
  458. Blowfish cipher algorithm, by Bruce Schneier.
  459. This is a variable key length cipher which can use keys from 32
  460. bits to 448 bits in length. It's fast, simple and specifically
  461. designed for use on "large microprocessors".
  462. See also:
  463. <http://www.schneier.com/blowfish.html>
  464. config CRYPTO_CAMELLIA
  465. tristate "Camellia cipher algorithms"
  466. depends on CRYPTO
  467. select CRYPTO_ALGAPI
  468. help
  469. Camellia cipher algorithms module.
  470. Camellia is a symmetric key block cipher developed jointly
  471. at NTT and Mitsubishi Electric Corporation.
  472. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  473. See also:
  474. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  475. config CRYPTO_CAST5
  476. tristate "CAST5 (CAST-128) cipher algorithm"
  477. select CRYPTO_ALGAPI
  478. help
  479. The CAST5 encryption algorithm (synonymous with CAST-128) is
  480. described in RFC2144.
  481. config CRYPTO_CAST6
  482. tristate "CAST6 (CAST-256) cipher algorithm"
  483. select CRYPTO_ALGAPI
  484. help
  485. The CAST6 encryption algorithm (synonymous with CAST-256) is
  486. described in RFC2612.
  487. config CRYPTO_DES
  488. tristate "DES and Triple DES EDE cipher algorithms"
  489. select CRYPTO_ALGAPI
  490. help
  491. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
  492. config CRYPTO_FCRYPT
  493. tristate "FCrypt cipher algorithm"
  494. select CRYPTO_ALGAPI
  495. select CRYPTO_BLKCIPHER
  496. help
  497. FCrypt algorithm used by RxRPC.
  498. config CRYPTO_KHAZAD
  499. tristate "Khazad cipher algorithm"
  500. select CRYPTO_ALGAPI
  501. help
  502. Khazad cipher algorithm.
  503. Khazad was a finalist in the initial NESSIE competition. It is
  504. an algorithm optimized for 64-bit processors with good performance
  505. on 32-bit processors. Khazad uses an 128 bit key size.
  506. See also:
  507. <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
  508. config CRYPTO_SALSA20
  509. tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)"
  510. depends on EXPERIMENTAL
  511. select CRYPTO_BLKCIPHER
  512. help
  513. Salsa20 stream cipher algorithm.
  514. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  515. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  516. The Salsa20 stream cipher algorithm is designed by Daniel J.
  517. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  518. config CRYPTO_SALSA20_586
  519. tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)"
  520. depends on (X86 || UML_X86) && !64BIT
  521. depends on EXPERIMENTAL
  522. select CRYPTO_BLKCIPHER
  523. help
  524. Salsa20 stream cipher algorithm.
  525. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  526. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  527. The Salsa20 stream cipher algorithm is designed by Daniel J.
  528. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  529. config CRYPTO_SALSA20_X86_64
  530. tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)"
  531. depends on (X86 || UML_X86) && 64BIT
  532. depends on EXPERIMENTAL
  533. select CRYPTO_BLKCIPHER
  534. help
  535. Salsa20 stream cipher algorithm.
  536. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  537. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  538. The Salsa20 stream cipher algorithm is designed by Daniel J.
  539. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  540. config CRYPTO_SEED
  541. tristate "SEED cipher algorithm"
  542. select CRYPTO_ALGAPI
  543. help
  544. SEED cipher algorithm (RFC4269).
  545. SEED is a 128-bit symmetric key block cipher that has been
  546. developed by KISA (Korea Information Security Agency) as a
  547. national standard encryption algorithm of the Republic of Korea.
  548. It is a 16 round block cipher with the key size of 128 bit.
  549. See also:
  550. <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
  551. config CRYPTO_SERPENT
  552. tristate "Serpent cipher algorithm"
  553. select CRYPTO_ALGAPI
  554. help
  555. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  556. Keys are allowed to be from 0 to 256 bits in length, in steps
  557. of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
  558. variant of Serpent for compatibility with old kerneli.org code.
  559. See also:
  560. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  561. config CRYPTO_TEA
  562. tristate "TEA, XTEA and XETA cipher algorithms"
  563. select CRYPTO_ALGAPI
  564. help
  565. TEA cipher algorithm.
  566. Tiny Encryption Algorithm is a simple cipher that uses
  567. many rounds for security. It is very fast and uses
  568. little memory.
  569. Xtendend Tiny Encryption Algorithm is a modification to
  570. the TEA algorithm to address a potential key weakness
  571. in the TEA algorithm.
  572. Xtendend Encryption Tiny Algorithm is a mis-implementation
  573. of the XTEA algorithm for compatibility purposes.
  574. config CRYPTO_TWOFISH
  575. tristate "Twofish cipher algorithm"
  576. select CRYPTO_ALGAPI
  577. select CRYPTO_TWOFISH_COMMON
  578. help
  579. Twofish cipher algorithm.
  580. Twofish was submitted as an AES (Advanced Encryption Standard)
  581. candidate cipher by researchers at CounterPane Systems. It is a
  582. 16 round block cipher supporting key sizes of 128, 192, and 256
  583. bits.
  584. See also:
  585. <http://www.schneier.com/twofish.html>
  586. config CRYPTO_TWOFISH_COMMON
  587. tristate
  588. help
  589. Common parts of the Twofish cipher algorithm shared by the
  590. generic c and the assembler implementations.
  591. config CRYPTO_TWOFISH_586
  592. tristate "Twofish cipher algorithms (i586)"
  593. depends on (X86 || UML_X86) && !64BIT
  594. select CRYPTO_ALGAPI
  595. select CRYPTO_TWOFISH_COMMON
  596. help
  597. Twofish cipher algorithm.
  598. Twofish was submitted as an AES (Advanced Encryption Standard)
  599. candidate cipher by researchers at CounterPane Systems. It is a
  600. 16 round block cipher supporting key sizes of 128, 192, and 256
  601. bits.
  602. See also:
  603. <http://www.schneier.com/twofish.html>
  604. config CRYPTO_TWOFISH_X86_64
  605. tristate "Twofish cipher algorithm (x86_64)"
  606. depends on (X86 || UML_X86) && 64BIT
  607. select CRYPTO_ALGAPI
  608. select CRYPTO_TWOFISH_COMMON
  609. help
  610. Twofish cipher algorithm (x86_64).
  611. Twofish was submitted as an AES (Advanced Encryption Standard)
  612. candidate cipher by researchers at CounterPane Systems. It is a
  613. 16 round block cipher supporting key sizes of 128, 192, and 256
  614. bits.
  615. See also:
  616. <http://www.schneier.com/twofish.html>
  617. comment "Compression"
  618. config CRYPTO_DEFLATE
  619. tristate "Deflate compression algorithm"
  620. select CRYPTO_ALGAPI
  621. select ZLIB_INFLATE
  622. select ZLIB_DEFLATE
  623. help
  624. This is the Deflate algorithm (RFC1951), specified for use in
  625. IPSec with the IPCOMP protocol (RFC3173, RFC2394).
  626. You will most probably want this if using IPSec.
  627. config CRYPTO_ZLIB
  628. tristate "Zlib compression algorithm"
  629. select CRYPTO_PCOMP
  630. select ZLIB_INFLATE
  631. select ZLIB_DEFLATE
  632. select NLATTR
  633. help
  634. This is the zlib algorithm.
  635. config CRYPTO_LZO
  636. tristate "LZO compression algorithm"
  637. select CRYPTO_ALGAPI
  638. select LZO_COMPRESS
  639. select LZO_DECOMPRESS
  640. help
  641. This is the LZO algorithm.
  642. comment "Random Number Generation"
  643. config CRYPTO_ANSI_CPRNG
  644. tristate "Pseudo Random Number Generation for Cryptographic modules"
  645. select CRYPTO_AES
  646. select CRYPTO_RNG
  647. help
  648. This option enables the generic pseudo random number generator
  649. for cryptographic modules. Uses the Algorithm specified in
  650. ANSI X9.31 A.2.4
  651. source "drivers/crypto/Kconfig"
  652. endif # if CRYPTO