ark-bn254 0.5.0

The BN254 pairing-friendly elliptic curve
Documentation
1
2
3
4
5
6
7
8
9
10
11
use ark_r1cs_std::groups::curves::short_weierstrass::ProjectiveVar;

use crate::{constraints::FBaseVar, g1::Config};

/// A group element in the Bn254 prime-order group.
pub type GVar = ProjectiveVar<Config, FBaseVar>;

#[test]
fn test() {
    ark_curve_constraint_tests::curves::sw_test::<Config, GVar>().unwrap();
}