a == b, 0 otherwise.ctEquals
fn
uint ctEquals(T)(T a, T b) if (is(T == ubyte) || is(T == ushort) || is(T == uint) || is(T == ulong)) pure nothrow @nogc @safeCompares two unsigned integers in constant time, returning 1 if a == b.
Parameters
a | First value. |
b | Second value. |
Returns
1 if