[ifxmips]:
[openwrt.git] / target / linux / ifxmips / patches / 170-crypto.patch
1 Index: linux-2.6.35.8/drivers/crypto/Kconfig
2 ===================================================================
3 --- linux-2.6.35.8.orig/drivers/crypto/Kconfig 2010-10-29 06:52:43.000000000 +0200
4 +++ linux-2.6.35.8/drivers/crypto/Kconfig 2010-11-01 11:36:03.000000000 +0100
5 @@ -243,4 +243,66 @@
6 OMAP processors have SHA1/MD5 hw accelerator. Select this if you
7 want to use the OMAP module for SHA1/MD5 algorithms.
8
9 +config CRYPTO_DEV_IFXMIPS
10 + bool "Support for IFXMIPS crypto engine"
11 + select CRYPTO_ALGAPI
12 + default y
13 + help
14 + Will support IFXMIPS crypto hardware
15 + If you are unsure, say M.
16 +
17 +menuconfig CRYPTO_DEV_IFXMIPS_DES
18 + bool "IFXMIPS crypto hardware for DES algorithm"
19 + depends on CRYPTO_DEV_IFXMIPS
20 + select CRYPTO_BLKCIPHER
21 + default y
22 + help
23 + Use crypto hardware for DES/3DES algorithm.
24 + If unsure say N.
25 +
26 +menuconfig CRYPTO_DEV_IFXMIPS_AES
27 + bool "IFXMIPS crypto hardware for AES algorithm"
28 + depends on CRYPTO_DEV_IFXMIPS
29 + select CRYPTO_BLKCIPHER
30 + default y
31 + help
32 + Use crypto hardware for AES algorithm.
33 + If unsure say N.
34 +
35 +menuconfig CRYPTO_DEV_IFXMIPS_ARC4
36 + bool "IFXMIPS crypto hardware for ARC4 algorithm"
37 + depends on (CRYPTO_DEV_IFXMIPS && !DANUBE)
38 + select CRYPTO_BLKCIPHER
39 + default y
40 + help
41 + Use crypto hardware for ARC4 algorithm.
42 + If unsure say N.
43 +
44 +menuconfig CRYPTO_DEV_IFXMIPS_SHA1
45 + bool "IFXMIPS crypto hardware for SHA1 algorithm"
46 + depends on CRYPTO_DEV_IFXMIPS
47 + select CRYPTO_BLKCIPHER
48 + default y
49 + help
50 + Use crypto hardware for SHA1 algorithm.
51 + If unsure say N.
52 +
53 +menuconfig CRYPTO_DEV_IFXMIPS_SHA1_HMAC
54 + bool "IFXMIPS crypto hardware for SHA1_HMAC algorithm"
55 + depends on (CRYPTO_DEV_IFXMIPS && !DANUBE)
56 + select CRYPTO_BLKCIPHER
57 + default y
58 + help
59 + Use crypto hardware for SHA1_HMAC algorithm.
60 + If unsure say N.
61 +
62 +menuconfig CRYPTO_DEV_IFXMIPS_MD5_HMAC
63 + bool "IFXMIPS crypto hardware for MD5_HMAC algorithms"
64 + depends on (CRYPTO_DEV_IFXMIPS && !DANUBE)
65 + select CRYPTO_BLKCIPHER
66 + default y
67 + help
68 + Use crypto hardware for MD5_HMAC algorithm.
69 + If unsure say N.
70 +
71 endif # CRYPTO_HW
72 Index: linux-2.6.35.8/drivers/crypto/Makefile
73 ===================================================================
74 --- linux-2.6.35.8.orig/drivers/crypto/Makefile 2010-10-29 06:52:43.000000000 +0200
75 +++ linux-2.6.35.8/drivers/crypto/Makefile 2010-11-01 11:36:23.000000000 +0100
76 @@ -9,4 +9,4 @@
77 obj-$(CONFIG_CRYPTO_DEV_IXP4XX) += ixp4xx_crypto.o
78 obj-$(CONFIG_CRYPTO_DEV_PPC4XX) += amcc/
79 obj-$(CONFIG_CRYPTO_DEV_OMAP_SHAM) += omap-sham.o
80 -
81 +obj-$(CONFIG_CRYPTO_DEV_IFXMIPS) += ifxmips/
This page took 0.055545 seconds and 5 git commands to generate.