Function consistenttime::ct_copy_u8 [] [src]

pub extern fn ct_copy_u8(flag: bool, x: &mut [u8], y: &[u8])

Optional buffer copying

IF flag == True THEN X will be set to Y

If flag == False THEN X is unchanged

Panic:

This function will panic if X and Y are not equal length.