Skip to content

Commit

Permalink
chore: Ignore doc comments for sage code.
Browse files Browse the repository at this point in the history
  • Loading branch information
CPerezz committed Feb 1, 2023
1 parent 7501ab3 commit 89021ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/bn256/fq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ pub const NEGATIVE_ONE: Fq = Fq([
const MODULUS_STR: &str = "0x30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47";

/// Obtained with:
/// ```
/// sage: GF(0x30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47).primitive_element()
/// ```
/// `sage: GF(0x30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47).primitive_element()`
const MULTIPLICATIVE_GENERATOR: Fq = Fq::from_raw([0x03, 0x0, 0x0, 0x0]);

const TWO_INV: Fq = Fq::from_raw([
Expand Down
2 changes: 1 addition & 1 deletion src/secp256k1/fp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const DELTA: Fp = Fp([0x900002259u64, 0, 0, 0]);

/// Implementations of this trait MUST ensure that this is the generator used to derive Self::ROOT_OF_UNITY.
/// Derived from:
/// ```
/// ```ignore
/// Zp(Zp(mul_generator)^t) where t = (modulus - 1 )/ 2
/// 115792089237316195423570985008687907853269984665640564039457584007908834671662
/// ```
Expand Down

0 comments on commit 89021ff

Please sign in to comment.