Function bytes_eq

Source
pub(crate) fn bytes_eq(a: &[u8], b: &[u8]) -> bool
Expand description

Return true if two slices are equal. Performs its operation in constant time, but returns a bool instead of a subtle::Choice.