Kconfig 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847
  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_MANAGER_DISABLE_TESTS
  85. bool "Disable run-time self tests"
  86. default y
  87. depends on CRYPTO_MANAGER2
  88. help
  89. Disable run-time self tests that normally take place at
  90. algorithm registration.
  91. config CRYPTO_GF128MUL
  92. tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"
  93. depends on EXPERIMENTAL
  94. help
  95. Efficient table driven implementation of multiplications in the
  96. field GF(2^128). This is needed by some cypher modes. This
  97. option will be selected automatically if you select such a
  98. cipher mode. Only select this option by hand if you expect to load
  99. an external module that requires these functions.
  100. config CRYPTO_NULL
  101. tristate "Null algorithms"
  102. select CRYPTO_ALGAPI
  103. select CRYPTO_BLKCIPHER
  104. select CRYPTO_HASH
  105. help
  106. These are 'Null' algorithms, used by IPsec, which do nothing.
  107. config CRYPTO_PCRYPT
  108. tristate "Parallel crypto engine (EXPERIMENTAL)"
  109. depends on SMP && EXPERIMENTAL
  110. select PADATA
  111. select CRYPTO_MANAGER
  112. select CRYPTO_AEAD
  113. help
  114. This converts an arbitrary crypto algorithm into a parallel
  115. algorithm that executes in kernel threads.
  116. config CRYPTO_WORKQUEUE
  117. tristate
  118. config CRYPTO_CRYPTD
  119. tristate "Software async crypto daemon"
  120. select CRYPTO_BLKCIPHER
  121. select CRYPTO_HASH
  122. select CRYPTO_MANAGER
  123. select CRYPTO_WORKQUEUE
  124. help
  125. This is a generic software asynchronous crypto daemon that
  126. converts an arbitrary synchronous software crypto algorithm
  127. into an asynchronous algorithm that executes in a kernel thread.
  128. config CRYPTO_AUTHENC
  129. tristate "Authenc support"
  130. select CRYPTO_AEAD
  131. select CRYPTO_BLKCIPHER
  132. select CRYPTO_MANAGER
  133. select CRYPTO_HASH
  134. help
  135. Authenc: Combined mode wrapper for IPsec.
  136. This is required for IPSec.
  137. config CRYPTO_TEST
  138. tristate "Testing module"
  139. depends on m
  140. select CRYPTO_MANAGER
  141. help
  142. Quick & dirty crypto test module.
  143. comment "Authenticated Encryption with Associated Data"
  144. config CRYPTO_CCM
  145. tristate "CCM support"
  146. select CRYPTO_CTR
  147. select CRYPTO_AEAD
  148. help
  149. Support for Counter with CBC MAC. Required for IPsec.
  150. config CRYPTO_GCM
  151. tristate "GCM/GMAC support"
  152. select CRYPTO_CTR
  153. select CRYPTO_AEAD
  154. select CRYPTO_GHASH
  155. help
  156. Support for Galois/Counter Mode (GCM) and Galois Message
  157. Authentication Code (GMAC). Required for IPSec.
  158. config CRYPTO_SEQIV
  159. tristate "Sequence Number IV Generator"
  160. select CRYPTO_AEAD
  161. select CRYPTO_BLKCIPHER
  162. select CRYPTO_RNG
  163. help
  164. This IV generator generates an IV based on a sequence number by
  165. xoring it with a salt. This algorithm is mainly useful for CTR
  166. comment "Block modes"
  167. config CRYPTO_CBC
  168. tristate "CBC support"
  169. select CRYPTO_BLKCIPHER
  170. select CRYPTO_MANAGER
  171. help
  172. CBC: Cipher Block Chaining mode
  173. This block cipher algorithm is required for IPSec.
  174. config CRYPTO_CTR
  175. tristate "CTR support"
  176. select CRYPTO_BLKCIPHER
  177. select CRYPTO_SEQIV
  178. select CRYPTO_MANAGER
  179. help
  180. CTR: Counter mode
  181. This block cipher algorithm is required for IPSec.
  182. config CRYPTO_CTS
  183. tristate "CTS support"
  184. select CRYPTO_BLKCIPHER
  185. help
  186. CTS: Cipher Text Stealing
  187. This is the Cipher Text Stealing mode as described by
  188. Section 8 of rfc2040 and referenced by rfc3962.
  189. (rfc3962 includes errata information in its Appendix A)
  190. This mode is required for Kerberos gss mechanism support
  191. for AES encryption.
  192. config CRYPTO_ECB
  193. tristate "ECB support"
  194. select CRYPTO_BLKCIPHER
  195. select CRYPTO_MANAGER
  196. help
  197. ECB: Electronic CodeBook mode
  198. This is the simplest block cipher algorithm. It simply encrypts
  199. the input block by block.
  200. config CRYPTO_LRW
  201. tristate "LRW support (EXPERIMENTAL)"
  202. depends on EXPERIMENTAL
  203. select CRYPTO_BLKCIPHER
  204. select CRYPTO_MANAGER
  205. select CRYPTO_GF128MUL
  206. help
  207. LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
  208. narrow block cipher mode for dm-crypt. Use it with cipher
  209. specification string aes-lrw-benbi, the key must be 256, 320 or 384.
  210. The first 128, 192 or 256 bits in the key are used for AES and the
  211. rest is used to tie each cipher block to its logical position.
  212. config CRYPTO_PCBC
  213. tristate "PCBC support"
  214. select CRYPTO_BLKCIPHER
  215. select CRYPTO_MANAGER
  216. help
  217. PCBC: Propagating Cipher Block Chaining mode
  218. This block cipher algorithm is required for RxRPC.
  219. config CRYPTO_XTS
  220. tristate "XTS support (EXPERIMENTAL)"
  221. depends on EXPERIMENTAL
  222. select CRYPTO_BLKCIPHER
  223. select CRYPTO_MANAGER
  224. select CRYPTO_GF128MUL
  225. help
  226. XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
  227. key size 256, 384 or 512 bits. This implementation currently
  228. can't handle a sectorsize which is not a multiple of 16 bytes.
  229. config CRYPTO_FPU
  230. tristate
  231. select CRYPTO_BLKCIPHER
  232. select CRYPTO_MANAGER
  233. comment "Hash modes"
  234. config CRYPTO_HMAC
  235. tristate "HMAC support"
  236. select CRYPTO_HASH
  237. select CRYPTO_MANAGER
  238. help
  239. HMAC: Keyed-Hashing for Message Authentication (RFC2104).
  240. This is required for IPSec.
  241. config CRYPTO_XCBC
  242. tristate "XCBC support"
  243. depends on EXPERIMENTAL
  244. select CRYPTO_HASH
  245. select CRYPTO_MANAGER
  246. help
  247. XCBC: Keyed-Hashing with encryption algorithm
  248. http://www.ietf.org/rfc/rfc3566.txt
  249. http://csrc.nist.gov/encryption/modes/proposedmodes/
  250. xcbc-mac/xcbc-mac-spec.pdf
  251. config CRYPTO_VMAC
  252. tristate "VMAC support"
  253. depends on EXPERIMENTAL
  254. select CRYPTO_HASH
  255. select CRYPTO_MANAGER
  256. help
  257. VMAC is a message authentication algorithm designed for
  258. very high speed on 64-bit architectures.
  259. See also:
  260. <http://fastcrypto.org/vmac>
  261. comment "Digest"
  262. config CRYPTO_CRC32C
  263. tristate "CRC32c CRC algorithm"
  264. select CRYPTO_HASH
  265. help
  266. Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
  267. by iSCSI for header and data digests and by others.
  268. See Castagnoli93. Module will be crc32c.
  269. config CRYPTO_CRC32C_INTEL
  270. tristate "CRC32c INTEL hardware acceleration"
  271. depends on X86
  272. select CRYPTO_HASH
  273. help
  274. In Intel processor with SSE4.2 supported, the processor will
  275. support CRC32C implementation using hardware accelerated CRC32
  276. instruction. This option will create 'crc32c-intel' module,
  277. which will enable any routine to use the CRC32 instruction to
  278. gain performance compared with software implementation.
  279. Module will be crc32c-intel.
  280. config CRYPTO_GHASH
  281. tristate "GHASH digest algorithm"
  282. select CRYPTO_SHASH
  283. select CRYPTO_GF128MUL
  284. help
  285. GHASH is message digest algorithm for GCM (Galois/Counter Mode).
  286. config CRYPTO_MD4
  287. tristate "MD4 digest algorithm"
  288. select CRYPTO_HASH
  289. help
  290. MD4 message digest algorithm (RFC1320).
  291. config CRYPTO_MD5
  292. tristate "MD5 digest algorithm"
  293. select CRYPTO_HASH
  294. help
  295. MD5 message digest algorithm (RFC1321).
  296. config CRYPTO_MICHAEL_MIC
  297. tristate "Michael MIC keyed digest algorithm"
  298. select CRYPTO_HASH
  299. help
  300. Michael MIC is used for message integrity protection in TKIP
  301. (IEEE 802.11i). This algorithm is required for TKIP, but it
  302. should not be used for other purposes because of the weakness
  303. of the algorithm.
  304. config CRYPTO_RMD128
  305. tristate "RIPEMD-128 digest algorithm"
  306. select CRYPTO_HASH
  307. help
  308. RIPEMD-128 (ISO/IEC 10118-3:2004).
  309. RIPEMD-128 is a 128-bit cryptographic hash function. It should only
  310. to be used as a secure replacement for RIPEMD. For other use cases
  311. RIPEMD-160 should be used.
  312. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  313. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  314. config CRYPTO_RMD160
  315. tristate "RIPEMD-160 digest algorithm"
  316. select CRYPTO_HASH
  317. help
  318. RIPEMD-160 (ISO/IEC 10118-3:2004).
  319. RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
  320. to be used as a secure replacement for the 128-bit hash functions
  321. MD4, MD5 and it's predecessor RIPEMD
  322. (not to be confused with RIPEMD-128).
  323. It's speed is comparable to SHA1 and there are no known attacks
  324. against RIPEMD-160.
  325. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  326. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  327. config CRYPTO_RMD256
  328. tristate "RIPEMD-256 digest algorithm"
  329. select CRYPTO_HASH
  330. help
  331. RIPEMD-256 is an optional extension of RIPEMD-128 with a
  332. 256 bit hash. It is intended for applications that require
  333. longer hash-results, without needing a larger security level
  334. (than RIPEMD-128).
  335. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  336. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  337. config CRYPTO_RMD320
  338. tristate "RIPEMD-320 digest algorithm"
  339. select CRYPTO_HASH
  340. help
  341. RIPEMD-320 is an optional extension of RIPEMD-160 with a
  342. 320 bit hash. It is intended for applications that require
  343. longer hash-results, without needing a larger security level
  344. (than RIPEMD-160).
  345. Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
  346. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
  347. config CRYPTO_SHA1
  348. tristate "SHA1 digest algorithm"
  349. select CRYPTO_HASH
  350. help
  351. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
  352. config CRYPTO_SHA256
  353. tristate "SHA224 and SHA256 digest algorithm"
  354. select CRYPTO_HASH
  355. help
  356. SHA256 secure hash standard (DFIPS 180-2).
  357. This version of SHA implements a 256 bit hash with 128 bits of
  358. security against collision attacks.
  359. This code also includes SHA-224, a 224 bit hash with 112 bits
  360. of security against collision attacks.
  361. config CRYPTO_SHA512
  362. tristate "SHA384 and SHA512 digest algorithms"
  363. select CRYPTO_HASH
  364. help
  365. SHA512 secure hash standard (DFIPS 180-2).
  366. This version of SHA implements a 512 bit hash with 256 bits of
  367. security against collision attacks.
  368. This code also includes SHA-384, a 384 bit hash with 192 bits
  369. of security against collision attacks.
  370. config CRYPTO_TGR192
  371. tristate "Tiger digest algorithms"
  372. select CRYPTO_HASH
  373. help
  374. Tiger hash algorithm 192, 160 and 128-bit hashes
  375. Tiger is a hash function optimized for 64-bit processors while
  376. still having decent performance on 32-bit processors.
  377. Tiger was developed by Ross Anderson and Eli Biham.
  378. See also:
  379. <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
  380. config CRYPTO_WP512
  381. tristate "Whirlpool digest algorithms"
  382. select CRYPTO_HASH
  383. help
  384. Whirlpool hash algorithm 512, 384 and 256-bit hashes
  385. Whirlpool-512 is part of the NESSIE cryptographic primitives.
  386. Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
  387. See also:
  388. <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
  389. config CRYPTO_GHASH_CLMUL_NI_INTEL
  390. tristate "GHASH digest algorithm (CLMUL-NI accelerated)"
  391. depends on (X86 || UML_X86) && 64BIT
  392. select CRYPTO_SHASH
  393. select CRYPTO_CRYPTD
  394. help
  395. GHASH is message digest algorithm for GCM (Galois/Counter Mode).
  396. The implementation is accelerated by CLMUL-NI of Intel.
  397. comment "Ciphers"
  398. config CRYPTO_AES
  399. tristate "AES cipher algorithms"
  400. select CRYPTO_ALGAPI
  401. help
  402. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  403. algorithm.
  404. Rijndael appears to be consistently a very good performer in
  405. both hardware and software across a wide range of computing
  406. environments regardless of its use in feedback or non-feedback
  407. modes. Its key setup time is excellent, and its key agility is
  408. good. Rijndael's very low memory requirements make it very well
  409. suited for restricted-space environments, in which it also
  410. demonstrates excellent performance. Rijndael's operations are
  411. among the easiest to defend against power and timing attacks.
  412. The AES specifies three key sizes: 128, 192 and 256 bits
  413. See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
  414. config CRYPTO_AES_586
  415. tristate "AES cipher algorithms (i586)"
  416. depends on (X86 || UML_X86) && !64BIT
  417. select CRYPTO_ALGAPI
  418. select CRYPTO_AES
  419. help
  420. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  421. algorithm.
  422. Rijndael appears to be consistently a very good performer in
  423. both hardware and software across a wide range of computing
  424. environments regardless of its use in feedback or non-feedback
  425. modes. Its key setup time is excellent, and its key agility is
  426. good. Rijndael's very low memory requirements make it very well
  427. suited for restricted-space environments, in which it also
  428. demonstrates excellent performance. Rijndael's operations are
  429. among the easiest to defend against power and timing attacks.
  430. The AES specifies three key sizes: 128, 192 and 256 bits
  431. See <http://csrc.nist.gov/encryption/aes/> for more information.
  432. config CRYPTO_AES_X86_64
  433. tristate "AES cipher algorithms (x86_64)"
  434. depends on (X86 || UML_X86) && 64BIT
  435. select CRYPTO_ALGAPI
  436. select CRYPTO_AES
  437. help
  438. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  439. algorithm.
  440. Rijndael appears to be consistently a very good performer in
  441. both hardware and software across a wide range of computing
  442. environments regardless of its use in feedback or non-feedback
  443. modes. Its key setup time is excellent, and its key agility is
  444. good. Rijndael's very low memory requirements make it very well
  445. suited for restricted-space environments, in which it also
  446. demonstrates excellent performance. Rijndael's operations are
  447. among the easiest to defend against power and timing attacks.
  448. The AES specifies three key sizes: 128, 192 and 256 bits
  449. See <http://csrc.nist.gov/encryption/aes/> for more information.
  450. config CRYPTO_AES_NI_INTEL
  451. tristate "AES cipher algorithms (AES-NI)"
  452. depends on (X86 || UML_X86) && 64BIT
  453. select CRYPTO_AES_X86_64
  454. select CRYPTO_CRYPTD
  455. select CRYPTO_ALGAPI
  456. select CRYPTO_FPU
  457. help
  458. Use Intel AES-NI instructions for AES algorithm.
  459. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  460. algorithm.
  461. Rijndael appears to be consistently a very good performer in
  462. both hardware and software across a wide range of computing
  463. environments regardless of its use in feedback or non-feedback
  464. modes. Its key setup time is excellent, and its key agility is
  465. good. Rijndael's very low memory requirements make it very well
  466. suited for restricted-space environments, in which it also
  467. demonstrates excellent performance. Rijndael's operations are
  468. among the easiest to defend against power and timing attacks.
  469. The AES specifies three key sizes: 128, 192 and 256 bits
  470. See <http://csrc.nist.gov/encryption/aes/> for more information.
  471. In addition to AES cipher algorithm support, the
  472. acceleration for some popular block cipher mode is supported
  473. too, including ECB, CBC, CTR, LRW, PCBC, XTS.
  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.ac.be/nessie/reports/>
  484. <http://planeta.terra.com.br/informatica/paulobarreto/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://planeta.terra.com.br/informatica/paulobarreto/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. source "drivers/crypto/Kconfig"
  694. endif # if CRYPTO