Function fiat_crypto::p256_64::fiat_p256_selectznz

source ยท
pub fn fiat_p256_selectznz(
    out1: &mut [u64; 4],
    arg1: fiat_p256_u1,
    arg2: &[u64; 4],
    arg3: &[u64; 4]
)
Expand description

The function fiat_p256_selectznz is a multi-limb conditional select.

Postconditions: out1 = (if arg1 = 0 then arg2 else arg3)

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