]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/x86/crypto/sha512-avx-asm.S
crypto: x86/sha512_ssse3 - move SHA-384/512 SSSE3 implementation to base layer
[mirror_ubuntu-zesty-kernel.git] / arch / x86 / crypto / sha512-avx-asm.S
index 974dde9bc6cd220960b9d053a82e81c78596449e..565274d6a6419faac4a376aa658540372fecee26 100644 (file)
@@ -54,9 +54,9 @@
 
 # Virtual Registers
 # ARG1
-msg    = %rdi
+digest = %rdi
 # ARG2
-digest = %rsi
+msg    = %rsi
 # ARG3
 msglen = %rdx
 T1     = %rcx
@@ -271,7 +271,7 @@ frame_size = frame_GPRSAVE + GPRSAVE_SIZE
 .endm
 
 ########################################################################
-# void sha512_transform_avx(const void* M, void* D, u64 L)
+# void sha512_transform_avx(void* D, const void* M, u64 L)
 # Purpose: Updates the SHA512 digest stored at D with the message stored in M.
 # The size of the message pointed to by M must be an integer multiple of SHA512
 # message blocks.