arnaucube
arnaucube/ark-curves-cherry-pickedPublic Self-hosted repository
ark-curves-cherry-picked/ed25519/src/constraints/curves.rs
ed25519/src/constraints/curves.rsRaw
 1use ark_r1cs_std::groups::curves::twisted_edwards::AffineVar;
 2
 3use crate::{constraints::FqVar, *};
 4
 5/// A variable that is the R1CS equivalent of `crate::EdwardsAffine`.
 6pub type EdwardsVar = AffineVar<EdwardsConfig, FqVar>;
 7
 8#[test]
 9fn test() {
10    ark_curve_constraint_tests::curves::te_test::<EdwardsConfig, EdwardsVar>().unwrap();
11}