Browse Source

Fix the location of BitIteratorBE (#132)

* fix

* fix

Co-authored-by: onewayfunc <onewayfunc@gmail.com>
cherry-pick
Weikeng Chen 2 years ago
committed by GitHub
parent
commit
5d6d31d213
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions
  1. +0
    -1
      Cargo.toml
  2. +2
    -3
      cp6_782/src/curves/mod.rs

+ 0
- 1
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-serialize = { git = "https://github.com/arkworks-rs/algebra" }
ark-algebra-bench-templates = { 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-algebra-test-templates = { git = "https://github.com/arkworks-rs/algebra" }
ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std" } ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std" }
ark-std = { git = "https://github.com/arkworks-rs/std" } ark-std = { git = "https://github.com/arkworks-rs/std" }

+ 2
- 3
cp6_782/src/curves/mod.rs

@ -3,9 +3,7 @@ use ark_ec::{
pairing::{MillerLoopOutput, Pairing, PairingOutput}, pairing::{MillerLoopOutput, Pairing, PairingOutput},
}; };
use ark_ff::{ use ark_ff::{
biginteger::BigInteger832,
fields::{BitIteratorBE, Field},
BigInt, CyclotomicMultSubgroup, One,
biginteger::BigInteger832, BigInt, BitIteratorBE, CyclotomicMultSubgroup, Field, One,
}; };
use itertools::Itertools; use itertools::Itertools;
@ -27,6 +25,7 @@ pub struct CP6_782;
impl Pairing for CP6_782 { impl Pairing for CP6_782 {
type ScalarField = Fr; type ScalarField = Fr;
type BaseField = Fq;
type G1 = G1Projective; type G1 = G1Projective;
type G1Affine = G1Affine; type G1Affine = G1Affine;
type G1Prepared = G1Prepared; type G1Prepared = G1Prepared;

Loading…
Cancel
Save