Skip to content

Commit

Permalink
Fix duplicate local symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
dkostic committed Dec 13, 2024
1 parent ef7a2d1 commit cfcfee9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions third_party/s2n-bignum/arm/curve25519/bignum_mod_n25519.S
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ S2N_BN_SYMBOL(bignum_mod_n25519):

cbz k, writeback

loop:
bignum_mod_n25519_loop:

// Assume that the new 5-digit x is 2^64 * previous_x + next_digit.
// Get the quotient estimate q = max (floor(x/2^252)) (2^64 - 1)
Expand Down Expand Up @@ -154,7 +154,7 @@ loop:
adcs m2, t2, xzr
adc m3, t3, m3

cbnz k, loop
cbnz k, bignum_mod_n25519_loop

// Finally write back [m3;m2;m1;m0] and return

Expand Down
4 changes: 2 additions & 2 deletions third_party/s2n-bignum/arm/p521/bignum_inv_p521.S
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ S2N_BN_SYMBOL(bignum_inv_p521):

mov i, #21
mov d, #1
b midloop
b bignum_inv_p521_midloop

bignum_inv_p521_loop:

Expand Down Expand Up @@ -1424,7 +1424,7 @@ bignum_inv_p521_loop:
adc x2, x2, x6
str x2, [v+64]

midloop:
bignum_inv_p521_midloop:

mov x1, d
ldr x2, [f]
Expand Down

0 comments on commit cfcfee9

Please sign in to comment.