1 --- a/drivers/crypto/Kconfig
2 +++ b/drivers/crypto/Kconfig
3 @@ -222,4 +222,66 @@ config CRYPTO_DEV_PPC4XX
5 This option allows you to have support for AMCC crypto acceleration.
7 +config CRYPTO_DEV_IFXMIPS
8 + bool "Support for IFXMIPS crypto engine"
12 + Will support IFXMIPS crypto hardware
13 + If you are unsure, say M.
15 +menuconfig CRYPTO_DEV_IFXMIPS_DES
16 + bool "IFXMIPS crypto hardware for DES algorithm"
17 + depends on CRYPTO_DEV_IFXMIPS
18 + select CRYPTO_BLKCIPHER
21 + Use crypto hardware for DES/3DES algorithm.
24 +menuconfig CRYPTO_DEV_IFXMIPS_AES
25 + bool "IFXMIPS crypto hardware for AES algorithm"
26 + depends on CRYPTO_DEV_IFXMIPS
27 + select CRYPTO_BLKCIPHER
30 + Use crypto hardware for AES algorithm.
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
39 + Use crypto hardware for ARC4 algorithm.
42 +menuconfig CRYPTO_DEV_IFXMIPS_SHA1
43 + bool "IFXMIPS crypto hardware for SHA1 algorithm"
44 + depends on CRYPTO_DEV_IFXMIPS
45 + select CRYPTO_BLKCIPHER
48 + Use crypto hardware for SHA1 algorithm.
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
57 + Use crypto hardware for SHA1_HMAC algorithm.
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
66 + Use crypto hardware for MD5_HMAC algorithm.
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/