Kconfig 22 KB

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