Skip to content

Commit 427bc3c

Browse files
committed
Merge #1236: Update comment for secp256k1_modinv32_inv256
647f0a5 Update comment for secp256k1_modinv32_inv256 (roconnor-blockstream) Pull request description: ACKs for top commit: sipa: ACK 647f0a5 real-or-random: utACK 647f0a5 Tree-SHA512: 7c2ec02acf985bb6edfc619ce31bd63511ff634d847a25888927b48b5164353a912d470421b0b969a868fbc5b865cbea188e14357557f44be42d5702af7c5a6b
2 parents 5658209 + 647f0a5 commit 427bc3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modinv32_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ static int32_t secp256k1_modinv32_divsteps_30(int32_t zeta, uint32_t f0, uint32_
232232
return zeta;
233233
}
234234

235-
/* inv256[i] = -(2*i+1)^-1 (mod 256) */
235+
/* secp256k1_modinv32_inv256[i] = -(2*i+1)^-1 (mod 256) */
236236
static const uint8_t secp256k1_modinv32_inv256[128] = {
237237
0xFF, 0x55, 0x33, 0x49, 0xC7, 0x5D, 0x3B, 0x11, 0x0F, 0xE5, 0xC3, 0x59,
238238
0xD7, 0xED, 0xCB, 0x21, 0x1F, 0x75, 0x53, 0x69, 0xE7, 0x7D, 0x5B, 0x31,

0 commit comments

Comments
 (0)