Config.in.crypto 16 KB

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