Kconfig 30 KB

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