Fix the location of BitIteratorBE (#132) * fix * fix Co-authored-by: onewayfunc <onewayfunc@gmail.com>
Weikeng Chen w.k@berkeley.edu
Sat, 29 Oct 2022 11:29:45 -0700
2 files changed,
2 insertions(+),
4 deletions(-)
M
Cargo.toml
→
Cargo.toml
@@ -64,6 +64,5 @@ ark-ff = { git = "https://github.com/arkworks-rs/algebra" }
ark-serialize = { git = "https://github.com/arkworks-rs/algebra" } ark-algebra-bench-templates = { git = "https://github.com/arkworks-rs/algebra" } ark-algebra-test-templates = { git = "https://github.com/arkworks-rs/algebra" } - ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std" } ark-std = { git = "https://github.com/arkworks-rs/std" }
M
cp6_782/src/curves/mod.rs
→
cp6_782/src/curves/mod.rs
@@ -3,9 +3,7 @@ models::short_weierstrass::SWCurveConfig,
pairing::{MillerLoopOutput, Pairing, PairingOutput}, }; use ark_ff::{ - biginteger::BigInteger832, - fields::{BitIteratorBE, Field}, - BigInt, CyclotomicMultSubgroup, One, + biginteger::BigInteger832, BigInt, BitIteratorBE, CyclotomicMultSubgroup, Field, One, }; use itertools::Itertools;@@ -27,6 +25,7 @@ pub struct CP6_782;
impl Pairing for CP6_782 { type ScalarField = Fr; + type BaseField = Fq; type G1 = G1Projective; type G1Affine = G1Affine; type G1Prepared = G1Prepared;