sync to kernel 2.6.32.12
[openwrt.git] / target / linux / ifxmips / patches-2.6.32 / 170-crypto.patch
1 --- a/drivers/crypto/Kconfig
2 +++ b/drivers/crypto/Kconfig
3 @@ -222,4 +222,66 @@ config CRYPTO_DEV_PPC4XX
4 help
5 This option allows you to have support for AMCC crypto acceleration.
6
7 +config CRYPTO_DEV_IFXMIPS
8 + bool "Support for IFXMIPS crypto engine"
9 + select CRYPTO_ALGAPI
10 + default y
11 + help
12 + Will support IFXMIPS crypto hardware
13 + If you are unsure, say M.
14 +
15 +menuconfig CRYPTO_DEV_IFXMIPS_DES
16 + bool "IFXMIPS crypto hardware for DES algorithm"
17 + depends on CRYPTO_DEV_IFXMIPS
18 + select CRYPTO_BLKCIPHER
19 + default y
20 + help
21 + Use crypto hardware for DES/3DES algorithm.
22 + If unsure say N.
23 +
24 +menuconfig CRYPTO_DEV_IFXMIPS_AES
25 + bool "IFXMIPS crypto hardware for AES algorithm"
26 + depends on CRYPTO_DEV_IFXMIPS
27 + select CRYPTO_BLKCIPHER
28 + default y
29 + help
30 + Use crypto hardware for AES algorithm.
31 + If unsure say N.
32 +
33 +menuconfig CRYPTO_DEV_IFXMIPS_ARC4
34 + bool "IFXMIPS crypto hardware for ARC4 algorithm"
35 + depends on (CRYPTO_DEV_IFXMIPS && !DANUBE)
36 + select CRYPTO_BLKCIPHER
37 + default y
38 + help
39 + Use crypto hardware for ARC4 algorithm.
40 + If unsure say N.
41 +
42 +menuconfig CRYPTO_DEV_IFXMIPS_SHA1
43 + bool "IFXMIPS crypto hardware for SHA1 algorithm"
44 + depends on CRYPTO_DEV_IFXMIPS
45 + select CRYPTO_BLKCIPHER
46 + default y
47 + help
48 + Use crypto hardware for SHA1 algorithm.
49 + If unsure say N.
50 +
51 +menuconfig CRYPTO_DEV_IFXMIPS_SHA1_HMAC
52 + bool "IFXMIPS crypto hardware for SHA1_HMAC algorithm"
53 + depends on (CRYPTO_DEV_IFXMIPS && !DANUBE)
54 + select CRYPTO_BLKCIPHER
55 + default y
56 + help
57 + Use crypto hardware for SHA1_HMAC algorithm.
58 + If unsure say N.
59 +
60 +menuconfig CRYPTO_DEV_IFXMIPS_MD5_HMAC
61 + bool "IFXMIPS crypto hardware for MD5_HMAC algorithms"
62 + depends on (CRYPTO_DEV_IFXMIPS && !DANUBE)
63 + select CRYPTO_BLKCIPHER
64 + default y
65 + help
66 + Use crypto hardware for MD5_HMAC algorithm.
67 + If unsure say N.
68 +
69 endif # CRYPTO_HW
70 --- a/drivers/crypto/Makefile
71 +++ b/drivers/crypto/Makefile
72 @@ -6,3 +6,4 @@ obj-$(CONFIG_CRYPTO_DEV_MV_CESA) += mv_c
73 obj-$(CONFIG_CRYPTO_DEV_TALITOS) += talitos.o
74 obj-$(CONFIG_CRYPTO_DEV_IXP4XX) += ixp4xx_crypto.o
75 obj-$(CONFIG_CRYPTO_DEV_PPC4XX) += amcc/
76 +obj-$(CONFIG_CRYPTO_DEV_IFXMIPS) += ifxmips/
This page took 0.043375 seconds and 5 git commands to generate.