mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-27 14:13:46 +01:00
* add ed25519 curve * changelog * curve info * fix * edit * update * add more explanation * Update curve25519/src/curves/mod.rs * Update curve25519/src/curves/mod.rs * fixed the comment * Update curve25519/src/curves/mod.rs Co-authored-by: onewayfunc <onewayfunc@gmail.com>
12 lines
242 B
Rust
12 lines
242 B
Rust
use ark_r1cs_std::fields::fp::FpVar;
|
|
|
|
use crate::Fq;
|
|
|
|
/// A variable that is the R1CS equivalent of `crate::Fq`.
|
|
pub type FqVar = FpVar<Fq>;
|
|
|
|
#[test]
|
|
fn test() {
|
|
ark_curve_constraint_tests::fields::field_test::<_, _, FqVar>().unwrap();
|
|
}
|