Files
ark-curves-cherry-picked/ed_on_mnt4_298/src/constraints/curves.rs
2022-03-07 13:12:03 -08:00

12 lines
353 B
Rust

use ark_r1cs_std::groups::curves::twisted_edwards::AffineVar;
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();
}