Add constraints for relevant curves (#3)

This commit is contained in:
Pratyush Mishra
2020-10-19 12:45:23 -07:00
committed by GitHub
parent f6132a4c0e
commit 66a1fc9cf7
68 changed files with 2670 additions and 467 deletions

View File

@@ -0,0 +1,12 @@
use ark_r1cs_std::groups::curves::twisted_edwards::AffineVar;
use crate::*;
use crate::constraints::fields::FqVar;
/// A variable that is the R1CS equivalent of `crate::EdwardsAffine`.
pub type EdwardsVar = AffineVar<EdwardsParameters, FqVar>;
#[test]
fn test() {
ark_curve_constraint_tests::curves::te_test::<EdwardsParameters, EdwardsVar>().unwrap();
}