Skip to content

Commit cfcfee9

Browse files
committed
Fix duplicate local symbols
1 parent ef7a2d1 commit cfcfee9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

third_party/s2n-bignum/arm/curve25519/bignum_mod_n25519.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ S2N_BN_SYMBOL(bignum_mod_n25519):
110110

111111
cbz k, writeback
112112

113-
loop:
113+
bignum_mod_n25519_loop:
114114

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

157-
cbnz k, loop
157+
cbnz k, bignum_mod_n25519_loop
158158

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

third_party/s2n-bignum/arm/p521/bignum_inv_p521.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ S2N_BN_SYMBOL(bignum_inv_p521):
789789

790790
mov i, #21
791791
mov d, #1
792-
b midloop
792+
b bignum_inv_p521_midloop
793793

794794
bignum_inv_p521_loop:
795795

@@ -1424,7 +1424,7 @@ bignum_inv_p521_loop:
14241424
adc x2, x2, x6
14251425
str x2, [v+64]
14261426

1427-
midloop:
1427+
bignum_inv_p521_midloop:
14281428

14291429
mov x1, d
14301430
ldr x2, [f]

0 commit comments

Comments
 (0)