Kconfig 19 KB

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