Expand description
Compares two equal-sized byte strings in constant time.
The time of the comparison does not depend on:
- The contents of the inputs;
- The position of the difference(s) between the inputs.
The time of the comparison can depend on:
- The memory addresses of the inputs;
- The length of the inputs.
Functionsยง
- constant_
time_ eq - Compares two equal-sized byte strings in constant time.
- constant_
time_ eq_ 16 - Compares two 128-bit byte strings in constant time.
- constant_
time_ eq_ 32 - Compares two 256-bit byte strings in constant time.
- constant_
time_ eq_ 64 - Compares two 512-bit byte strings in constant time.
- constant_
time_ eq_ n - Compares two fixed-size byte strings in constant time.