From 3c1a60e56f090f0478ab0405766003b680982745 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 10 Aug 2017 22:53:55 +0200 Subject: [PATCH] sha/asm/keccak1600-avx512.pl: fix buglet in SHA3_squeeze tail. Reviewed-by: Rich Salz --- crypto/sha/asm/keccak1600-avx512.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/sha/asm/keccak1600-avx512.pl b/crypto/sha/asm/keccak1600-avx512.pl index 2f32151471..6766f97551 100755 --- a/crypto/sha/asm/keccak1600-avx512.pl +++ b/crypto/sha/asm/keccak1600-avx512.pl @@ -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 -- 2.25.1