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

Function fr_cmovznz_u32

Source
pub fn fr_cmovznz_u32(out1: &mut u32, arg1: FrU1, arg2: u32, arg3: u32)
Expand description

The function fr_cmovznz_u32 is a single-word conditional move.

Postconditions: out1 = (if arg1 = 0 then arg2 else arg3)

Input Bounds: arg1: [0x0 ~> 0x1] arg2: [0x0 ~> 0xffffffff] arg3: [0x0 ~> 0xffffffff] Output Bounds: out1: [0x0 ~> 0xffffffff]