pub type FixedMontyParams<const LIMBS: usize> = MontyParams<Uint<LIMBS>>;Expand description
Parameters to efficiently go to/from the Montgomery form for an odd modulus provided at runtime.
Aliased Type§
pub struct FixedMontyParams<const LIMBS: usize> { /* private fields */ }Implementations§
Source§impl<const LIMBS: usize> FixedMontyParams<LIMBS>
impl<const LIMBS: usize> FixedMontyParams<LIMBS>
Source§impl<const LIMBS: usize> FixedMontyParams<LIMBS>
impl<const LIMBS: usize> FixedMontyParams<LIMBS>
Sourcepub const fn new_vartime(modulus: Odd<Uint<LIMBS>>) -> Self
pub const fn new_vartime(modulus: Odd<Uint<LIMBS>>) -> Self
Instantiates a new set of MontyParams representing the given odd modulus.