diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-26 23:51:05 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-26 23:51:05 +0300 |
commit | d89b3e19ef98a8d3b81a9f8a62c6ac89fd00412e (patch) | |
tree | 0cb5687b3b32f0e08e42ed8b4a9b55fffdf96c30 | |
parent | 78d425677217b655ed36c492a070b5002832fc73 (diff) | |
parent | 8c98ebd7a6ff6ef352bb4c5516a8849b40b5ef6b (diff) | |
download | linux-d89b3e19ef98a8d3b81a9f8a62c6ac89fd00412e.tar.xz |
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 c = %rcx d = %r8 e = %rdx -y3 = %rdi +y3 = %rsi TBL = %rbp 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 source "drivers/crypto/vmx/Kconfig" config CRYPTO_DEV_IMGTEC_HASH - depends on MIPS || COMPILE_TEST tristate "Imagination Technologies hardware hash accelerator" + depends on MIPS || COMPILE_TEST + depends on HAS_DMA select CRYPTO_ALGAPI select CRYPTO_MD5 select CRYPTO_SHA1 |