From: Andy Polyakov Date: Thu, 10 Aug 2017 20:53:55 +0000 (+0200) Subject: sha/asm/keccak1600-avx512.pl: fix buglet in SHA3_squeeze tail. X-Git-Tag: OpenSSL_1_1_1-pre1~857 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c1a60e56f090f0478ab0405766003b680982745;p=thirdparty%2Fopenssl.git sha/asm/keccak1600-avx512.pl: fix buglet in SHA3_squeeze tail. Reviewed-by: Rich Salz --- diff --git a/crypto/sha/asm/keccak1600-avx512.pl b/crypto/sha/asm/keccak1600-avx512.pl index 2f321514716..6766f975514 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