Struct crypto_bigint::Odd

source ·
pub struct Odd<T>(/* private fields */);
Expand description

Wrapper type for odd integers.

These are frequently used in cryptography, e.g. as a modulus.

Implementations§

source§

impl<T> Odd<T>

source

pub fn new(n: T) -> CtOption<Self>
where T: Integer,

Create a new odd integer.

source

pub const fn as_ref(&self) -> &T

Provides access to the contents of Odd in a const context.

source

pub const fn as_nz_ref(&self) -> &NonZero<T>

All odd integers are definitionally non-zero, so we can also obtain a reference to NonZero.

source

pub fn get(self) -> T

Returns the inner value.

source§

impl<const LIMBS: usize> Odd<Uint<LIMBS>>

source

pub const fn from_be_hex(hex: &str) -> Self

Create a new Odd<Uint<LIMBS>> from the provided big endian hex string.

Panics if the hex is malformed or not zero-padded accordingly for the size, or if the value is even.

source

pub const fn from_le_hex(hex: &str) -> Self

Create a new Odd<Uint<LIMBS>> from the provided little endian hex string.

Panics if the hex is malformed or not zero-padded accordingly for the size, or if the value is even.

source§

impl Odd<BoxedUint>

source

pub fn random(rng: &mut impl CryptoRngCore, bit_length: u32) -> Self

Available on crate features alloc and rand_core only.

Generate a random Odd<Uint<T>>.

Trait Implementations§

source§

impl<T> AsRef<[Limb]> for Odd<T>
where T: AsRef<[Limb]>,

source§

fn as_ref(&self) -> &[Limb]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<T> AsRef<NonZero<T>> for Odd<T>

source§

fn as_ref(&self) -> &NonZero<T>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<T> AsRef<T> for Odd<T>

source§

fn as_ref(&self) -> &T

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<T: Clone> Clone for Odd<T>

source§

fn clone(&self) -> Odd<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T> ConditionallySelectable for Odd<T>

source§

fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self

Select a or b according to choice. Read more
source§

fn conditional_assign(&mut self, other: &Self, choice: Choice)

Conditionally assign other to self, according to choice. Read more
source§

fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)

Conditionally swap self and other if choice == 1; otherwise, reassign both unto themselves. Read more
source§

impl<T: Debug> Debug for Odd<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: Default> Default for Odd<T>

source§

fn default() -> Odd<T>

Returns the “default value” for a type. Read more
source§

impl<T> Deref for Odd<T>

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.
source§

impl<const LIMBS: usize> From<&Odd<Uint<LIMBS>>> for BoxedUint

Available on crate feature alloc only.
source§

fn from(uint: &Odd<Uint<LIMBS>>) -> BoxedUint

Converts to this type from the input type.
source§

impl<const LIMBS: usize> From<&Odd<Uint<LIMBS>>> for Odd<BoxedUint>

Available on crate feature alloc only.
source§

fn from(uint: &Odd<Uint<LIMBS>>) -> Odd<BoxedUint>

Converts to this type from the input type.
source§

impl<const LIMBS: usize> From<Odd<Uint<LIMBS>>> for BoxedUint

Available on crate feature alloc only.
source§

fn from(uint: Odd<Uint<LIMBS>>) -> BoxedUint

Converts to this type from the input type.
source§

impl<const LIMBS: usize> From<Odd<Uint<LIMBS>>> for Odd<BoxedUint>

Available on crate feature alloc only.
source§

fn from(uint: Odd<Uint<LIMBS>>) -> Odd<BoxedUint>

Converts to this type from the input type.
source§

impl Gcd<BoxedUint> for Odd<BoxedUint>

Available on crate feature alloc only.
§

type Output = BoxedUint

Output type.
source§

fn gcd(&self, rhs: &BoxedUint) -> BoxedUint

Compute greatest common divisor of self and rhs. Read more
source§

impl<const SAT_LIMBS: usize, const UNSAT_LIMBS: usize> Gcd<Uint<SAT_LIMBS>> for Odd<Uint<SAT_LIMBS>>
where Odd<Self>: PrecomputeInverter<Inverter = BernsteinYangInverter<SAT_LIMBS, UNSAT_LIMBS>>,

§

type Output = Uint<SAT_LIMBS>

Output type.
source§

fn gcd(&self, rhs: &Uint<SAT_LIMBS>) -> Uint<SAT_LIMBS>

Compute greatest common divisor of self and rhs. Read more
source§

