openvm-pairing 2.1.0

OpenVM library for elliptic curve pairing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![no_std]

#[cfg(any(feature = "bn254", feature = "bls12_381"))]
mod operations;

#[allow(unused_imports)]
#[cfg(any(feature = "bn254", feature = "bls12_381"))]
pub(crate) use operations::*;

/// Types for BLS12-381 curve with intrinsic functions.
#[cfg(feature = "bls12_381")]
pub mod bls12_381;
/// Types for BN254 curve with intrinsic functions.
#[cfg(feature = "bn254")]
pub mod bn254;

pub use openvm_pairing_guest::pairing::PairingCheck;