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

Function fr_mulx_u32

Source
pub fn fr_mulx_u32(out1: &mut u32, out2: &mut u32, arg1: u32, arg2: u32)
Expand description

The function fr_mulx_u32 is a multiplication, returning the full double-width result.

Postconditions: out1 = (arg1 * arg2) mod 2^32 out2 = ⌊arg1 * arg2 / 2^32⌋

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