aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-04-26 16:51:05 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-26 16:51:05 -0400
commitd89b3e19ef98a8d3b81a9f8a62c6ac89fd00412e (patch)
tree0cb5687b3b32f0e08e42ed8b4a9b55fffdf96c30
parent78d425677217b655ed36c492a070b5002832fc73 (diff)
parent8c98ebd7a6ff6ef352bb4c5516a8849b40b5ef6b (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fixes from Herbert Xu: "This push fixes a build problem with img-hash under non-standard configurations and a serious regression with sha512_ssse3 which can lead to boot failures" * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: img-hash - CRYPTO_DEV_IMGTEC_HASH should depend on HAS_DMA crypto: x86/sha512_ssse3 - fixup for asm function prototype change
-rw-r--r--arch/x86/crypto/sha512-avx2-asm.S2
-rw-r--r--drivers/crypto/Kconfig3
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/crypto/sha512-avx2-asm.S b/arch/x86/crypto/sha512-avx2-asm.S
index a4771dcd1fcf..1f20b35d8573 100644
--- a/arch/x86/crypto/sha512-avx2-asm.S
+++ b/arch/x86/crypto/sha512-avx2-asm.S
@@ -79,7 +79,7 @@ NUM_BLKS = %rdx
79c = %rcx 79c = %rcx
80d = %r8 80d = %r8
81e = %rdx 81e = %rdx
82y3 = %rdi 82y3 = %rsi
83 83
84TBL = %rbp 84TBL = %rbp
85 85
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 800bf41718e1..033c0c86f6ec 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -446,8 +446,9 @@ config CRYPTO_DEV_VMX
446source "drivers/crypto/vmx/Kconfig" 446source "drivers/crypto/vmx/Kconfig"
447 447
448config CRYPTO_DEV_IMGTEC_HASH 448config CRYPTO_DEV_IMGTEC_HASH
449 depends on MIPS || COMPILE_TEST
450 tristate "Imagination Technologies hardware hash accelerator" 449 tristate "Imagination Technologies hardware hash accelerator"
450 depends on MIPS || COMPILE_TEST
451 depends on HAS_DMA
451 select CRYPTO_ALGAPI 452 select CRYPTO_ALGAPI
452 select CRYPTO_MD5 453 select CRYPTO_MD5
453 select CRYPTO_SHA1 454 select CRYPTO_SHA1