From: Niels Möller Date: Tue, 11 Jun 2024 17:55:59 +0000 (+0200) Subject: Minor comment fix. X-Git-Tag: nettle_3.10rc1~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=151a09abfee7b1bc1956d895a5f5f1e762f9e785;p=thirdparty%2Fnettle.git Minor comment fix. --- diff --git a/powerpc64/p8/sha256-compress-n.asm b/powerpc64/p8/sha256-compress-n.asm index c1ce0e8f..4848461e 100644 --- a/powerpc64/p8/sha256-compress-n.asm +++ b/powerpc64/p8/sha256-compress-n.asm @@ -88,7 +88,7 @@ C Registers v16-v31 are used for input words W[0] through W[15] C Convert an index for W[i] to the corresponding vector register v[16 + i] define(`IV', `m4_unquote(v`'eval((($1) % 16) + 16))') -C ROUND(A B C D E F G H R EXT) +C ROUND(A B C D E F G H R) define(`ROUND', ` vadduwm VT1, VK, IV($9) C VT1: k+W @@ -254,6 +254,8 @@ PROLOGUE(_nettle_sha256_compress_n) lxvw4x VSR(VSA), 0, STATE C VSA contains A,B,C,D lxvw4x VSR(VSE), TC16, STATE C VSE contains E,F,G,H + C "permute" state from VSA containing A,B,C,D into VSA,VSB,VSC,VSD + vsldoi VSB, VSA, VSA, 4 vsldoi VSF, VSE, VSE, 4 @@ -279,8 +281,6 @@ PROLOGUE(_nettle_sha256_compress_n) DOLOADS - C "permute" state from VSA containing A,B,C,D into VSA,VSB,VSC,VSD - EXTENDROUNDS EXTENDROUNDS EXTENDROUNDS