Kconfig 24 KB

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