Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793
  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_GF128MUL
  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_MD4
  249. tristate "MD4 digest algorithm"
  250. select CRYPTO_HASH
  251. help
  252. MD4 message digest algorithm (RFC1320).
  253. config CRYPTO_MD5
  254. tristate "MD5 digest algorithm"
  255. select CRYPTO_HASH
  256. help
  257. MD5 message digest algorithm (RFC1321).
  258. config CRYPTO_MICHAEL_MIC
  259. tristate "Michael MIC keyed digest algorithm"
  260. select CRYPTO_HASH
  261. help
  262. Michael MIC is used for message integrity protection in TKIP
  263. (IEEE 802.11i). This algorithm is required for TKIP, but it
  264. should not be used for other purposes because of the weakness
  265. of the algorithm.
  266. config CRYPTO_RMD128
  267. tristate "RIPEMD-128 digest algorithm"
  268. select CRYPTO_HASH
  269. help
  270. RIPEMD-128 (ISO/IEC 10118-3:2004).
  271. RIPEMD-128 is a 128-bit cryptographic hash function. It should only
  272. to be used as a secure replacement for RIPEMD. For other use cases
  273. RIPEMD-160 should be used.
  274. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  275. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  276. config CRYPTO_RMD160
  277. tristate "RIPEMD-160 digest algorithm"
  278. select CRYPTO_HASH
  279. help
  280. RIPEMD-160 (ISO/IEC 10118-3:2004).
  281. RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
  282. to be used as a secure replacement for the 128-bit hash functions
  283. MD4, MD5 and it's predecessor RIPEMD
  284. (not to be confused with RIPEMD-128).
  285. It's speed is comparable to SHA1 and there are no known attacks
  286. against RIPEMD-160.
  287. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  288. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  289. config CRYPTO_RMD256
  290. tristate "RIPEMD-256 digest algorithm"
  291. select CRYPTO_HASH
  292. help
  293. RIPEMD-256 is an optional extension of RIPEMD-128 with a
  294. 256 bit hash. It is intended for applications that require
  295. longer hash-results, without needing a larger security level
  296. (than RIPEMD-128).
  297. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  298. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  299. config CRYPTO_RMD320
  300. tristate "RIPEMD-320 digest algorithm"
  301. select CRYPTO_HASH
  302. help
  303. RIPEMD-320 is an optional extension of RIPEMD-160 with a
  304. 320 bit hash. It is intended for applications that require
  305. longer hash-results, without needing a larger security level
  306. (than RIPEMD-160).
  307. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  308. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  309. config CRYPTO_SHA1
  310. tristate "SHA1 digest algorithm"
  311. select CRYPTO_HASH
  312. help
  313. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
  314. config CRYPTO_SHA256
  315. tristate "SHA224 and SHA256 digest algorithm"
  316. select CRYPTO_HASH
  317. help
  318. SHA256 secure hash standard (DFIPS 180-2).
  319. This version of SHA implements a 256 bit hash with 128 bits of
  320. security against collision attacks.
  321. This code also includes SHA-224, a 224 bit hash with 112 bits
  322. of security against collision attacks.
  323. config CRYPTO_SHA512
  324. tristate "SHA384 and SHA512 digest algorithms"
  325. select CRYPTO_HASH
  326. help
  327. SHA512 secure hash standard (DFIPS 180-2).
  328. This version of SHA implements a 512 bit hash with 256 bits of
  329. security against collision attacks.
  330. This code also includes SHA-384, a 384 bit hash with 192 bits
  331. of security against collision attacks.
  332. config CRYPTO_TGR192
  333. tristate "Tiger digest algorithms"
  334. select CRYPTO_HASH
  335. help
  336. Tiger hash algorithm 192, 160 and 128-bit hashes
  337. Tiger is a hash function optimized for 64-bit processors while
  338. still having decent performance on 32-bit processors.
  339. Tiger was developed by Ross Anderson and Eli Biham.
  340. See also:
  341. <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
  342. config CRYPTO_WP512
  343. tristate "Whirlpool digest algorithms"
  344. select CRYPTO_HASH
  345. help
  346. Whirlpool hash algorithm 512, 384 and 256-bit hashes
  347. Whirlpool-512 is part of the NESSIE cryptographic primitives.
  348. Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
  349. See also:
  350. <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
  351. comment "Ciphers"
  352. config CRYPTO_AES
  353. tristate "AES cipher algorithms"
  354. select CRYPTO_ALGAPI
  355. help
  356. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  357. algorithm.
  358. Rijndael appears to be consistently a very good performer in
  359. both hardware and software across a wide range of computing
  360. environments regardless of its use in feedback or non-feedback
  361. modes. Its key setup time is excellent, and its key agility is
  362. good. Rijndael's very low memory requirements make it very well
  363. suited for restricted-space environments, in which it also
  364. demonstrates excellent performance. Rijndael's operations are
  365. among the easiest to defend against power and timing attacks.
  366. The AES specifies three key sizes: 128, 192 and 256 bits
  367. See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
  368. config CRYPTO_AES_586
  369. tristate "AES cipher algorithms (i586)"
  370. depends on (X86 || UML_X86) && !64BIT
  371. select CRYPTO_ALGAPI
  372. select CRYPTO_AES
  373. help
  374. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  375. algorithm.
  376. Rijndael appears to be consistently a very good performer in
  377. both hardware and software across a wide range of computing
  378. environments regardless of its use in feedback or non-feedback
  379. modes. Its key setup time is excellent, and its key agility is
  380. good. Rijndael's very low memory requirements make it very well
  381. suited for restricted-space environments, in which it also
  382. demonstrates excellent performance. Rijndael's operations are
  383. among the easiest to defend against power and timing attacks.
  384. The AES specifies three key sizes: 128, 192 and 256 bits
  385. See <http://csrc.nist.gov/encryption/aes/> for more information.
  386. config CRYPTO_AES_X86_64
  387. tristate "AES cipher algorithms (x86_64)"
  388. depends on (X86 || UML_X86) && 64BIT
  389. select CRYPTO_ALGAPI
  390. select CRYPTO_AES
  391. help
  392. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  393. algorithm.
  394. Rijndael appears to be consistently a very good performer in
  395. both hardware and software across a wide range of computing
  396. environments regardless of its use in feedback or non-feedback
  397. modes. Its key setup time is excellent, and its key agility is
  398. good. Rijndael's very low memory requirements make it very well
  399. suited for restricted-space environments, in which it also
  400. demonstrates excellent performance. Rijndael's operations are
  401. among the easiest to defend against power and timing attacks.
  402. The AES specifies three key sizes: 128, 192 and 256 bits
  403. See <http://csrc.nist.gov/encryption/aes/> for more information.
  404. config CRYPTO_AES_NI_INTEL
  405. tristate "AES cipher algorithms (AES-NI)"
  406. depends on (X86 || UML_X86) && 64BIT
  407. select CRYPTO_AES_X86_64
  408. select CRYPTO_CRYPTD
  409. select CRYPTO_ALGAPI
  410. select CRYPTO_FPU
  411. help
  412. Use Intel AES-NI instructions for AES algorithm.
  413. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  414. algorithm.
  415. Rijndael appears to be consistently a very good performer in
  416. both hardware and software across a wide range of computing
  417. environments regardless of its use in feedback or non-feedback
  418. modes. Its key setup time is excellent, and its key agility is
  419. good. Rijndael's very low memory requirements make it very well
  420. suited for restricted-space environments, in which it also
  421. demonstrates excellent performance. Rijndael's operations are
  422. among the easiest to defend against power and timing attacks.
  423. The AES specifies three key sizes: 128, 192 and 256 bits
  424. See <http://csrc.nist.gov/encryption/aes/> for more information.
  425. In addition to AES cipher algorithm support, the
  426. acceleration for some popular block cipher mode is supported
  427. too, including ECB, CBC, CTR, LRW, PCBC, XTS.
  428. config CRYPTO_ANUBIS
  429. tristate "Anubis cipher algorithm"
  430. select CRYPTO_ALGAPI
  431. help
  432. Anubis cipher algorithm.
  433. Anubis is a variable key length cipher which can use keys from
  434. 128 bits to 320 bits in length. It was evaluated as a entrant
  435. in the NESSIE competition.
  436. See also:
  437. <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
  438. <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
  439. config CRYPTO_ARC4
  440. tristate "ARC4 cipher algorithm"
  441. select CRYPTO_ALGAPI
  442. help
  443. ARC4 cipher algorithm.
  444. ARC4 is a stream cipher using keys ranging from 8 bits to 2048
  445. bits in length. This algorithm is required for driver-based
  446. WEP, but it should not be for other purposes because of the
  447. weakness of the algorithm.
  448. config CRYPTO_BLOWFISH
  449. tristate "Blowfish cipher algorithm"
  450. select CRYPTO_ALGAPI
  451. help
  452. Blowfish cipher algorithm, by Bruce Schneier.
  453. This is a variable key length cipher which can use keys from 32
  454. bits to 448 bits in length. It's fast, simple and specifically
  455. designed for use on "large microprocessors".
  456. See also:
  457. <http://www.schneier.com/blowfish.html>
  458. config CRYPTO_CAMELLIA
  459. tristate "Camellia cipher algorithms"
  460. depends on CRYPTO
  461. select CRYPTO_ALGAPI
  462. help
  463. Camellia cipher algorithms module.
  464. Camellia is a symmetric key block cipher developed jointly
  465. at NTT and Mitsubishi Electric Corporation.
  466. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  467. See also:
  468. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  469. config CRYPTO_CAST5
  470. tristate "CAST5 (CAST-128) cipher algorithm"
  471. select CRYPTO_ALGAPI
  472. help
  473. The CAST5 encryption algorithm (synonymous with CAST-128) is
  474. described in RFC2144.
  475. config CRYPTO_CAST6
  476. tristate "CAST6 (CAST-256) cipher algorithm"
  477. select CRYPTO_ALGAPI
  478. help
  479. The CAST6 encryption algorithm (synonymous with CAST-256) is
  480. described in RFC2612.
  481. config CRYPTO_DES
  482. tristate "DES and Triple DES EDE cipher algorithms"
  483. select CRYPTO_ALGAPI
  484. help
  485. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
  486. config CRYPTO_FCRYPT
  487. tristate "FCrypt cipher algorithm"
  488. select CRYPTO_ALGAPI
  489. select CRYPTO_BLKCIPHER
  490. help
  491. FCrypt algorithm used by RxRPC.
  492. config CRYPTO_KHAZAD
  493. tristate "Khazad cipher algorithm"
  494. select CRYPTO_ALGAPI
  495. help
  496. Khazad cipher algorithm.
  497. Khazad was a finalist in the initial NESSIE competition. It is
  498. an algorithm optimized for 64-bit processors with good performance
  499. on 32-bit processors. Khazad uses an 128 bit key size.
  500. See also:
  501. <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
  502. config CRYPTO_SALSA20
  503. tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)"
  504. depends on EXPERIMENTAL
  505. select CRYPTO_BLKCIPHER
  506. help
  507. Salsa20 stream cipher algorithm.
  508. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  509. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  510. The Salsa20 stream cipher algorithm is designed by Daniel J.
  511. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  512. config CRYPTO_SALSA20_586
  513. tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)"
  514. depends on (X86 || UML_X86) && !64BIT
  515. depends on EXPERIMENTAL
  516. select CRYPTO_BLKCIPHER
  517. help
  518. Salsa20 stream cipher algorithm.
  519. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  520. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  521. The Salsa20 stream cipher algorithm is designed by Daniel J.
  522. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  523. config CRYPTO_SALSA20_X86_64
  524. tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)"
  525. depends on (X86 || UML_X86) && 64BIT
  526. depends on EXPERIMENTAL
  527. select CRYPTO_BLKCIPHER
  528. help
  529. Salsa20 stream cipher algorithm.
  530. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  531. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  532. The Salsa20 stream cipher algorithm is designed by Daniel J.
  533. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  534. config CRYPTO_SEED
  535. tristate "SEED cipher algorithm"
  536. select CRYPTO_ALGAPI
  537. help
  538. SEED cipher algorithm (RFC4269).
  539. SEED is a 128-bit symmetric key block cipher that has been
  540. developed by KISA (Korea Information Security Agency) as a
  541. national standard encryption algorithm of the Republic of Korea.
  542. It is a 16 round block cipher with the key size of 128 bit.
  543. See also:
  544. <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
  545. config CRYPTO_SERPENT
  546. tristate "Serpent cipher algorithm"
  547. select CRYPTO_ALGAPI
  548. help
  549. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  550. Keys are allowed to be from 0 to 256 bits in length, in steps
  551. of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
  552. variant of Serpent for compatibility with old kerneli.org code.
  553. See also:
  554. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  555. config CRYPTO_TEA
  556. tristate "TEA, XTEA and XETA cipher algorithms"
  557. select CRYPTO_ALGAPI
  558. help
  559. TEA cipher algorithm.
  560. Tiny Encryption Algorithm is a simple cipher that uses
  561. many rounds for security. It is very fast and uses
  562. little memory.
  563. Xtendend Tiny Encryption Algorithm is a modification to
  564. the TEA algorithm to address a potential key weakness
  565. in the TEA algorithm.
  566. Xtendend Encryption Tiny Algorithm is a mis-implementation
  567. of the XTEA algorithm for compatibility purposes.
  568. config CRYPTO_TWOFISH
  569. tristate "Twofish cipher algorithm"
  570. select CRYPTO_ALGAPI
  571. select CRYPTO_TWOFISH_COMMON
  572. help
  573. Twofish cipher algorithm.
  574. Twofish was submitted as an AES (Advanced Encryption Standard)
  575. candidate cipher by researchers at CounterPane Systems. It is a
  576. 16 round block cipher supporting key sizes of 128, 192, and 256
  577. bits.
  578. See also:
  579. <http://www.schneier.com/twofish.html>
  580. config CRYPTO_TWOFISH_COMMON
  581. tristate
  582. help
  583. Common parts of the Twofish cipher algorithm shared by the
  584. generic c and the assembler implementations.
  585. config CRYPTO_TWOFISH_586
  586. tristate "Twofish cipher algorithms (i586)"
  587. depends on (X86 || UML_X86) && !64BIT
  588. select CRYPTO_ALGAPI
  589. select CRYPTO_TWOFISH_COMMON
  590. help
  591. Twofish cipher algorithm.
  592. Twofish was submitted as an AES (Advanced Encryption Standard)
  593. candidate cipher by researchers at CounterPane Systems. It is a
  594. 16 round block cipher supporting key sizes of 128, 192, and 256
  595. bits.
  596. See also:
  597. <http://www.schneier.com/twofish.html>
  598. config CRYPTO_TWOFISH_X86_64
  599. tristate "Twofish cipher algorithm (x86_64)"
  600. depends on (X86 || UML_X86) && 64BIT
  601. select CRYPTO_ALGAPI
  602. select CRYPTO_TWOFISH_COMMON
  603. help
  604. Twofish cipher algorithm (x86_64).
  605. Twofish was submitted as an AES (Advanced Encryption Standard)
  606. candidate cipher by researchers at CounterPane Systems. It is a
  607. 16 round block cipher supporting key sizes of 128, 192, and 256
  608. bits.
  609. See also:
  610. <http://www.schneier.com/twofish.html>
  611. comment "Compression"
  612. config CRYPTO_DEFLATE
  613. tristate "Deflate compression algorithm"
  614. select CRYPTO_ALGAPI
  615. select ZLIB_INFLATE
  616. select ZLIB_DEFLATE
  617. help
  618. This is the Deflate algorithm (RFC1951), specified for use in
  619. IPSec with the IPCOMP protocol (RFC3173, RFC2394).
  620. You will most probably want this if using IPSec.
  621. config CRYPTO_ZLIB
  622. tristate "Zlib compression algorithm"
  623. select CRYPTO_PCOMP
  624. select ZLIB_INFLATE
  625. select ZLIB_DEFLATE
  626. select NLATTR
  627. help
  628. This is the zlib algorithm.
  629. config CRYPTO_LZO
  630. tristate "LZO compression algorithm"
  631. select CRYPTO_ALGAPI
  632. select LZO_COMPRESS
  633. select LZO_DECOMPRESS
  634. help
  635. This is the LZO algorithm.
  636. comment "Random Number Generation"
  637. config CRYPTO_ANSI_CPRNG
  638. tristate "Pseudo Random Number Generation for Cryptographic modules"
  639. select CRYPTO_AES
  640. select CRYPTO_RNG
  641. select CRYPTO_FIPS
  642. help
  643. This option enables the generic pseudo random number generator
  644. for cryptographic modules. Uses the Algorithm specified in
  645. ANSI X9.31 A.2.4
  646. source "drivers/crypto/Kconfig"
  647. endif # if CRYPTO