From: Maamoun TK Date: Thu, 13 Oct 2022 09:44:41 +0000 (+0200) Subject: Fix bug in poly1305-internal.asm affecting big-endian mode X-Git-Tag: nettle_3.9_release_20230514~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab7cebe08aafffa6ccf2c2a437a175834a293715;p=thirdparty%2Fnettle.git Fix bug in poly1305-internal.asm affecting big-endian mode --- diff --git a/powerpc64/p9/poly1305-internal.asm b/powerpc64/p9/poly1305-internal.asm index a082fed2..18804ca8 100644 --- a/powerpc64/p9/poly1305-internal.asm +++ b/powerpc64/p9/poly1305-internal.asm @@ -124,7 +124,7 @@ IF_LE(` IF_BE(` ldbrx T0, 0, M addi M, M, 8 - ldbrx T0, 0, M + ldbrx T1, 0, M ') addc T0, T0, H0