Struct ark_ec::models::mnt4::MNT4 [−][src]
Implementations
impl<P: MNT4Parameters> MNT4<P>
[src]
pub fn ate_miller_loop(
p: &G1Prepared<P>,
q: &G2Prepared<P>
) -> Fp4<P::Fp4Params>
[src]
p: &G1Prepared<P>,
q: &G2Prepared<P>
) -> Fp4<P::Fp4Params>
pub fn final_exponentiation(value: &Fp4<P::Fp4Params>) -> GT<P::Fp4Params>
[src]
Trait Implementations
impl<P: MNT4Parameters> Clone for MNT4<P>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<P: MNT4Parameters> Copy for MNT4<P>
[src]
impl<P: MNT4Parameters> Debug for MNT4<P>
[src]
impl<P: MNT4Parameters> Eq for MNT4<P>
[src]
impl<P: MNT4Parameters> Hash for MNT4<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: MNT4Parameters> PairingEngine for MNT4<P>
[src]
type Fr = <P::G1Parameters as ModelParameters>::ScalarField
This is the scalar field of the G1/G2 groups.
type G1Projective = G1Projective<P>
The projective representation of an element in G1.
type G1Affine = G1Affine<P>
The affine representation of an element in G1.
type G1Prepared = G1Prepared<P>
A G1 element that has been preprocessed for use in a pairing.
type G2Projective = G2Projective<P>
The projective representation of an element in G2.
type G2Affine = G2Affine<P>
The affine representation of an element in G2.
type G2Prepared = G2Prepared<P>
A G2 element that has been preprocessed for use in a pairing.
type Fq = P::Fp
The base field that hosts G1.
type Fqe = Fp2<P::Fp2Params>
The extension field that hosts G2.
type Fqk = Fp4<P::Fp4Params>
The extension field that hosts the target group of the pairing.
fn miller_loop<'a, I>(i: I) -> Self::Fqk where
I: IntoIterator<Item = &'a (Self::G1Prepared, Self::G2Prepared)>,
[src]
I: IntoIterator<Item = &'a (Self::G1Prepared, Self::G2Prepared)>,
fn final_exponentiation(r: &Self::Fqk) -> Option<Self::Fqk>
[src]
#[must_use]fn product_of_pairings<'a, I>(i: I) -> Self::Fqk where
I: IntoIterator<Item = &'a (Self::G1Prepared, Self::G2Prepared)>,
[src]
I: IntoIterator<Item = &'a (Self::G1Prepared, Self::G2Prepared)>,
#[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: MNT4Parameters> PartialEq<MNT4<P>> for MNT4<P>
[src]
Auto Trait Implementations
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> 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>,