chickadee » sodium » constant-time-blob=?

constant-time-blob=? a b lenprocedure

Compares two blobs in constant time. Important when a comparison involves secret data (e.g. key, authentication tag), in order to mitigate side-channel attacks.