mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-09 23:41:30 +01:00
12 lines
353 B
Rust
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();
|
|
}
|