Config.in.crypto 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590
  1. menu "Crypto support"
  2. config ADK_KERNEL_CRYPTO
  3. tristate
  4. config ADK_KERNEL_CRYPTO_HW
  5. tristate
  6. comment "Hardware cryptography"
  7. menu "Hardware crypto devices"
  8. depends on ADK_TARGET_WITH_PCI || ADK_TARGET_WITH_MINIPCI || ADK_TARGET_WITH_GEODE_CRYPTO
  9. config ADK_KERNEL_CRYPTO_DEV_GEODE
  10. prompt "Support for the Geode LX/GX AES engine"
  11. tristate
  12. select ADK_KERNEL_CRYPTO
  13. select ADK_KERNEL_CRYPTO_HW
  14. select ADK_KERNEL_CRYPTO_ECB
  15. select ADK_KERNEL_CRYPTO_CBC
  16. depends on ADK_TARGET_WITH_GEODE_CRYPTO
  17. default y if ADK_TARGET_WITH_GEODE_CRYPTO
  18. default n
  19. help
  20. Say 'Y' here to use the AMD Geode LX processor on-board AES
  21. engine for the CryptoAPI AES algorithm.
  22. config ADK_KERNEL_CRYPTO_DEV_HIFN_795X
  23. prompt "Driver for HIFN 795x crypto accelerator chips"
  24. tristate
  25. depends on ADK_TARGET_WITH_PCI || ADK_TARGET_WITH_MINIPCI
  26. select ADK_KERNEL_CRYPTO
  27. select ADK_KERNEL_CRYPTO_HW
  28. select ADK_KERNEL_CRYPTO_DES
  29. default n
  30. help
  31. This option allows you to have support for HIFN 795x crypto adapters.
  32. endmenu
  33. comment "Software cryptography support"
  34. menu "Crypto core / Block and Hash modes"
  35. config ADK_KERNEL_CRYPTO_PCOMP
  36. tristate
  37. select ADK_KERNEL_CRYPTO_PCOMP2
  38. select ADK_KERNEL_CRYPTO_ALGAPI
  39. config ADK_KERNEL_CRYPTO_PCOMP2
  40. tristate
  41. config ADK_KERNEL_CRYPTO_ALGAPI
  42. tristate
  43. select ADK_KERNEL_CRYPTO
  44. select ADK_KERNEL_CRYPTO_ALGAPI2
  45. config ADK_KERNEL_CRYPTO_ALGAPI2
  46. tristate
  47. config ADK_KERNEL_CRYPTO_AEAD
  48. tristate
  49. select ADK_KERNEL_CRYPTO_AEAD2
  50. select ADK_KERNEL_CRYPTO_ALGAPI
  51. config ADK_KERNEL_CRYPTO_AEAD2
  52. tristate
  53. config ADK_KERNEL_CRYPTO_HASH
  54. tristate
  55. select ADK_KERNEL_CRYPTO_HASH2
  56. select ADK_KERNEL_CRYPTO_ALGAPI
  57. config ADK_KERNEL_CRYPTO_HASH2
  58. tristate
  59. config ADK_KERNEL_CRYPTO_BLKCIPHER
  60. tristate
  61. select ADK_KERNEL_CRYPTO_BLKCIPHER2
  62. select ADK_KERNEL_CRYPTO_ALGAPI
  63. select ADK_KERNEL_CRYPTO_RNG
  64. select ADK_KERNEL_CRYPTO_WORKQUEUE
  65. config ADK_KERNEL_CRYPTO_BLKCIPHER2
  66. tristate
  67. config ADK_KERNEL_CRYPTO_WORKQUEUE
  68. tristate
  69. config ADK_KERNEL_CRYPTO_MANAGER
  70. tristate
  71. select ADK_KERNEL_CRYPTO_MANAGER2
  72. config ADK_KERNEL_CRYPTO_MANAGER2
  73. tristate
  74. select ADK_KERNEL_CRYPTO_AEAD2
  75. select ADK_KERNEL_CRYPTO_HASH2
  76. select ADK_KERNEL_CRYPTO_BLKCIPHER2
  77. select ADK_KERNEL_CRYPTO_PCOMP2
  78. config ADK_KERNEL_CRYPTO_AUTHENC
  79. prompt "AuthENC (IPsec)"
  80. tristate
  81. select ADK_KERNEL_CRYPTO_AEAD
  82. select ADK_KERNEL_CRYPTO_BLKCIPHER
  83. select ADK_KERNEL_CRYPTO_MANAGER
  84. select ADK_KERNEL_CRYPTO_HASH
  85. default n
  86. config ADK_KERNEL_CRYPTO_SEQIV
  87. prompt "Sequence Number IV Generator"
  88. tristate
  89. select ADK_KERNEL_CRYPTO_AEAD
  90. select ADK_KERNEL_CRYPTO_BLKCIPHER
  91. select ADK_KERNEL_CRYPTO_RNG
  92. default n
  93. help
  94. This IV generator generates an IV based on a sequence number by
  95. xoring it with a salt. This algorithm is mainly useful for CTR
  96. config ADK_KERNEL_CRYPTO_CTS
  97. prompt "CTS support"
  98. tristate
  99. select ADK_KERNEL_CRYPTO_BLKCIPHER
  100. default n
  101. help
  102. CTS: Cipher Text Stealing
  103. This is the Cipher Text Stealing mode as described by
  104. Section 8 of rfc2040 and referenced by rfc3962.
  105. (rfc3962 includes errata information in its Appendix A)
  106. This mode is required for Kerberos gss mechanism support
  107. for AES encryption.
  108. config ADK_KERNEL_CRYPTO_CBC
  109. prompt "CBC support"
  110. tristate
  111. select ADK_KERNEL_CRYPTO_BLKCIPHER
  112. select ADK_KERNEL_CRYPTO_MANAGER
  113. default m if ADK_PACKAGE_CRYPTSETUP
  114. default m if ADK_PACKAGE_STRONGSWAN
  115. default m if ADK_PACKAGE_OPENSWAN
  116. default n
  117. help
  118. CBC: Cipher Block Chaining mode
  119. This block cipher algorithm is required for IPSec.
  120. config ADK_KERNEL_CRYPTO_CCM
  121. prompt "CCM support"
  122. tristate
  123. select ADK_KERNEL_CRYPTO_CTR
  124. select ADK_KERNEL_CRYPTO_AEAD
  125. default n
  126. help
  127. Support for Counter with CBC MAC. Required for IPsec.
  128. config ADK_KERNEL_CRYPTO_GCM
  129. prompt "GCM support"
  130. tristate
  131. select ADK_KERNEL_CRYPTO_CTR
  132. select ADK_KERNEL_CRYPTO_AEAD
  133. select ADK_KERNEL_CRYPTO_GHASH
  134. select ADK_KERNEL_CRYPTO_NULL
  135. default n
  136. help
  137. Support for Galois/Counter Mode (GCM) and Galois Message
  138. Authentication Code (GMAC). Required for IPSec.
  139. config ADK_KERNEL_CRYPTO_CTR
  140. prompt "CTR support"
  141. tristate
  142. select ADK_KERNEL_CRYPTO_BLKCIPHER
  143. select ADK_KERNEL_CRYPTO_SEQIV
  144. select ADK_KERNEL_CRYPTO_MANAGER
  145. default n
  146. help
  147. CTR: Counter mode
  148. This block cipher algorithm is required for IPSec.
  149. config ADK_KERNEL_CRYPTO_ECB
  150. prompt "ECB support"
  151. tristate
  152. select ADK_KERNEL_CRYPTO_BLKCIPHER
  153. select ADK_KERNEL_CRYPTO_MANAGER
  154. default n
  155. help
  156. ECB: Electronic CodeBook mode
  157. This is the simplest block cipher algorithm. It simply encrypts
  158. the input block by block.
  159. config ADK_KERNEL_CRYPTO_HMAC
  160. prompt "HMAC support"
  161. tristate
  162. select ADK_KERNEL_CRYPTO_HASH
  163. select ADK_KERNEL_CRYPTO_MANAGER
  164. default m if ADK_PACKAGE_STRONGSWAN
  165. default m if ADK_PACKAGE_OPENSWAN
  166. default n
  167. help
  168. HMAC: Keyed-Hashing for Message Authentication (RFC2104).
  169. This is required for IPSec.
  170. config ADK_KERNEL_CRYPTO_XCBC
  171. prompt "XCBC support"
  172. tristate
  173. select ADK_KERNEL_CRYPTO_HASH
  174. select ADK_KERNEL_CRYPTO_MANAGER
  175. default n
  176. help
  177. XCBC: Keyed-Hashing with encryption algorithm
  178. config ADK_KERNEL_CRYPTO_RNG
  179. tristate
  180. select ADK_KERNEL_CRYPTO_RNG2
  181. config ADK_KERNEL_CRYPTO_RNG2
  182. tristate
  183. endmenu
  184. menu "Digest algorithms"
  185. config ADK_KERNEL_CRYPTO_MD4
  186. prompt "MD4 digest algorithm"
  187. tristate
  188. select ADK_KERNEL_CRYPTO_HASH
  189. default n
  190. help
  191. MD4 message digest algorithm (RFC1320).
  192. config ADK_KERNEL_CRYPTO_MD5
  193. prompt "MD5 digest algorithm"
  194. tristate
  195. select ADK_KERNEL_CRYPTO_HASH
  196. default m if ADK_PACKAGE_STRONGSWAN
  197. default m if ADK_PACKAGE_OPENSWAN
  198. default n
  199. help
  200. MD5 message digest algorithm (RFC1321).
  201. config ADK_KERNEL_CRYPTO_SHA1
  202. prompt "SHA1 digest algorithm"
  203. tristate
  204. select ADK_KERNEL_CRYPTO_HASH
  205. default m if ADK_PACKAGE_STRONGSWAN
  206. default m if ADK_PACKAGE_OPENSWAN
  207. default n
  208. help
  209. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
  210. config ADK_KERNEL_CRYPTO_SHA256
  211. prompt "SHA256 digest algorithm"
  212. tristate
  213. select ADK_KERNEL_CRYPTO_HASH
  214. default m if ADK_PACKAGE_CRYPTSETUP
  215. default n
  216. help
  217. SHA256 secure hash standard (DFIPS 180-2).
  218. This version of SHA implements a 256 bit hash with 128 bits of
  219. security against collision attacks.
  220. config ADK_KERNEL_CRYPTO_SHA512
  221. prompt "SHA512 digest algorithm"
  222. tristate
  223. select ADK_KERNEL_CRYPTO_HASH
  224. default n
  225. help
  226. SHA512 secure hash standard (DFIPS 180-2).
  227. This version of SHA implements a 512 bit hash with 256 bits of
  228. security against collision attacks.
  229. This code also includes SHA-384, a 384 bit hash with 192 bits
  230. of security against collision attacks.
  231. config ADK_KERNEL_CRYPTO_WP512
  232. prompt "Whirlpool digest algorithms"
  233. tristate
  234. select ADK_KERNEL_CRYPTO_HASH
  235. default n
  236. help
  237. Whirlpool hash algorithm 512, 384 and 256-bit hashes
  238. Whirlpool-512 is part of the NESSIE cryptographic primitives.
  239. Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
  240. See also:
  241. <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
  242. config ADK_KERNEL_CRYPTO_TGR192
  243. prompt "Tiger digest algorithms"
  244. tristate
  245. select ADK_KERNEL_CRYPTO_HASH
  246. default n
  247. help
  248. Tiger hash algorithm 192, 160 and 128-bit hashes
  249. Tiger is a hash function optimized for 64-bit processors while
  250. still having decent performance on 32-bit processors.
  251. Tiger was developed by Ross Anderson and Eli Biham.
  252. See also:
  253. <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
  254. endmenu
  255. menu "Cipher algoritms"
  256. config ADK_KERNEL_CRYPTO_AES
  257. prompt "AES cipher algorithms"
  258. tristate
  259. select ADK_KERNEL_CRYPTO_ALGAPI
  260. default n
  261. help
  262. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  263. algorithm.
  264. Rijndael appears to be consistently a very good performer in
  265. both hardware and software across a wide range of computing
  266. environments regardless of its use in feedback or non-feedback
  267. modes. Its key setup time is excellent, and its key agility is
  268. good. Rijndael's very low memory requirements make it very well
  269. suited for restricted-space environments, in which it also
  270. demonstrates excellent performance. Rijndael's operations are
  271. among the easiest to defend against power and timing attacks.
  272. The AES specifies three key sizes: 128, 192 and 256 bits
  273. See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
  274. config ADK_KERNEL_CRYPTO_AES_586
  275. prompt "AES cipher algorithms (i586)"
  276. tristate
  277. depends on ADK_x86
  278. select ADK_KERNEL_CRYPTO_ALGAPI
  279. select ADK_KERNEL_CRYPTO_AES
  280. default n
  281. help
  282. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  283. algorithm.
  284. Rijndael appears to be consistently a very good performer in
  285. both hardware and software across a wide range of computing
  286. environments regardless of its use in feedback or non-feedback
  287. modes. Its key setup time is excellent, and its key agility is
  288. good. Rijndael's very low memory requirements make it very well
  289. suited for restricted-space environments, in which it also
  290. demonstrates excellent performance. Rijndael's operations are
  291. among the easiest to defend against power and timing attacks.
  292. The AES specifies three key sizes: 128, 192 and 256 bits
  293. See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
  294. config ADK_KERNEL_CRYPTO_ANUBIS
  295. prompt "Anubis cipher algorithm"
  296. tristate
  297. select ADK_KERNEL_CRYPTO_ALGAPI
  298. default n
  299. help
  300. Anubis cipher algorithm.
  301. Anubis is a variable key length cipher which can use keys from
  302. 128 bits to 320 bits in length. It was evaluated as a entrant
  303. in the NESSIE competition.
  304. See also:
  305. <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
  306. <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
  307. config ADK_KERNEL_CRYPTO_ARC4
  308. prompt "ARC4 cipher algorithm"
  309. tristate
  310. select ADK_KERNEL_CRYPTO_BLKCIPHER
  311. default n
  312. help
  313. ARC4 cipher algorithm.
  314. ARC4 is a stream cipher using keys ranging from 8 bits to 2048
  315. bits in length. This algorithm is required for driver-based
  316. WEP, but it should not be for other purposes because of the
  317. weakness of the algorithm.
  318. config ADK_KERNEL_CRYPTO_BLOWFISH
  319. prompt "Blowfish cipher algorithm"
  320. tristate
  321. select ADK_KERNEL_CRYPTO_ALGAPI
  322. default n
  323. help
  324. Blowfish cipher algorithm, by Bruce Schneier.
  325. This is a variable key length cipher which can use keys from 32
  326. bits to 448 bits in length. It's fast, simple and specifically
  327. designed for use on "large microprocessors".
  328. See also:
  329. <http://www.schneier.com/blowfish.html>
  330. config ADK_KERNEL_CRYPTO_CAMELLIA
  331. prompt "Camellia cipher algorithms"
  332. tristate
  333. select ADK_KERNEL_CRYPTO_ALGAPI
  334. default n
  335. help
  336. Camellia cipher algorithms module.
  337. Camellia is a symmetric key block cipher developed jointly
  338. at NTT and Mitsubishi Electric Corporation.
  339. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  340. See also:
  341. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  342. config ADK_KERNEL_CRYPTO_CAST5
  343. prompt "CAST5 (CAST-128) cipher algorithm"
  344. tristate
  345. select ADK_KERNEL_CRYPTO_ALGAPI
  346. default n
  347. help
  348. The CAST5 encryption algorithm (synonymous with CAST-128) is
  349. described in RFC2144.
  350. config ADK_KERNEL_CRYPTO_CAST6
  351. prompt "CAST6 (CATS-256) cipher algorithm"
  352. tristate
  353. select ADK_KERNEL_CRYPTO_ALGAPI
  354. default n
  355. help
  356. The CAST6 encryption algorithm (synonymous with CAST-256) is
  357. described in RFC2612.
  358. config ADK_KERNEL_CRYPTO_DES
  359. prompt "DES and Triple DES EDE cipher algorithms"
  360. tristate
  361. select ADK_KERNEL_CRYPTO_ALGAPI
  362. default m if ADK_PACKAGE_STRONGSWAN
  363. default m if ADK_PACKAGE_OPENSWAN
  364. default n
  365. help
  366. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
  367. config ADK_KERNEL_CRYPTO_FCRYPT
  368. prompt "FCrypt cipher algorithms"
  369. tristate
  370. select ADK_KERNEL_CRYPTO_ALGAPI
  371. default n
  372. help
  373. FCrypt algorithm used by RxRPC.
  374. config ADK_KERNEL_CRYPTO_KHAZAD
  375. prompt "Khazad cipher algorithm"
  376. tristate
  377. select ADK_KERNEL_CRYPTO_ALGAPI
  378. default n
  379. help
  380. Khazad cipher algorithm.
  381. Khazad was a finalist in the initial NESSIE competition. It is
  382. an algorithm optimized for 64-bit processors with good performance
  383. on 32-bit processors. Khazad uses an 128 bit key size.
  384. See also:
  385. <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
  386. config ADK_KERNEL_CRYPTO_SERPENT
  387. prompt "Serpent cipher algorithm"
  388. tristate
  389. select ADK_KERNEL_CRYPTO_ALGAPI
  390. default n
  391. help
  392. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  393. Keys are allowed to be from 0 to 256 bits in length, in steps
  394. of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
  395. variant of Serpent for compatibility with old kerneli code.
  396. See also:
  397. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  398. config ADK_KERNEL_CRYPTO_TEA
  399. prompt "TEA, XTEA and XETA cipher algorithms"
  400. tristate
  401. select ADK_KERNEL_CRYPTO_ALGAPI
  402. default n
  403. help
  404. TEA cipher algorithm.
  405. Tiny Encryption Algorithm is a simple cipher that uses
  406. many rounds for security. It is very fast and uses
  407. little memory.
  408. Xtendend Tiny Encryption Algorithm is a modification to
  409. the TEA algorithm to address a potential key weakness
  410. in the TEA algorithm.
  411. Xtendend Encryption Tiny Algorithm is a mis-implementation
  412. of the XTEA algorithm for compatibility purposes.
  413. config ADK_KERNEL_CRYPTO_TWOFISH
  414. prompt "Twofish cipher algorithm"
  415. tristate
  416. select ADK_KERNEL_CRYPTO_ALGAPI
  417. default n
  418. help
  419. Twofish cipher algorithm.
  420. Twofish was submitted as an AES (Advanced Encryption Standard)
  421. candidate cipher by researchers at CounterPane Systems. It is a
  422. 16 round block cipher supporting key sizes of 128, 192, and 256
  423. bits.
  424. See also:
  425. <http://www.schneier.com/twofish.html>
  426. config ADK_KERNEL_CRYPTO_TWOFISH_586
  427. prompt "Twofish cipher algorithm (i586)"
  428. tristate
  429. select ADK_KERNEL_CRYPTO_ALGAPI
  430. depends on ADK_x86
  431. default n
  432. help
  433. Twofish cipher algorithm.
  434. Twofish was submitted as an AES (Advanced Encryption Standard)
  435. candidate cipher by researchers at CounterPane Systems. It is a
  436. 16 round block cipher supporting key sizes of 128, 192, and 256
  437. bits.
  438. See also:
  439. <http://www.schneier.com/twofish.html>
  440. config ADK_KERNEL_CRYPTO_NULL
  441. prompt "Null algorithms"
  442. tristate
  443. select ADK_KERNEL_CRYPTO_ALGAPI
  444. select ADK_KERNEL_CRYPTO_BLKCIPHER
  445. select ADK_KERNEL_CRYPTO_HASH
  446. default m if ADK_PACKAGE_STRONGSWAN
  447. default m if ADK_PACKAGE_OPENSWAN
  448. default n
  449. help
  450. These are 'Null' algorithms, used by IPsec, which do nothing.
  451. endmenu
  452. menu "Compression"
  453. config ADK_KERNEL_CRYPTO_DEFLATE
  454. prompt "Deflate compression algorithm"
  455. tristate
  456. select ADK_KERNEL_CRYPTO_ALGAPI
  457. default n
  458. help
  459. This is the Deflate algorithm (RFC1951), specified for use in
  460. IPSec with the IPCOMP protocol (RFC3173, RFC2394).
  461. You will most probably want this if using IPSec.
  462. config ADK_KERNEL_CRYPTO_LZO
  463. prompt "LZO compression algorithm"
  464. tristate
  465. select ADK_KERNEL_CRYPTO_ALGAPI
  466. default n
  467. help
  468. config ADK_KERNEL_CRYPTO_MICHAEL_MIC
  469. prompt "Michael MIC keyed digest algorithm"
  470. tristate
  471. select ADK_KERNEL_CRYPTO_HASH
  472. default n
  473. help
  474. Michael MIC is used for message integrity protection in TKIP
  475. (IEEE 802.11i). This algorithm is required for TKIP, but it
  476. should not be used for other purposes because of the weakness
  477. of the algorithm.
  478. config ADK_KERNEL_CRYPTO_CRC32C
  479. prompt "CRC32c CRC algorithm"
  480. tristate
  481. select ADK_KERNEL_CRYPTO_HASH
  482. select ADK_KERNEL_CRC32
  483. default n
  484. help
  485. Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
  486. by iSCSI for header and data digests and by others.
  487. See Castagnoli93. This implementation uses lib/libcrc32c.
  488. Module will be crc32c.
  489. endmenu
  490. endmenu