Function fiat_crypto::secp256k1_32::fiat_secp256k1_set_one[][src]

pub fn fiat_secp256k1_set_one(out1: &mut [u32; 8])
Expand description

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

Input Bounds: Output Bounds: out1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]