[][src]Macro arx_kw::assert_ct_eq

macro_rules! assert_ct_eq {
    ($x:expr, $y:expr) => { ... };
}

Macro which provides an equivalent of assert_eq in constant time using the ConstantTimeEq trait. Accordingly, ConstantTimeEq must be in scope and implemented on the types of $x and $y for this to work. It is implemented for AuthTag and many primitives.