From: Pauli Date: Sun, 19 May 2019 21:58:26 +0000 (+1000) Subject: Revert "ppc assembly pack: always increment CTR IV as quadword" X-Git-Tag: openssl-3.0.0-alpha1~2061 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2752c8984c3c7ff6078d00944efd1ddb74b94ba4;p=oweals%2Fopenssl.git Revert "ppc assembly pack: always increment CTR IV as quadword" The 32 bit counter behaviour is necessary and was intentional. This reverts commit e9f148c9356b18995298f37bafbf1836a3fce078. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/8958) --- diff --git a/crypto/aes/asm/aesp8-ppc.pl b/crypto/aes/asm/aesp8-ppc.pl index 30ccecf7af..44056e31aa 100755 --- a/crypto/aes/asm/aesp8-ppc.pl +++ b/crypto/aes/asm/aesp8-ppc.pl @@ -1331,7 +1331,7 @@ Loop_ctr32_enc: addi $idx,$idx,16 bdnz Loop_ctr32_enc - vadduqm $ivec,$ivec,$one + vadduwm $ivec,$ivec,$one vmr $dat,$inptail lvx $inptail,0,$inp addi $inp,$inp,16