Let cargo build work again for the new arkworks-rs algebra (#97)

* pr

* reduce test time
This commit is contained in:
Weikeng Chen
2022-08-21 20:10:14 -07:00
committed by GitHub
parent 6d64f379a2
commit db6a3d6687
3 changed files with 27 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ use ark_ec::{
};
use ark_ff::{BigInteger, BitIteratorBE, Field, One, PrimeField, Zero};
use ark_relations::r1cs::{ConstraintSystemRef, Namespace, SynthesisError};
use core::{borrow::Borrow, marker::PhantomData};
use ark_std::{borrow::Borrow, marker::PhantomData, ops::Mul};
use non_zero_affine::NonZeroAffineVar;
use crate::{fields::fp::FpVar, prelude::*, ToConstraintFieldGadget, Vec};

View File

@@ -12,7 +12,7 @@ use ark_relations::r1cs::{ConstraintSystemRef, Namespace, SynthesisError};
use crate::{prelude::*, ToConstraintFieldGadget, Vec};
use crate::fields::fp::FpVar;
use core::{borrow::Borrow, marker::PhantomData};
use ark_std::{borrow::Borrow, marker::PhantomData, ops::Mul};
/// An implementation of arithmetic for Montgomery curves that relies on
/// incomplete addition formulae for the affine model, as outlined in the