mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-27 14:13:46 +01:00
More NIST curves (#142)
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
This commit is contained in:
10
secp384r1/src/constraints/curves.rs
Normal file
10
secp384r1/src/constraints/curves.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use crate::{constraints::FqVar, *};
|
||||
use ark_r1cs_std::groups::curves::short_weierstrass::ProjectiveVar;
|
||||
|
||||
/// A group element in the secp384r1 curve.
|
||||
pub type GVar = ProjectiveVar<Config, FqVar>;
|
||||
|
||||
#[test]
|
||||
fn test() {
|
||||
ark_curve_constraint_tests::curves::sw_test::<Config, GVar>().unwrap();
|
||||
}
|
||||
Reference in New Issue
Block a user