pub fn strict_compute_montgomery_params_with_method<T>(
modulus: &T,
method: NPrimeMethod,
) -> Option<(T, T, T, usize)>where
for<'a> T: Zero + One + PartialEq + PartialOrd + Shl<usize, Output = T> + OverflowingAdd + OverflowingSub + for<'a> Rem<&'a T, Output = T> + RemAssign<&'a T> + Mul<&'a T, Output = T> + Div<&'a T, Output = T> + Sub<&'a T, Output = T> + Add<&'a T, Output = T> + AddAssign<&'a T>,
for<'a> &'a T: Rem<&'a T, Output = T> + Mul<&'a T, Output = T> + Sub<&'a T, Output = T> + Div<&'a T, Output = T> + Sub<T, Output = T> + Add<&'a T, Output = T> + BitAnd<Output = T>,Expand description
Montgomery parameter computation with method selection (Strict) Computes R, R^(-1) mod N, N’, and R bit length for Montgomery arithmetic using specified method Uses reference-based operations to minimize copying of large integers Returns None if parameter computation fails