[−][src]Struct irmaseal_curve::MillerLoopResult
Represents results of a Miller loop, one of the most expensive portions
of the pairing function. MillerLoopResult
s cannot be compared with each
other until .final_exponentiation()
is called, which is also expensive.
Methods
impl MillerLoopResult
[src]
pub fn final_exponentiation(&self) -> Gt
[src]
This performs a "final exponentiation" routine to convert the result
of a Miller loop into an element of Gt
with help of efficient squaring
operation in the so-called cyclotomic subgroup
of Fq6
so that
it can be compared with other elements of Gt
.
Trait Implementations
impl<'a, 'b> Add<&'b MillerLoopResult> for &'a MillerLoopResult
[src]
type Output = MillerLoopResult
The resulting type after applying the +
operator.
fn add(self, rhs: &'b MillerLoopResult) -> MillerLoopResult
[src]
impl<'b> Add<&'b MillerLoopResult> for MillerLoopResult
[src]
type Output = MillerLoopResult
The resulting type after applying the +
operator.
fn add(self, rhs: &'b MillerLoopResult) -> MillerLoopResult
[src]
impl<'a> Add<MillerLoopResult> for &'a MillerLoopResult
[src]
type Output = MillerLoopResult
The resulting type after applying the +
operator.
fn add(self, rhs: MillerLoopResult) -> MillerLoopResult
[src]
impl Add<MillerLoopResult> for MillerLoopResult
[src]
type Output = MillerLoopResult
The resulting type after applying the +
operator.
fn add(self, rhs: MillerLoopResult) -> MillerLoopResult
[src]
impl Clone for MillerLoopResult
[src]
fn clone(&self) -> MillerLoopResult
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ConditionallySelectable for MillerLoopResult
[src]
fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
[src]
fn conditional_assign(&mut self, other: &Self, choice: Choice)
[src]
fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)
[src]
impl Copy for MillerLoopResult
[src]
impl Debug for MillerLoopResult
[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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,