Kconfig 22 KB

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