impl<T: Hash> Hash for Odd<T>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<T: Ord> Ord for Odd<T>

source§

fn cmp(&self, other: &Odd<T>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<Odd<BoxedUint>> for BoxedUint

Available on crate feature alloc only.
source§

fn eq(&self, other: &Odd<BoxedUint>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<const LIMBS: usize> PartialEq<Odd<Uint<LIMBS>>> for Uint<LIMBS>

source§

fn eq(&self, other: &Odd<Uint<LIMBS>>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<T: PartialEq> PartialEq for Odd<T>

source§

fn eq(&self, other: &Odd<T>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Odd<BoxedUint>> for BoxedUint

Available on crate feature alloc only.
source§

fn partial_cmp(&self, other: &Odd<BoxedUint>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl<const LIMBS: usize> PartialOrd<Odd<Uint<LIMBS>>> for Uint<LIMBS>

source§

fn partial_cmp(&self, other: &Odd<Uint<LIMBS>>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl<T: PartialOrd> PartialOrd for Odd<T>

source§

fn partial_cmp(&self, other: &Odd<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PrecomputeInverter for Odd<BoxedUint>

Available on crate feature alloc only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BoxedBernsteinYangInverter

Inverter type for integers of this size.
§

type Output = BoxedUint

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> BoxedBernsteinYangInverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7232>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U32768>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1216>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7680>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6400>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3712>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4352>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4544>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2304>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6528>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U128>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U16384>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5824>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U512>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5568>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4608>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6656>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3904>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2816>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4672>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1920>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6848>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U256>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7296>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U704>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5504>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4160>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2432>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2048>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2240>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3072>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4288>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7872>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3200>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6272>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7104>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1088>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2752>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1856>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2880>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U960>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U8192>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2496>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2176>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5632>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2944>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3520>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7040>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3648>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6464>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1024>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5760>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3776>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U640>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5440>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U8128>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3328>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6784>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6720>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6592>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5888>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1664>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5248>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7424>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6976>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4224>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5696>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4096>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5952>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6208>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U576>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5376>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2624>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6912>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3008>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3840>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1600>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7616>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4032>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5184>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1984>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4480>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4416>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2112>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1536>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4992>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7552>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1728>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4736>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1408>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1152>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1792>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5120>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U384>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7808>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U8064>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U8000>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7168>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2560>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7744>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U448>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2688>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1472>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5056>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3264>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U5312>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1280>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3456>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U64>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7488>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3968>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U896>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6080>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U1344>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7360>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4800>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U192>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U7936>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6336>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3136>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3392>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U832>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U3584>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U2368>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4928>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U320>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U768>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6144>

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U4864>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl PrecomputeInverter for Odd<U6016>

Available on crate feature extra-sizes only.

Precompute a Bernstein-Yang inverter using self as the modulus.

§

type Inverter = BernsteinYangInverter<{ nlimbs!($bits) }, { bernstein_yang_nlimbs!($bits as usize) }>

Inverter type for integers of this size.
§

type Output = Uint<{ nlimbs!($bits) }>

Output produced by the inverter.
source§

fn precompute_inverter(&self) -> Self::Inverter

Obtain a precomputed inverter for &self as the modulus, using Self::one() as an adjusting parameter. Read more
source§

impl<const LIMBS: usize> Random for Odd<Uint<LIMBS>>

Available on crate feature rand_core only.
source§

fn random(rng: &mut impl CryptoRngCore) -> Self

Generate a random Odd<Uint<T>>.

source§

impl<T: Copy> Copy for Odd<T>

source§

impl<T: Eq> Eq for Odd<T>

source§

impl<T> StructuralEq for Odd<T>

source§

impl<T> StructuralPartialEq for Odd<T>

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Odd<T>
where T: RefUnwindSafe,

§

impl<T> Send for Odd<T>
where T: Send,

§

impl<T> Sync for Odd<T>
where T: Sync,

§

impl<T> Unpin for Odd<T>
where T: Unpin,

§

impl<T> UnwindSafe for Odd<T>
where T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ConstantTimeSelect for T

source§

fn ct_select(a: &T, b: &T, choice: Choice) -> T

Select a or b according to choice. Read more
source§

fn ct_assign(&mut self, other: &T, choice: Choice)

Conditionally assign other to self, according to choice.
source§

fn ct_swap(a: &mut T, b: &mut T, choice: Choice)

Conditionally swap self and other if choice == 1; otherwise, reassign both unto themselves.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.