pub struct Config;
Trait Implementations§
Source§impl BnConfig for Config
impl BnConfig for Config
Source§const X_IS_NEGATIVE: bool = false
const X_IS_NEGATIVE: bool = false
x
is positive.
Source§const X: &'static [u64] = _
const X: &'static [u64] = _
The absolute value of the BN curve parameter
X
(as in q = 36 X^4 + 36 X^3 + 24 X^2 + 6 X + 1
).Source§const ATE_LOOP_COUNT: &'static [i8] = _
const ATE_LOOP_COUNT: &'static [i8] = _
The absolute value of
6X + 2
.const TWIST_MUL_BY_Q_X: Fq2 = _
const TWIST_MUL_BY_Q_Y: Fq2 = _
const TWIST_TYPE: TwistType = TwistType::D
type Fp = Fp<MontBackend<FqConfig, 4>, 4>
type Fp2Config = Fq2Config
type Fp6Config = Fq6Config
type Fp12Config = Fq12Config
type G1Config = Config
type G2Config = Config
fn multi_miller_loop( a: impl IntoIterator<Item = impl Into<G1Prepared<Self>>>, b: impl IntoIterator<Item = impl Into<G2Prepared<Self>>>, ) -> MillerLoopOutput<Bn<Self>>
fn final_exponentiation( f: MillerLoopOutput<Bn<Self>>, ) -> Option<PairingOutput<Bn<Self>>>
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more