Skip to main content

ct_eq_choice

Function ct_eq_choice 

Source
pub fn ct_eq_choice<A, B>(a: A, b: B) -> Choice
where A: AsRef<[u8]>, B: AsRef<[u8]>,
Expand description

Constant-time equality check that returns a Choice (0 or 1)