pub struct Bls12;
Trait Implementations§
Source§impl Engine for Bls12
impl Engine for Bls12
Source§fn miller_loop<'a, I>(i: I) -> Self::Fqkwhere
I: IntoIterator<Item = &'a (&'a <Self::G1Affine as CurveAffine>::Prepared, &'a <Self::G2Affine as CurveAffine>::Prepared)>,
fn miller_loop<'a, I>(i: I) -> Self::Fqkwhere
I: IntoIterator<Item = &'a (&'a <Self::G1Affine as CurveAffine>::Prepared, &'a <Self::G2Affine as CurveAffine>::Prepared)>,
Perform a miller loop with some number of (G1, G2) pairs.
Source§fn final_exponentiation(r: &Fq12) -> Option<Fq12>
fn final_exponentiation(r: &Fq12) -> Option<Fq12>
Perform final exponentiation of the result of a miller loop.
Source§fn pairing_product<G1, G2>(p1: G1, q1: G2, p2: G1, q2: G2) -> Self::Fqk
fn pairing_product<G1, G2>(p1: G1, q1: G2, p2: G1, q2: G2) -> Self::Fqk
performs a pairing product operation with a single “final exponentiation”
Auto Trait Implementations§
impl Freeze for Bls12
impl RefUnwindSafe for Bls12
impl Send for Bls12
impl Sync for Bls12
impl Unpin for Bls12
impl UnwindSafe for Bls12
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)