Struct snarkvm_curves::templates::bw6::bw6::BW6 [−][src]
Implementations
impl<P: BW6Parameters> BW6<P>
[src]
Trait Implementations
impl<P: BW6Parameters> Clone for BW6<P>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<P: BW6Parameters> Copy for BW6<P>
[src]
impl<P: BW6Parameters> Debug for BW6<P>
[src]
impl<'de, P: BW6Parameters> Deserialize<'de> for BW6<P>
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<P: BW6Parameters> Eq for BW6<P>
[src]
impl<P: BW6Parameters> Hash for BW6<P>
[src]
fn hash<__HP>(&self, __state: &mut __HP) where
__HP: Hasher,
[src]
__HP: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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>>,
[src]
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 Fq = P::Fp
The base field that hosts G1.
type Fqe = P::Fp
The extension field that hosts G2.
type Fqk = Fp6<P::Fp6Params>
The extension field that hosts the target group of the pairing.
type Fr = <P::G1Parameters as ModelParameters>::ScalarField
This is the scalar field of the G1/G2 groups.
type G1Affine = G1Affine<P>
The affine representation of an element in G1.
type G1Projective = G1Projective<P>
The projective representation of an element in G1.
type G2Affine = G2Affine<P>
The affine representation of an element in G2.
type G2Projective = G2Projective<P>
The projective representation of an element in G2.
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)>,
[src]
I: Iterator<Item = (&'a <Self::G1Affine as PairingCurve>::Prepared, &'a <Self::G2Affine as PairingCurve>::Prepared)>,
fn final_exponentiation(f: &Self::Fqk) -> Option<Self::Fqk>
[src]
#[must_use]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)>,
[src]
I: Iterator<Item = (&'a <Self::G1Affine as PairingCurve>::Prepared, &'a <Self::G2Affine as PairingCurve>::Prepared)>,
#[must_use]fn pairing<G1, G2>(p: G1, q: G2) -> Self::Fqk where
G1: Into<Self::G1Affine>,
G2: Into<Self::G2Affine>,
[src]
G1: Into<Self::G1Affine>,
G2: Into<Self::G2Affine>,
impl<P: BW6Parameters> PartialEq<BW6<P>> for BW6<P>
[src]
impl<P: BW6Parameters> Serialize for BW6<P>
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,