Function fiat_crypto::secp256k1_montgomery_scalar_64::fiat_secp256k1_montgomery_scalar_set_one
source · pub fn fiat_secp256k1_montgomery_scalar_set_one(
out1: &mut fiat_secp256k1_montgomery_scalar_montgomery_domain_field_element
)
Expand description
The function fiat_secp256k1_montgomery_scalar_set_one returns the field element one in the Montgomery domain.
Postconditions: eval (from_montgomery out1) mod m = 1 mod m 0 ≤ eval out1 < m