Kconfig 26 KB

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