Function consistenttime::ct_u16_slice_eq [] [src]

#[no_mangle]
pub extern "C" fn ct_u16_slice_eq(x: &[u16], y: &[u16]) -> bool

Check the equality of slices.

This will transverse the entire slice reguardless of if a conflict is found early or not. This way an external hacker can not guess the contents of a buffer byte by byte and carefully measure the timing responses.