pub struct BW6<P: BW6Parameters>(_);
Implementations
sourceimpl<P: BW6Parameters> BW6<P>
impl<P: BW6Parameters> BW6<P>
Trait Implementations
sourceimpl<P: BW6Parameters> Clone for BW6<P>
impl<P: BW6Parameters> Clone for BW6<P>
sourceimpl<P: BW6Parameters> Debug for BW6<P>
impl<P: BW6Parameters> Debug for BW6<P>
sourceimpl<'de, P: BW6Parameters> Deserialize<'de> for BW6<P>
impl<'de, P: BW6Parameters> Deserialize<'de> for BW6<P>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<P: BW6Parameters> Hash for BW6<P>
impl<P: BW6Parameters> Hash for BW6<P>
sourceimpl<P: BW6Parameters> PairingEngine for BW6<P> where
G1Affine<P>: PairingCurve<BaseField = <P::G1Parameters as ModelParameters>::BaseField, ScalarField = <P::G1Parameters as ModelParameters>::ScalarField, Projective = G1Projective<P>, PairWith = G2Affine<P>, Prepared = G1Prepared<P>, PairingResult = Fp6<P::Fp6Params>>,
G2Affine<P>: PairingCurve<BaseField = <P::G2Parameters as ModelParameters>::BaseField, ScalarField = <P::G1Parameters as ModelParameters>::ScalarField, Projective = G2Projective<P>, PairWith = G1Affine<P>, Prepared = G2Prepared<P>, PairingResult = Fp6<P::Fp6Params>>,
impl<P: BW6Parameters> PairingEngine for BW6<P> where
G1Affine<P>: PairingCurve<BaseField = <P::G1Parameters as ModelParameters>::BaseField, ScalarField = <P::G1Parameters as ModelParameters>::ScalarField, Projective = G1Projective<P>, PairWith = G2Affine<P>, Prepared = G1Prepared<P>, PairingResult = Fp6<P::Fp6Params>>,
G2Affine<P>: PairingCurve<BaseField = <P::G2Parameters as ModelParameters>::BaseField, ScalarField = <P::G1Parameters as ModelParameters>::ScalarField, Projective = G2Projective<P>, PairWith = G1Affine<P>, Prepared = G2Prepared<P>, PairingResult = Fp6<P::Fp6Params>>,
type Fr = <P::G1Parameters as ModelParameters>::ScalarField
type Fr = <P::G1Parameters as ModelParameters>::ScalarField
This is the scalar field of the G1/G2 groups.
type G1Projective = G1Projective<P>
type G1Projective = G1Projective<P>
The projective representation of an element in G1.
type G2Projective = G2Projective<P>
type G2Projective = G2Projective<P>
The projective representation of an element in G2.
sourcefn miller_loop<'a, I>(i: I) -> Self::Fqk where
I: Iterator<Item = (&'a <Self::G1Affine as PairingCurve>::Prepared, &'a <Self::G2Affine as PairingCurve>::Prepared)>,
fn miller_loop<'a, I>(i: I) -> Self::Fqk where
I: Iterator<Item = (&'a <Self::G1Affine as PairingCurve>::Prepared, &'a <Self::G2Affine as PairingCurve>::Prepared)>,
Perform a miller loop with some number of (G1, G2) pairs.
sourcefn final_exponentiation(f: &Self::Fqk) -> Option<Self::Fqk>
fn final_exponentiation(f: &Self::Fqk) -> Option<Self::Fqk>
Perform final exponentiation of the result of a miller loop.
sourcefn product_of_pairings<'a, I>(i: I) -> Self::Fqk where
I: Iterator<Item = (&'a <Self::G1Affine as PairingCurve>::Prepared, &'a <Self::G2Affine as PairingCurve>::Prepared)>,
fn product_of_pairings<'a, I>(i: I) -> Self::Fqk where
I: Iterator<Item = (&'a <Self::G1Affine as PairingCurve>::Prepared, &'a <Self::G2Affine as PairingCurve>::Prepared)>,
Computes a product of pairings.
sourceimpl<P: BW6Parameters> PartialEq<BW6<P>> for BW6<P>
impl<P: BW6Parameters> PartialEq<BW6<P>> for BW6<P>
sourceimpl<P: BW6Parameters> Serialize for BW6<P>
impl<P: BW6Parameters> Serialize for BW6<P>
impl<P: BW6Parameters> Copy for BW6<P>
impl<P: BW6Parameters> Eq for BW6<P>
Auto Trait Implementations
impl<P> RefUnwindSafe for BW6<P>
impl<P> Send for BW6<P>
impl<P> Sync for BW6<P>
impl<P> Unpin for BW6<P>
impl<P> UnwindSafe for BW6<P>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more