Move domain
to curves
.
This commit is contained in:
parent
fd3774118a
commit
e9dee9de16
@ -1,4 +1,4 @@
|
|||||||
use curves::{Engine, Field, SnarkField, PrimeField, Group};
|
use super::{Engine, Field, SnarkField, PrimeField, Group};
|
||||||
use crossbeam;
|
use crossbeam;
|
||||||
use num_cpus;
|
use num_cpus;
|
||||||
|
|
@ -10,6 +10,7 @@ use super::{Cow, Convert};
|
|||||||
pub mod bls381;
|
pub mod bls381;
|
||||||
pub mod multiexp;
|
pub mod multiexp;
|
||||||
pub mod wnaf;
|
pub mod wnaf;
|
||||||
|
pub mod domain;
|
||||||
|
|
||||||
pub trait Engine: Sized + Clone + Send + Sync
|
pub trait Engine: Sized + Clone + Send + Sync
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
use curves::*;
|
use curves::*;
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
pub mod domain;
|
|
||||||
|
|
||||||
pub struct ProvingKey<E: Engine> {
|
pub struct ProvingKey<E: Engine> {
|
||||||
a_inputs: Vec<<E::G1 as Curve<E>>::Affine>,
|
a_inputs: Vec<<E::G1 as Curve<E>>::Affine>,
|
||||||
b1_inputs: Vec<<E::G1 as Curve<E>>::Affine>,
|
b1_inputs: Vec<<E::G1 as Curve<E>>::Affine>,
|
||||||
|
Loading…
Reference in New Issue
Block a user