Function curve25519_dalek::subtle::bytes_equal_ct [] [src]

pub fn bytes_equal_ct(a: u8, b: u8) -> u8

Check equality of two bytes in constant time.

Return

Returns 1u8 if a == b and 0u8 otherwise.