Function consistenttime::ct_u8_slice_eq [] [src]

#[no_mangle]
pub extern "C" fn ct_u8_slice_eq(x: &[u8], y: &[u8]) -> 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.