Documentation provides incorrect calculation (#81)
Popog 761307+Popog@users.noreply.github.com
Mon, 15 Nov 2021 10:55:32 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bn254/src/fields/fr.rs
→
bn254/src/fields/fr.rs
@@ -34,7 +34,7 @@ const CAPACITY: u32 = Self::MODULUS_BITS - 1;
const REPR_SHAVE_BITS: u32 = 2; - /// R = pow(2, 320) % MODULUS + /// R = pow(2, 256) % MODULUS /// = 6350874878119819312338956282401532410528162663560392320966563075034087161851 #[rustfmt::skip] const R: BigInteger = BigInteger([