Skip to content

Commit

Permalink
k256 v0.14.0-pre.1 (#1077)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri authored Sep 20, 2024
1 parent 53fcfc0 commit 7e3f56d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion k256/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "k256"
version = "0.14.0-pre.0"
version = "0.14.0-pre.1"
description = """
secp256k1 elliptic curve library written in pure Rust with support for ECDSA
signing/verification/public-key recovery, Taproot Schnorr signatures (BIP340),
Expand Down
1 change: 1 addition & 0 deletions k256/src/arithmetic/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ impl FieldElement {
CtOption::new(res, is_root)
}

/// Get the field modulus as a [`BigUint`].
#[cfg(test)]
pub fn modulus_as_biguint() -> BigUint {
Self::ONE.negate(1).to_biguint().unwrap() + 1.to_biguint().unwrap()
Expand Down

0 comments on commit 7e3f56d

Please sign in to comment.