Function fiat_crypto::p434_64::fiat_p434_to_montgomery
source · pub fn fiat_p434_to_montgomery(
out1: &mut fiat_p434_montgomery_domain_field_element,
arg1: &fiat_p434_non_montgomery_domain_field_element
)
Expand description
The function fiat_p434_to_montgomery translates a field element into the Montgomery domain.
Preconditions: 0 ≤ eval arg1 < m Postconditions: eval (from_montgomery out1) mod m = eval arg1 mod m 0 ≤ eval out1 < m