summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormamonet <maamoun.tk@gmail.com>2021-06-04 09:36:15 +0000
committermamonet <maamoun.tk@gmail.com>2021-06-04 09:36:15 +0000
commit4a50520a43d1290244a952c02fd86ee3feb744a6 (patch)
tree9c23ed743c04684c8ec1d0460485e901d4b0125f
parente4122108c8cde74c0f733ba037080a12fd2e0445 (diff)
downloadnss-hg-4a50520a43d1290244a952c02fd86ee3feb744a6.tar.gz
Bug 1566124 - Fix AES_GCM mode on ppc64le for messages of length more than 255-byte r=beurdouche
Differential Revision: https://phabricator.services.mozilla.com/D116274
-rw-r--r--lib/freebl/ppc-gcm.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/freebl/ppc-gcm.s b/lib/freebl/ppc-gcm.s
index 4d5fff437..06ad5862c 100644
--- a/lib/freebl/ppc-gcm.s
+++ b/lib/freebl/ppc-gcm.s
@@ -692,7 +692,6 @@ addi TOCP,TOCP,(.TOC.-ppc_aes_gcmCRYPT)@l
mtctr 9
- li 10, 0
li 25, 0x10
li 26, 0x20
li 27, 0x30
@@ -703,6 +702,7 @@ addi TOCP,TOCP,(.TOC.-ppc_aes_gcmCRYPT)@l
.align 5
.L8x_loop:
+ li 10, 0
VEC_LOAD_INC K, KS, 10
vadduwm CTR1, CTR, I1