Skip to content

Commit

Permalink
FIX: remove unintentional 0x prefix from constant
Browse files Browse the repository at this point in the history
  • Loading branch information
reneme committed Dec 23, 2024
1 parent f90543c commit b883e84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Secp256r1Rep final {

// Adds 4 * P-256 to prevent underflow
static constexpr auto P256_4 =
hex_to_words<uint32_t>("0x3fffffffc00000004000000000000000000000003fffffffffffffffffffffffc");
hex_to_words<uint32_t>("3fffffffc00000004000000000000000000000003fffffffffffffffffffffffc");

constexpr static std::array<W, N> redc(const std::array<W, 2 * N>& z) {
const int64_t X00 = get_uint32(z.data(), 0);
Expand Down

0 comments on commit b883e84

Please sign in to comment.