Skip to content

Commit

Permalink
Update comment for secp256k1_modinv32_inv256
Browse files Browse the repository at this point in the history
  • Loading branch information
roconnor-blockstream authored Mar 10, 2023
1 parent 5658209 commit 647f0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modinv32_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ static int32_t secp256k1_modinv32_divsteps_30(int32_t zeta, uint32_t f0, uint32_
return zeta;
}

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

0 comments on commit 647f0a5

Please sign in to comment.