Skip to content

Commit

Permalink
Bug 1566124 - Fix AES_GCM mode on ppc64le for messages of length more…
Browse files Browse the repository at this point in the history
… than 255-byte r=beurdouche

Differential Revision: https://phabricator.services.mozilla.com/D116274

--HG--
extra : moz-landing-system : lando
  • Loading branch information
mamonet committed Jun 4, 2021
1 parent 0abab0d commit 32ebd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/freebl/ppc-gcm.s
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 32ebd26

Please sign in to comment.