Function fiat_crypto::poly1305_64::fiat_poly1305_selectznz

source ยท
pub fn fiat_poly1305_selectznz(
    out1: &mut [u64; 3],
    arg1: fiat_poly1305_u1,
    arg2: &[u64; 3],
    arg3: &[u64; 3]
)
Expand description

The function fiat_poly1305_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]] arg3: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] Output Bounds: out1: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]]