mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-27 22:23:48 +01:00
Add constraints for relevant curves (#3)
This commit is contained in:
10
mnt6_298/src/constraints/pairing.rs
Normal file
10
mnt6_298/src/constraints/pairing.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use crate::Parameters;
|
||||
|
||||
/// Specifies the constraints for computing a pairing in the MNT6-298 bilinear group.
|
||||
pub type PairingVar = ark_r1cs_std::pairing::mnt6::PairingVar<Parameters>;
|
||||
|
||||
#[test]
|
||||
fn test() {
|
||||
use crate::MNT6_298;
|
||||
ark_curve_constraint_tests::pairing::bilinearity_test::<MNT6_298, PairingVar>().unwrap()
|
||||
}
|
||||
Reference in New Issue
Block a user