Function fiat_crypto::secp256k1_montgomery_scalar_32::fiat_secp256k1_montgomery_scalar_addcarryx_u32
source · pub fn fiat_secp256k1_montgomery_scalar_addcarryx_u32(
out1: &mut u32,
out2: &mut fiat_secp256k1_montgomery_scalar_u1,
arg1: fiat_secp256k1_montgomery_scalar_u1,
arg2: u32,
arg3: u32
)
Expand description
The function fiat_secp256k1_montgomery_scalar_addcarryx_u32 is an addition with carry.
Postconditions: out1 = (arg1 + arg2 + arg3) mod 2^32 out2 = ⌊(arg1 + arg2 + arg3) / 2^32⌋
Input Bounds: arg1: [0x0 ~> 0x1] arg2: [0x0 ~> 0xffffffff] arg3: [0x0 ~> 0xffffffff] Output Bounds: out1: [0x0 ~> 0xffffffff] out2: [0x0 ~> 0x1]