Utility functions¶
-
int crypto_memneq(const void *a, const void *b, size_t size)¶
Compare two areas of memory without leaking timing information.
Parameters
const void *aOne area of memory
const void *bAnother area of memory
size_t sizeThe size of the area.
Description
Returns 0 when data is equal, 1 otherwise.