fiat_p521_scalar_from_montgomery

Function fiat_p521_scalar_from_montgomery 

Source
pub const fn fiat_p521_scalar_from_montgomery(arg1: &[u64; 9]) -> [u64; 9]
Expand description

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

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