Kconfig 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674
  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
  228. (not to be confused with RIPEMD-128).
  229. It's speed is comparable to SHA1 and there are no known attacks
  230. against RIPEMD-160.
  231. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  232. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  233. config CRYPTO_RMD256
  234. tristate "RIPEMD-256 digest algorithm"
  235. select CRYPTO_ALGAPI
  236. help
  237. RIPEMD-256 is an optional extension of RIPEMD-128 with a
  238. 256 bit hash. It is intended for applications that require
  239. longer hash-results, without needing a larger security level
  240. (than RIPEMD-128).
  241. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  242. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  243. config CRYPTO_RMD320
  244. tristate "RIPEMD-320 digest algorithm"
  245. select CRYPTO_ALGAPI
  246. help
  247. RIPEMD-320 is an optional extension of RIPEMD-160 with a
  248. 320 bit hash. It is intended for applications that require
  249. longer hash-results, without needing a larger security level
  250. (than RIPEMD-160).
  251. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  252. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  253. config CRYPTO_SHA1
  254. tristate "SHA1 digest algorithm"
  255. select CRYPTO_ALGAPI
  256. help
  257. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
  258. config CRYPTO_SHA256
  259. tristate "SHA224 and SHA256 digest algorithm"
  260. select CRYPTO_ALGAPI
  261. help
  262. SHA256 secure hash standard (DFIPS 180-2).
  263. This version of SHA implements a 256 bit hash with 128 bits of
  264. security against collision attacks.
  265. This code also includes SHA-224, a 224 bit hash with 112 bits
  266. of security against collision attacks.
  267. config CRYPTO_SHA512
  268. tristate "SHA384 and SHA512 digest algorithms"
  269. select CRYPTO_ALGAPI
  270. help
  271. SHA512 secure hash standard (DFIPS 180-2).
  272. This version of SHA implements a 512 bit hash with 256 bits of
  273. security against collision attacks.
  274. This code also includes SHA-384, a 384 bit hash with 192 bits
  275. of security against collision attacks.
  276. config CRYPTO_TGR192
  277. tristate "Tiger digest algorithms"
  278. select CRYPTO_ALGAPI
  279. help
  280. Tiger hash algorithm 192, 160 and 128-bit hashes
  281. Tiger is a hash function optimized for 64-bit processors while
  282. still having decent performance on 32-bit processors.
  283. Tiger was developed by Ross Anderson and Eli Biham.
  284. See also:
  285. <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
  286. config CRYPTO_WP512
  287. tristate "Whirlpool digest algorithms"
  288. select CRYPTO_ALGAPI
  289. help
  290. Whirlpool hash algorithm 512, 384 and 256-bit hashes
  291. Whirlpool-512 is part of the NESSIE cryptographic primitives.
  292. Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
  293. See also:
  294. <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
  295. comment "Ciphers"
  296. config CRYPTO_AES
  297. tristate "AES cipher algorithms"
  298. select CRYPTO_ALGAPI
  299. help
  300. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  301. algorithm.
  302. Rijndael appears to be consistently a very good performer in
  303. both hardware and software across a wide range of computing
  304. environments regardless of its use in feedback or non-feedback
  305. modes. Its key setup time is excellent, and its key agility is
  306. good. Rijndael's very low memory requirements make it very well
  307. suited for restricted-space environments, in which it also
  308. demonstrates excellent performance. Rijndael's operations are
  309. among the easiest to defend against power and timing attacks.
  310. The AES specifies three key sizes: 128, 192 and 256 bits
  311. See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
  312. config CRYPTO_AES_586
  313. tristate "AES cipher algorithms (i586)"
  314. depends on (X86 || UML_X86) && !64BIT
  315. select CRYPTO_ALGAPI
  316. select CRYPTO_AES
  317. help
  318. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  319. algorithm.
  320. Rijndael appears to be consistently a very good performer in
  321. both hardware and software across a wide range of computing
  322. environments regardless of its use in feedback or non-feedback
  323. modes. Its key setup time is excellent, and its key agility is
  324. good. Rijndael's very low memory requirements make it very well
  325. suited for restricted-space environments, in which it also
  326. demonstrates excellent performance. Rijndael's operations are
  327. among the easiest to defend against power and timing attacks.
  328. The AES specifies three key sizes: 128, 192 and 256 bits
  329. See <http://csrc.nist.gov/encryption/aes/> for more information.
  330. config CRYPTO_AES_X86_64
  331. tristate "AES cipher algorithms (x86_64)"
  332. depends on (X86 || UML_X86) && 64BIT
  333. select CRYPTO_ALGAPI
  334. select CRYPTO_AES
  335. help
  336. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  337. algorithm.
  338. Rijndael appears to be consistently a very good performer in
  339. both hardware and software across a wide range of computing
  340. environments regardless of its use in feedback or non-feedback
  341. modes. Its key setup time is excellent, and its key agility is
  342. good. Rijndael's very low memory requirements make it very well
  343. suited for restricted-space environments, in which it also
  344. demonstrates excellent performance. Rijndael's operations are
  345. among the easiest to defend against power and timing attacks.
  346. The AES specifies three key sizes: 128, 192 and 256 bits
  347. See <http://csrc.nist.gov/encryption/aes/> for more information.
  348. config CRYPTO_ANUBIS
  349. tristate "Anubis cipher algorithm"
  350. select CRYPTO_ALGAPI
  351. help
  352. Anubis cipher algorithm.
  353. Anubis is a variable key length cipher which can use keys from
  354. 128 bits to 320 bits in length. It was evaluated as a entrant
  355. in the NESSIE competition.
  356. See also:
  357. <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
  358. <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
  359. config CRYPTO_ARC4
  360. tristate "ARC4 cipher algorithm"
  361. select CRYPTO_ALGAPI
  362. help
  363. ARC4 cipher algorithm.
  364. ARC4 is a stream cipher using keys ranging from 8 bits to 2048
  365. bits in length. This algorithm is required for driver-based
  366. WEP, but it should not be for other purposes because of the
  367. weakness of the algorithm.
  368. config CRYPTO_BLOWFISH
  369. tristate "Blowfish cipher algorithm"
  370. select CRYPTO_ALGAPI
  371. help
  372. Blowfish cipher algorithm, by Bruce Schneier.
  373. This is a variable key length cipher which can use keys from 32
  374. bits to 448 bits in length. It's fast, simple and specifically
  375. designed for use on "large microprocessors".
  376. See also:
  377. <http://www.schneier.com/blowfish.html>
  378. config CRYPTO_CAMELLIA
  379. tristate "Camellia cipher algorithms"
  380. depends on CRYPTO
  381. select CRYPTO_ALGAPI
  382. help
  383. Camellia cipher algorithms module.
  384. Camellia is a symmetric key block cipher developed jointly
  385. at NTT and Mitsubishi Electric Corporation.
  386. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  387. See also:
  388. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  389. config CRYPTO_CAST5
  390. tristate "CAST5 (CAST-128) cipher algorithm"
  391. select CRYPTO_ALGAPI
  392. help
  393. The CAST5 encryption algorithm (synonymous with CAST-128) is
  394. described in RFC2144.
  395. config CRYPTO_CAST6
  396. tristate "CAST6 (CAST-256) cipher algorithm"
  397. select CRYPTO_ALGAPI
  398. help
  399. The CAST6 encryption algorithm (synonymous with CAST-256) is
  400. described in RFC2612.
  401. config CRYPTO_DES
  402. tristate "DES and Triple DES EDE cipher algorithms"
  403. select CRYPTO_ALGAPI
  404. help
  405. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
  406. config CRYPTO_FCRYPT
  407. tristate "FCrypt cipher algorithm"
  408. select CRYPTO_ALGAPI
  409. select CRYPTO_BLKCIPHER
  410. help
  411. FCrypt algorithm used by RxRPC.
  412. config CRYPTO_KHAZAD
  413. tristate "Khazad cipher algorithm"
  414. select CRYPTO_ALGAPI
  415. help
  416. Khazad cipher algorithm.
  417. Khazad was a finalist in the initial NESSIE competition. It is
  418. an algorithm optimized for 64-bit processors with good performance
  419. on 32-bit processors. Khazad uses an 128 bit key size.
  420. See also:
  421. <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
  422. config CRYPTO_SALSA20
  423. tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)"
  424. depends on EXPERIMENTAL
  425. select CRYPTO_BLKCIPHER
  426. help
  427. Salsa20 stream cipher algorithm.
  428. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  429. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  430. The Salsa20 stream cipher algorithm is designed by Daniel J.
  431. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  432. config CRYPTO_SALSA20_586
  433. tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)"
  434. depends on (X86 || UML_X86) && !64BIT
  435. depends on EXPERIMENTAL
  436. select CRYPTO_BLKCIPHER
  437. help
  438. Salsa20 stream cipher algorithm.
  439. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  440. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  441. The Salsa20 stream cipher algorithm is designed by Daniel J.
  442. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  443. config CRYPTO_SALSA20_X86_64
  444. tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)"
  445. depends on (X86 || UML_X86) && 64BIT
  446. depends on EXPERIMENTAL
  447. select CRYPTO_BLKCIPHER
  448. help
  449. Salsa20 stream cipher algorithm.
  450. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
  451. Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
  452. The Salsa20 stream cipher algorithm is designed by Daniel J.
  453. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
  454. config CRYPTO_SEED
  455. tristate "SEED cipher algorithm"
  456. select CRYPTO_ALGAPI
  457. help
  458. SEED cipher algorithm (RFC4269).
  459. SEED is a 128-bit symmetric key block cipher that has been
  460. developed by KISA (Korea Information Security Agency) as a
  461. national standard encryption algorithm of the Republic of Korea.
  462. It is a 16 round block cipher with the key size of 128 bit.
  463. See also:
  464. <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
  465. config CRYPTO_SERPENT
  466. tristate "Serpent cipher algorithm"
  467. select CRYPTO_ALGAPI
  468. help
  469. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  470. Keys are allowed to be from 0 to 256 bits in length, in steps
  471. of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
  472. variant of Serpent for compatibility with old kerneli.org code.
  473. See also:
  474. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  475. config CRYPTO_TEA
  476. tristate "TEA, XTEA and XETA cipher algorithms"
  477. select CRYPTO_ALGAPI
  478. help
  479. TEA cipher algorithm.
  480. Tiny Encryption Algorithm is a simple cipher that uses
  481. many rounds for security. It is very fast and uses
  482. little memory.
  483. Xtendend Tiny Encryption Algorithm is a modification to
  484. the TEA algorithm to address a potential key weakness
  485. in the TEA algorithm.
  486. Xtendend Encryption Tiny Algorithm is a mis-implementation
  487. of the XTEA algorithm for compatibility purposes.
  488. config CRYPTO_TWOFISH
  489. tristate "Twofish cipher algorithm"
  490. select CRYPTO_ALGAPI
  491. select CRYPTO_TWOFISH_COMMON
  492. help
  493. Twofish cipher algorithm.
  494. Twofish was submitted as an AES (Advanced Encryption Standard)
  495. candidate cipher by researchers at CounterPane Systems. It is a
  496. 16 round block cipher supporting key sizes of 128, 192, and 256
  497. bits.
  498. See also:
  499. <http://www.schneier.com/twofish.html>
  500. config CRYPTO_TWOFISH_COMMON
  501. tristate
  502. help
  503. Common parts of the Twofish cipher algorithm shared by the
  504. generic c and the assembler implementations.
  505. config CRYPTO_TWOFISH_586
  506. tristate "Twofish cipher algorithms (i586)"
  507. depends on (X86 || UML_X86) && !64BIT
  508. select CRYPTO_ALGAPI
  509. select CRYPTO_TWOFISH_COMMON
  510. help
  511. Twofish cipher algorithm.
  512. Twofish was submitted as an AES (Advanced Encryption Standard)
  513. candidate cipher by researchers at CounterPane Systems. It is a
  514. 16 round block cipher supporting key sizes of 128, 192, and 256
  515. bits.
  516. See also:
  517. <http://www.schneier.com/twofish.html>
  518. config CRYPTO_TWOFISH_X86_64
  519. tristate "Twofish cipher algorithm (x86_64)"
  520. depends on (X86 || UML_X86) && 64BIT
  521. select CRYPTO_ALGAPI
  522. select CRYPTO_TWOFISH_COMMON
  523. help
  524. Twofish cipher algorithm (x86_64).
  525. Twofish was submitted as an AES (Advanced Encryption Standard)
  526. candidate cipher by researchers at CounterPane Systems. It is a
  527. 16 round block cipher supporting key sizes of 128, 192, and 256
  528. bits.
  529. See also:
  530. <http://www.schneier.com/twofish.html>
  531. comment "Compression"
  532. config CRYPTO_DEFLATE
  533. tristate "Deflate compression algorithm"
  534. select CRYPTO_ALGAPI
  535. select ZLIB_INFLATE
  536. select ZLIB_DEFLATE
  537. help
  538. This is the Deflate algorithm (RFC1951), specified for use in
  539. IPSec with the IPCOMP protocol (RFC3173, RFC2394).
  540. You will most probably want this if using IPSec.
  541. config CRYPTO_LZO
  542. tristate "LZO compression algorithm"
  543. select CRYPTO_ALGAPI
  544. select LZO_COMPRESS
  545. select LZO_DECOMPRESS
  546. help
  547. This is the LZO algorithm.
  548. source "drivers/crypto/Kconfig"
  549. endif # if CRYPTO