Kconfig 22 KB

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