From: Niels Möller Date: Wed, 26 Mar 2025 16:45:23 +0000 (+0100) Subject: ppc64: Update offset in gcm-aes assembly. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89bbf8c061303b509016a21020c8455aab08d4ca;p=thirdparty%2Fnettle.git ppc64: Update offset in gcm-aes assembly. --- diff --git a/powerpc64/p8/gcm-aes-decrypt.asm b/powerpc64/p8/gcm-aes-decrypt.asm index 10ac072e..87236988 100644 --- a/powerpc64/p8/gcm-aes-decrypt.asm +++ b/powerpc64/p8/gcm-aes-decrypt.asm @@ -143,7 +143,7 @@ IF_BE(`vspltisb LE_TEMP,0x03') lxvd2x VSR(H4M),r10,HT lxvd2x VSR(H4L),r11,HT - addi HT, HT, 4048 C Advance to point to the 'CTR' field in the context + addi HT, HT, 2000 C Advance to point to the 'CTR' field in the context lxvd2x VSR(D),r9,HT C load 'X' pointer C byte-reverse of each doubleword permuting on little-endian mode diff --git a/powerpc64/p8/gcm-aes-encrypt.asm b/powerpc64/p8/gcm-aes-encrypt.asm index e326fbed..925a1401 100644 --- a/powerpc64/p8/gcm-aes-encrypt.asm +++ b/powerpc64/p8/gcm-aes-encrypt.asm @@ -143,7 +143,7 @@ IF_BE(`vspltisb LE_TEMP,0x03') lxvd2x VSR(H4M),r10,HT lxvd2x VSR(H4L),r11,HT - addi HT, HT, 4048 C Advance to point to the 'CTR' field in the context + addi HT, HT, 2000 C Advance to point to the 'CTR' field in the context lxvd2x VSR(D),r9,HT C load 'X' pointer C byte-reverse of each doubleword permuting on little-endian mode