sha/asm/keccak1600-avx512.pl: fix buglet in SHA3_squeeze tail.
[openssl.git] / crypto / sha / asm / keccak1600-avx512.pl
index 2f3215147169b3d74ac2766333e853a82b315820..6766f975514796b2aa460cb741fd7b2ba6ff2aba 100755 (executable)
@@ -474,8 +474,8 @@ SHA3_squeeze:
        jmp     .Loop_squeeze_avx512
 
 .Ltail_squeeze_avx512:
-       mov     %r9,%rsi
        mov     $out,%rdi
+       mov     %r9,%rsi
        mov     $len,%rcx
        .byte   0xf3,0xa4               # rep movsb