Kconfig 20 KB

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