arnaucube
arnaucube/ark-curves-cherry-pickedPublic Self-hosted repository
ark-curves-cherry-picked/secp256k1/src/constraints/curves.rs
secp256k1/src/constraints/curves.rsRaw
 1use crate::{constraints::FqVar, *};
 2use ark_r1cs_std::groups::curves::short_weierstrass::ProjectiveVar;
 3
 4/// A group element in the secp256k1 curve.
 5pub type GVar = ProjectiveVar<Parameters, FqVar>;
 6
 7#[test]
 8fn test() {
 9    ark_curve_constraint_tests::curves::sw_test::<Parameters, GVar>().unwrap();
10}