Function openssl::crypto::memcmp::eq [−][src]
pub fn eq(a: &[u8], b: &[u8]) -> bool
Returns true
iff a
and b
contain the same bytes.
This operation takes an amount of time dependent on the length of the two arrays given, but is independent of the contents of a and b.
Failure
This function will panic the current task if a
and b
do not have the same
length.