Skip to content

Commit

Permalink
constant-fold (1<<26)-1
Browse files Browse the repository at this point in the history
  • Loading branch information
aqjune-aws committed Mar 5, 2024
1 parent 4035dc6 commit 7ebcca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion third_party/s2n-bignum/arm/curve25519/curve25519_x25519.S
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ S2N_BN_SYMBOL(curve25519_x25519):
mov v31.d[0], x0
mov v31.d[1], xzr

mov x0, #(1<<26)-1
mov x0, #67108863
mov v30.d[0], x0
mov v30.d[1], x0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ S2N_BN_SYMBOL(curve25519_x25519_byte):
mov v31.d[0], x0
mov v31.d[1], xzr

mov x0, #(1<<26)-1
mov x0, #67108863
mov v30.d[0], x0
mov v30.d[1], x0

Expand Down

0 comments on commit 7ebcca7

Please sign in to comment.