decaf377::fields::fr::u32::fiat

Function fr_set_one

Source
pub fn fr_set_one(out1: &mut FrMontgomeryDomainFieldElement)
Expand description

The function fr_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