Config.in.crypto 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543
  1. menu "Crypto kernel modules"
  2. config ADK_KERNEL_CRYPTO
  3. boolean
  4. default n
  5. config ADK_KERNEL_CRYPTO_HW
  6. boolean
  7. default n
  8. config ADK_KERNEL_OCF_FIPS
  9. boolean
  10. default n
  11. config ADK_KERNEL_OCF_CRYPTODEV
  12. boolean
  13. default n
  14. config ADK_KERNEL_OCF_OCF
  15. boolean
  16. default n
  17. select ADK_KERNEL_CRYPTO
  18. select ADK_KERNEL_OCF_FIPS
  19. select ADK_KERNEL_OCF_CRYPTODEV
  20. comment "Hardware cryptography"
  21. menu "Hardware crypto devices"
  22. config ADK_KPACKAGE_KMOD_CRYPTO_DEV_GEODE
  23. prompt "Support for the Geode LX/GX AES engine"
  24. tristate
  25. select ADK_KERNEL_CRYPTO_HW
  26. select ADK_KERNEL_CRYPTO
  27. depends on ADK_LINUX_X86_ALIX1C
  28. help
  29. Say 'Y' here to use the AMD Geode LX processor on-board AES
  30. engine for the CryptoAPI AES algorithm.
  31. config ADK_KPACKAGE_KMOD_CRYPTO_DEV_HIFN_795X
  32. prompt "Driver HIFN 795x crypto accelerator chips"
  33. tristate
  34. select ADK_KERNEL_CRYPTO_HW
  35. select ADK_KERNEL_CRYPTO
  36. select ADK_KPACKAGE_KMOD_CRYPTO_BLKCIPHER
  37. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  38. select ADK_KPACKAGE_KMOD_CRYPTO_DES
  39. help
  40. This option allows you to have support for HIFN 795x crypto adapters.
  41. endmenu
  42. menu "OpenBSD Cryptographic framework"
  43. depends on !ADK_LINUX_CRIS_FOXBOARD
  44. config ADK_KPACKAGE_KMOD_OCF_HIFN
  45. prompt "kmod-cryptodev-hifn................ hifn engine"
  46. tristate
  47. default n
  48. select ADK_KERNEL_OCF_OCF
  49. help
  50. Engine for cryptodev that uses Hifn based accelerators
  51. such as the 7951, 7955, 7956, 7751, 7811.
  52. config ADK_KPACKAGE_KMOD_OCF_SAFE
  53. prompt "kmod-cryptodev-safe................ safenet engine"
  54. tristate
  55. default n
  56. select ADK_KERNEL_OCF_OCF
  57. help
  58. Engine for cryptodev that uses a number of the safenet Excel
  59. crypto accelerators. Currently for the 1141 and 1741.
  60. config ADK_KPACKAGE_KMOD_OCF_IXP4XX
  61. prompt "kmod-cryptodev-ixp4xx.............. IXP4xx engine"
  62. tristate
  63. default n
  64. select ADK_KERNEL_OCF_OCF
  65. depends on ADK_arm
  66. help
  67. Engine for cryptodev that uses XScale IXP4xx.
  68. Requires the Intel Access library.
  69. config ADK_KPACKAGE_KMOD_OCF_TALITOS
  70. prompt "kmod-cryptodev-talitos............. talitos engine"
  71. tristate
  72. default n
  73. select ADK_KERNEL_OCF_OCF
  74. depends on ADK_powerpc || ADK_m68k || ADK_ppc
  75. help
  76. Engine for cryptodev that uses Freescale's security engine (SEC/talitos).
  77. endmenu
  78. comment "Software cryptography"
  79. menu "Crypto core / Block and Hash modes"
  80. config ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  81. prompt "kmod-crypto-algapi.................. Crypto algorithm API"
  82. tristate
  83. default n
  84. select ADK_KERNEL_CRYPTO
  85. help
  86. config ADK_KPACKAGE_KMOD_CRYPTO_AEAD
  87. prompt "kmod-crypto-aead.................... Crypto algorithm AEAD"
  88. tristate
  89. default n
  90. select ADK_KERNEL_CRYPTO
  91. help
  92. config ADK_KPACKAGE_KMOD_CRYPTO_MANAGER
  93. prompt "kmod-crypto-manager.................. Crypto algorithm manager"
  94. tristate
  95. default n
  96. select ADK_KPACKAGE_KMOD_CRYPTO_HASH
  97. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  98. select ADK_KPACKAGE_KMOD_CRYPTO_AEAD
  99. help
  100. config ADK_KPACKAGE_KMOD_CRYPTO_HASH
  101. prompt "kmod-crypto-hash..................... Crypto hash support"
  102. tristate
  103. default n
  104. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  105. help
  106. config ADK_KPACKAGE_KMOD_CRYPTO_BLKCIPHER
  107. prompt "kmod-crypto-blkcipher................ Crypto block cipher support"
  108. tristate
  109. default n
  110. select ADK_KPACKAGE_KMOD_CRYPTO_RNG2
  111. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  112. help
  113. config ADK_KPACKAGE_KMOD_CRYPTO_CBC
  114. prompt "kmod-crypto-cbc...................... CBC support"
  115. tristate
  116. select ADK_KPACKAGE_KMOD_CRYPTO_BLKCIPHER
  117. select ADK_KPACKAGE_KMOD_CRYPTO_MANAGER
  118. default n
  119. help
  120. CBC: Cipher Block Chaining mode
  121. This block cipher algorithm is required for IPSec.
  122. config ADK_KPACKAGE_KMOD_CRYPTO_ECB
  123. prompt "kmod-crypto-ecb...................... ECB support"
  124. tristate
  125. default n
  126. select ADK_KPACKAGE_KMOD_CRYPTO_BLKCIPHER
  127. select ADK_KPACKAGE_KMOD_CRYPTO_MANAGER
  128. help
  129. ECB: Electronic CodeBook mode
  130. This is the simplest block cipher algorithm. It simply encrypts
  131. the input block by block.
  132. config ADK_KPACKAGE_KMOD_CRYPTO_HMAC
  133. prompt "kmod-crypto-hmac..................... HMAC support"
  134. tristate
  135. default n
  136. select ADK_KPACKAGE_KMOD_CRYPTO_HASH
  137. select ADK_KPACKAGE_KMOD_CRYPTO_MANAGER
  138. help
  139. HMAC: Keyed-Hashing for Message Authentication (RFC2104).
  140. This is required for IPSec.
  141. config ADK_KPACKAGE_KMOD_CRYPTO_RNG2
  142. prompt "kmod-crypto-rng...................... RNG support"
  143. tristate
  144. default n
  145. help
  146. Random number generator
  147. endmenu
  148. menu "Digest algorithms"
  149. config ADK_KPACKAGE_KMOD_CRYPTO_MD4
  150. prompt "kmod-crypto-md4...................... MD4 digest algorithm"
  151. tristate
  152. default n
  153. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  154. select ADK_KPACKAGE_KMOD_CRYPTO_HASH
  155. help
  156. MD4 message digest algorithm (RFC1320).
  157. config ADK_KPACKAGE_KMOD_CRYPTO_MD5
  158. prompt "kmod-crypto-md5...................... MD5 digest algorithm"
  159. tristate
  160. default n
  161. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  162. select ADK_KPACKAGE_KMOD_CRYPTO_HASH
  163. help
  164. MD5 message digest algorithm (RFC1321).
  165. config ADK_KPACKAGE_KMOD_CRYPTO_SHA1
  166. prompt "kmod-crypto-sha1..................... SHA1 digest algorithm"
  167. tristate
  168. default n
  169. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  170. select ADK_KPACKAGE_KMOD_CRYPTO_HASH
  171. help
  172. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
  173. config ADK_KPACKAGE_KMOD_CRYPTO_SHA256
  174. prompt "kmod-crypto-sha256................... SHA256 digest algorithm"
  175. tristate
  176. default n
  177. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  178. select ADK_KPACKAGE_KMOD_CRYPTO_HASH
  179. help
  180. SHA256 secure hash standard (DFIPS 180-2).
  181. This version of SHA implements a 256 bit hash with 128 bits of
  182. security against collision attacks.
  183. config ADK_KPACKAGE_KMOD_CRYPTO_SHA512
  184. prompt "kmod-crypto-sha512................... SHA512 digest algorithm"
  185. tristate
  186. default n
  187. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  188. select ADK_KPACKAGE_KMOD_CRYPTO_HASH
  189. help
  190. SHA512 secure hash standard (DFIPS 180-2).
  191. This version of SHA implements a 512 bit hash with 256 bits of
  192. security against collision attacks.
  193. This code also includes SHA-384, a 384 bit hash with 192 bits
  194. of security against collision attacks.
  195. config ADK_KPACKAGE_KMOD_CRYPTO_WP512
  196. prompt "kmod-crypto-whirlpool................ Whirlpool digest algorithms"
  197. tristate
  198. default n
  199. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  200. select ADK_KPACKAGE_KMOD_CRYPTO_HASH
  201. help
  202. Whirlpool hash algorithm 512, 384 and 256-bit hashes
  203. Whirlpool-512 is part of the NESSIE cryptographic primitives.
  204. Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
  205. See also:
  206. <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
  207. config ADK_KPACKAGE_KMOD_CRYPTO_TGR192
  208. prompt "kmod-crypto-tiger.................... Tiger digest algorithms"
  209. tristate
  210. default n
  211. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  212. select ADK_KPACKAGE_KMOD_CRYPTO_HASH
  213. help
  214. Tiger hash algorithm 192, 160 and 128-bit hashes
  215. Tiger is a hash function optimized for 64-bit processors while
  216. still having decent performance on 32-bit processors.
  217. Tiger was developed by Ross Anderson and Eli Biham.
  218. See also:
  219. <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
  220. endmenu
  221. menu "Cipher algoritms"
  222. config ADK_KPACKAGE_KMOD_CRYPTO_AES
  223. prompt "kmod-crypto-aes...................... AES cipher algorithms"
  224. tristate
  225. default n
  226. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  227. help
  228. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  229. algorithm.
  230. Rijndael appears to be consistently a very good performer in
  231. both hardware and software across a wide range of computing
  232. environments regardless of its use in feedback or non-feedback
  233. modes. Its key setup time is excellent, and its key agility is
  234. good. Rijndael's very low memory requirements make it very well
  235. suited for restricted-space environments, in which it also
  236. demonstrates excellent performance. Rijndael's operations are
  237. among the easiest to defend against power and timing attacks.
  238. The AES specifies three key sizes: 128, 192 and 256 bits
  239. See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
  240. config ADK_KPACKAGE_KMOD_CRYPTO_AES_586
  241. prompt "kmod-crypto-aes-i586................. AES cipher algorithms (i586)"
  242. tristate
  243. default n
  244. depends on ADK_x86
  245. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  246. help
  247. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  248. algorithm.
  249. Rijndael appears to be consistently a very good performer in
  250. both hardware and software across a wide range of computing
  251. environments regardless of its use in feedback or non-feedback
  252. modes. Its key setup time is excellent, and its key agility is
  253. good. Rijndael's very low memory requirements make it very well
  254. suited for restricted-space environments, in which it also
  255. demonstrates excellent performance. Rijndael's operations are
  256. among the easiest to defend against power and timing attacks.
  257. The AES specifies three key sizes: 128, 192 and 256 bits
  258. See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
  259. config ADK_KPACKAGE_KMOD_CRYPTO_ANUBIS
  260. prompt "kmod-crypto-anubis................... Anubis cipher algorithm"
  261. tristate
  262. default n
  263. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  264. help
  265. Anubis cipher algorithm.
  266. Anubis is a variable key length cipher which can use keys from
  267. 128 bits to 320 bits in length. It was evaluated as a entrant
  268. in the NESSIE competition.
  269. See also:
  270. <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
  271. <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
  272. config ADK_KPACKAGE_KMOD_CRYPTO_ARC4
  273. prompt "kmod-crypto-arc4..................... ARC4 cipher algorithm"
  274. tristate
  275. default n
  276. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  277. help
  278. ARC4 cipher algorithm.
  279. ARC4 is a stream cipher using keys ranging from 8 bits to 2048
  280. bits in length. This algorithm is required for driver-based
  281. WEP, but it should not be for other purposes because of the
  282. weakness of the algorithm.
  283. config ADK_KPACKAGE_KMOD_CRYPTO_BLOWFISH
  284. prompt "kmod-crypto-blowfish................. Blowfish cipher algorithm"
  285. tristate
  286. default n
  287. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  288. help
  289. Blowfish cipher algorithm, by Bruce Schneier.
  290. This is a variable key length cipher which can use keys from 32
  291. bits to 448 bits in length. It's fast, simple and specifically
  292. designed for use on "large microprocessors".
  293. See also:
  294. <http://www.schneier.com/blowfish.html>
  295. config ADK_KPACKAGE_KMOD_CRYPTO_CAMELLIA
  296. prompt "kmod-crypto-camellia................. Camellia cipher algorithms"
  297. tristate
  298. default n
  299. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  300. help
  301. Camellia cipher algorithms module.
  302. Camellia is a symmetric key block cipher developed jointly
  303. at NTT and Mitsubishi Electric Corporation.
  304. The Camellia specifies three key sizes: 128, 192 and 256 bits.
  305. See also:
  306. <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
  307. config ADK_KPACKAGE_KMOD_CRYPTO_CAST5
  308. prompt "kmod-crypto-cast5.................... CAST5 (CAST-128) cipher algorithm"
  309. tristate
  310. default n
  311. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  312. help
  313. The CAST5 encryption algorithm (synonymous with CAST-128) is
  314. described in RFC2144.
  315. config ADK_KPACKAGE_KMOD_CRYPTO_CAST6
  316. prompt "kmod-crypto-cast6.................... CAST6 (CATS-256) cipher algorithm"
  317. tristate
  318. default n
  319. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  320. help
  321. The CAST6 encryption algorithm (synonymous with CAST-256) is
  322. described in RFC2612.
  323. config ADK_KPACKAGE_KMOD_CRYPTO_DES
  324. prompt "kmod-crypto-des...................... DES and Triple DES EDE cipher algorithms"
  325. tristate
  326. default n
  327. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  328. help
  329. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
  330. config ADK_KPACKAGE_KMOD_CRYPTO_FCRYPT
  331. prompt "kmod-crypto-fcrypt................... FCrypt cipher algorithms"
  332. tristate
  333. default n
  334. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  335. help
  336. FCrypt algorithm used by RxRPC.
  337. config ADK_KPACKAGE_KMOD_CRYPTO_KHAZAD
  338. prompt "kmod-crypto-khazad................... Khazad cipher algorithm"
  339. tristate
  340. default n
  341. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  342. help
  343. Khazad cipher algorithm.
  344. Khazad was a finalist in the initial NESSIE competition. It is
  345. an algorithm optimized for 64-bit processors with good performance
  346. on 32-bit processors. Khazad uses an 128 bit key size.
  347. See also:
  348. <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
  349. config ADK_KPACKAGE_KMOD_CRYPTO_SERPENT
  350. prompt "kmod-crypto-serpent.................. Serpent cipher algorithm"
  351. tristate
  352. default n
  353. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  354. help
  355. Serpent cipher algorithm, by Anderson, Biham & Knudsen.
  356. Keys are allowed to be from 0 to 256 bits in length, in steps
  357. of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
  358. variant of Serpent for compatibility with old kerneli code.
  359. See also:
  360. <http://www.cl.cam.ac.uk/~rja14/serpent.html>
  361. config ADK_KPACKAGE_KMOD_CRYPTO_TEA
  362. prompt "kmod-crypto-tea...................... TEA, XTEA and XETA cipher algorithms"
  363. tristate
  364. default n
  365. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  366. help
  367. TEA cipher algorithm.
  368. Tiny Encryption Algorithm is a simple cipher that uses
  369. many rounds for security. It is very fast and uses
  370. little memory.
  371. Xtendend Tiny Encryption Algorithm is a modification to
  372. the TEA algorithm to address a potential key weakness
  373. in the TEA algorithm.
  374. Xtendend Encryption Tiny Algorithm is a mis-implementation
  375. of the XTEA algorithm for compatibility purposes.
  376. config ADK_KPACKAGE_KMOD_CRYPTO_TWOFISH
  377. prompt "kmod-crypto-twofish.................. Twofish cipher algorithm"
  378. tristate
  379. default n
  380. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  381. help
  382. Twofish cipher algorithm.
  383. Twofish was submitted as an AES (Advanced Encryption Standard)
  384. candidate cipher by researchers at CounterPane Systems. It is a
  385. 16 round block cipher supporting key sizes of 128, 192, and 256
  386. bits.
  387. See also:
  388. <http://www.schneier.com/twofish.html>
  389. config ADK_KPACKAGE_KMOD_CRYPTO_TWOFISH_586
  390. prompt "kmod-crypto-twofish-586.............. Twofish cipher algorithm (i586)"
  391. tristate
  392. default n
  393. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  394. depends on ADK_x86
  395. help
  396. Twofish cipher algorithm.
  397. Twofish was submitted as an AES (Advanced Encryption Standard)
  398. candidate cipher by researchers at CounterPane Systems. It is a
  399. 16 round block cipher supporting key sizes of 128, 192, and 256
  400. bits.
  401. See also:
  402. <http://www.schneier.com/twofish.html>
  403. config ADK_KPACKAGE_KMOD_CRYPTO_NULL
  404. prompt "kmod-crypto-null..................... Null algorithms"
  405. tristate
  406. select ADK_KPACKAGE_KMOD_CRYPTO_BLKCIPHER
  407. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  408. default n
  409. help
  410. These are 'Null' algorithms, used by IPsec, which do nothing.
  411. endmenu
  412. menu "Compression"
  413. config ADK_KPACKAGE_KMOD_CRYPTO_DEFLATE
  414. prompt "kmod-crypto-deflate.................. Deflate compression algorithm"
  415. tristate
  416. default n
  417. select ADK_KERNEL_CRYPTO
  418. help
  419. This is the Deflate algorithm (RFC1951), specified for use in
  420. IPSec with the IPCOMP protocol (RFC3173, RFC2394).
  421. You will most probably want this if using IPSec.
  422. config ADK_KPACKAGE_KMOD_CRYPTO_LZO
  423. prompt "kmod-crypto-lzo...................... LZO compression algorithm"
  424. tristate
  425. default n
  426. select ADK_KERNEL_CRYPTO
  427. help
  428. config ADK_KPACKAGE_KMOD_CRYPTO_MICHAEL_MIC
  429. prompt "kmod-crypto-michael-mic.............. Michael MIC keyed digest algorithm"
  430. tristate
  431. default n
  432. select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
  433. help
  434. Michael MIC is used for message integrity protection in TKIP
  435. (IEEE 802.11i). This algorithm is required for TKIP, but it
  436. should not be used for other purposes because of the weakness
  437. of the algorithm.
  438. config ADK_KPACKAGE_KMOD_CRYPTO_CRC32C
  439. prompt "kmod-crypto-crc32c................... CRC32c CRC algorithm"
  440. tristate
  441. default n
  442. select ADK_KPACKAGE_KMOD_CRYPTO_HASH
  443. select ADK_KPACKAGE_KMOD_LIBCRC32C
  444. help
  445. Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
  446. by iSCSI for header and data digests and by others.
  447. See Castagnoli93. This implementation uses lib/libcrc32c.
  448. Module will be crc32c.
  449. endmenu
  450. endmenu