diff options
author | Alexander Clouter <alex@digriz.org.uk> | 2012-05-12 04:45:08 -0400 |
---|---|---|
committer | Luis Henriques <luis.henriques@canonical.com> | 2012-05-25 12:24:48 -0400 |
commit | 653a75cae2fb212010b87248c85ca1c66818e88f (patch) | |
tree | eff0a5196e605182445b142bc29cad4183bc55e6 | |
parent | c6ddd91dbbfe34950f67fc05bed1d7b506d84213 (diff) |
crypto: mv_cesa requires on CRYPTO_HASH to build
BugLink: http://bugs.launchpad.net/bugs/1002880
commit 1ebfefcf37a6e308266a8d786e8cfea0a454058c upstream.
Without CRYPTO_HASH being selected, mv_cesa has a lot of hooks
into undefined exports.
----
MODPOST 81 modules
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
GZIP arch/arm/boot/compressed/piggy.gzip
CC arch/arm/boot/compressed/misc.o
CC arch/arm/boot/compressed/decompress.o
ERROR: "crypto_ahash_type" [drivers/crypto/mv_cesa.ko] undefined!
ERROR: "crypto_shash_final" [drivers/crypto/mv_cesa.ko] undefined!
ERROR: "crypto_register_ahash" [drivers/crypto/mv_cesa.ko] undefined!
ERROR: "crypto_unregister_ahash" [drivers/crypto/mv_cesa.ko] undefined!
ERROR: "crypto_shash_update" [drivers/crypto/mv_cesa.ko] undefined!
ERROR: "crypto_shash_digest" [drivers/crypto/mv_cesa.ko] undefined!
ERROR: "crypto_shash_setkey" [drivers/crypto/mv_cesa.ko] undefined!
ERROR: "crypto_alloc_shash" [drivers/crypto/mv_cesa.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....
----
Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
-rw-r--r-- | drivers/crypto/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index e0b25de1e33..98caccfdf21 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig | |||
@@ -173,6 +173,7 @@ config CRYPTO_DEV_MV_CESA | |||
173 | select CRYPTO_ALGAPI | 173 | select CRYPTO_ALGAPI |
174 | select CRYPTO_AES | 174 | select CRYPTO_AES |
175 | select CRYPTO_BLKCIPHER2 | 175 | select CRYPTO_BLKCIPHER2 |
176 | select CRYPTO_HASH | ||
176 | help | 177 | help |
177 | This driver allows you to utilize the Cryptographic Engines and | 178 | This driver allows you to utilize the Cryptographic Engines and |
178 | Security Accelerator (CESA) which can be found on the Marvell Orion | 179 | Security Accelerator (CESA) which can be found on the Marvell Orion |