Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[cascardo/linux.git] / arch / x86 / crypto / sha512-ssse3-asm.S
index fb56855..e610e29 100644 (file)
@@ -53,9 +53,9 @@
 
 # Virtual Registers
 # ARG1
-msg =          %rdi
+digest =       %rdi
 # ARG2
-digest =       %rsi
+msg =          %rsi
 # ARG3
 msglen =       %rdx
 T1 =           %rcx
@@ -269,7 +269,7 @@ frame_size = frame_GPRSAVE + GPRSAVE_SIZE
 .endm
 
 ########################################################################
-# void sha512_transform_ssse3(const void* M, void* D, u64 L)#
+# void sha512_transform_ssse3(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.