Function fiat_crypto::p521_64::fiat_p521_subborrowx_u57
source · pub fn fiat_p521_subborrowx_u57(
out1: &mut u64,
out2: &mut fiat_p521_u1,
arg1: fiat_p521_u1,
arg2: u64,
arg3: u64
)
Expand description
The function fiat_p521_subborrowx_u57 is a subtraction with borrow.
Postconditions: out1 = (-arg1 + arg2 + -arg3) mod 2^57 out2 = -⌊(-arg1 + arg2 + -arg3) / 2^57⌋
Input Bounds: arg1: [0x0 ~> 0x1] arg2: [0x0 ~> 0x1ffffffffffffff] arg3: [0x0 ~> 0x1ffffffffffffff] Output Bounds: out1: [0x0 ~> 0x1ffffffffffffff] out2: [0x0 ~> 0x1]