Kconfig 24 KB

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