Function strict_to_montgomery

Source
pub fn strict_to_montgomery<T>(a: T, modulus: &T, r: &T) -> T
where for<'a> T: PartialOrd + Zero + One + OverflowingAdd + OverflowingSub + Shr<usize, Output = T> + RemAssign<&'a T>, for<'a> &'a T: Rem<&'a T, Output = T> + BitAnd<Output = T>,
Expand description

Convert to Montgomery form (Strict): a -> (a * R) mod N Uses reference-based operations to minimize copying of large integers