]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 26 Apr 2015 20:51:05 +0000 (13:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 26 Apr 2015 20:51:05 +0000 (13:51 -0700)
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

arch/x86/crypto/sha512-avx2-asm.S
drivers/crypto/Kconfig

index a4771dcd1fcf4ff6c2a778ed481174b4cfefe694..1f20b35d8573a131241505d58f292d67bc866c6d 100644 (file)
@@ -79,7 +79,7 @@ NUM_BLKS    = %rdx
 c           = %rcx
 d           = %r8
 e           = %rdx
-y3          = %rdi
+y3          = %rsi
 
 TBL   = %rbp
 
index 800bf41718e185e8337bce952e4f1783412f8741..033c0c86f6ec051af426b970825f84146223f840 100644 (file)
@@ -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