shrub/pkg/urcrypt/scrypt/slowequals.h

6 lines
159 B
C

/* Implements a constant time version of strcmp()
* Will return 1 if a and b are equal, 0 if they are not */
int slow_equals(const char* a, const char* b);