Kconfig 19 KB

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