Skip to main content

ct_eq_zero_bytes

Function ct_eq_zero_bytes 

Source
pub fn ct_eq_zero_bytes(a: &[u8]) -> bool
Expand description

Rust doesn’t guarantee that anything can truly be constant-time under all compilation targets and optimization levels. The following presents the standard constant-time shape.