diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-26 16:51:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-26 16:51:05 -0400 |
commit | d89b3e19ef98a8d3b81a9f8a62c6ac89fd00412e (patch) | |
tree | 0cb5687b3b32f0e08e42ed8b4a9b55fffdf96c30 | |
parent | 78d425677217b655ed36c492a070b5002832fc73 (diff) | |
parent | 8c98ebd7a6ff6ef352bb4c5516a8849b40b5ef6b (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.S | 2 | ||||
-rw-r--r-- | drivers/crypto/Kconfig | 3 |
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 | |||
79 | c = %rcx | 79 | c = %rcx |
80 | d = %r8 | 80 | d = %r8 |
81 | e = %rdx | 81 | e = %rdx |
82 | y3 = %rdi | 82 | y3 = %rsi |
83 | 83 | ||
84 | TBL = %rbp | 84 | TBL = %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 | |||
446 | source "drivers/crypto/vmx/Kconfig" | 446 | source "drivers/crypto/vmx/Kconfig" |
447 | 447 | ||
448 | config CRYPTO_DEV_IMGTEC_HASH | 448 | config 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 |