Browse Source

Documentation provides incorrect calculation (#81)

update-to-latest-arkworks
Popog 3 years ago
committed by GitHub
parent
commit
f1e36c5bed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bn254/src/fields/fr.rs

+ 1
- 1
bn254/src/fields/fr.rs

@ -34,7 +34,7 @@ impl FpParameters for FrParameters {
const REPR_SHAVE_BITS: u32 = 2; const REPR_SHAVE_BITS: u32 = 2;
/// R = pow(2, 320) % MODULUS
/// R = pow(2, 256) % MODULUS
/// = 6350874878119819312338956282401532410528162663560392320966563075034087161851 /// = 6350874878119819312338956282401532410528162663560392320966563075034087161851
#[rustfmt::skip] #[rustfmt::skip]
const R: BigInteger = BigInteger([ const R: BigInteger = BigInteger([

Loading…
Cancel
Save