Function fiat_crypto::p521_32::fiat_p521_subborrowx_u28

source ·
pub fn fiat_p521_subborrowx_u28(
    out1: &mut u32,
    out2: &mut fiat_p521_u1,
    arg1: fiat_p521_u1,
    arg2: u32,
    arg3: u32
)
Expand description

The function fiat_p521_subborrowx_u28 is a subtraction with borrow.

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

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