fiat_p384_scalar_addcarryx_u64

Function fiat_p384_scalar_addcarryx_u64 

Source
pub const fn fiat_p384_scalar_addcarryx_u64(
    arg1: u8,
    arg2: u64,
    arg3: u64,
) -> (u64, u8)
Expand description

The function fiat_p384_scalar_addcarryx_u64 is an addition with carry.

Postconditions: out1 = (arg1 + arg2 + arg3) mod 2^64 out2 = ⌊(arg1 + arg2 + arg3) / 2^64⌋

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