Config.in.crypto 16 KB

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