mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-27 14:13:46 +01:00
* add the g2 check * fmt * fix * fix * fix * fix * changelog * test macos for curve tests * use macos only for mnt6-753 * fix * fix name consistency * adjust the order * mnt4 753 * fix Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu> Co-authored-by: onewayfunc <onewayfunc@gmail.com>
14 lines
445 B
Rust
14 lines
445 B
Rust
use crate::Parameters;
|
|
|
|
/// Specifies the constraints for computing a pairing in the MNT4-753 bilinear
|
|
/// group.
|
|
pub type PairingVar = ark_r1cs_std::pairing::mnt4::PairingVar<Parameters>;
|
|
|
|
#[test]
|
|
fn test() {
|
|
use crate::MNT4_753;
|
|
ark_curve_constraint_tests::pairing::bilinearity_test::<MNT4_753, PairingVar>().unwrap();
|
|
ark_curve_constraint_tests::pairing::g2_prepare_consistency_test::<MNT4_753, PairingVar>()
|
|
.unwrap();
|
|
}
|