Function fiat_crypto::p384_32::fiat_p384_from_montgomery

source ·
pub fn fiat_p384_from_montgomery(
    out1: &mut fiat_p384_non_montgomery_domain_field_element,
    arg1: &fiat_p384_montgomery_domain_field_element
)
Expand description

The function fiat_p384_from_montgomery translates a field element out of the Montgomery domain.

Preconditions: 0 ≤ eval arg1 < m Postconditions: eval out1 mod m = (eval arg1 * ((2^32)⁻¹ mod m)^12) mod m 0 ≤ eval out1 < m