#include <isc/types.h>
Go to the source code of this file.
Defines | |
#define | ISC_SAFE_H 1 |
Functions | |
ISC_LANG_BEGINDECLS isc_boolean_t | isc_safe_memcmp (const void *s1, const void *s2, size_t n) |
Clone of libc memcmp() safe to differential timing attacks. |
Definition in file safe.h.
ISC_LANG_BEGINDECLS isc_boolean_t isc_safe_memcmp | ( | const void * | s1, | |
const void * | s2, | |||
size_t | n | |||
) |
Clone of libc memcmp() safe to differential timing attacks.
Definition at line 31 of file safe.c.
References ISC_TF.
Referenced by ATF_TC_BODY(), ATF_TP_ADD_TCS(), hmacmd5_compare(), hmacsha1_compare(), hmacsha224_compare(), hmacsha256_compare(), hmacsha384_compare(), hmacsha512_compare(), isc_hmacmd5_verify2(), isc_hmacsha1_verify(), isc_hmacsha224_verify(), isc_hmacsha256_verify(), isc_hmacsha384_verify(), isc_hmacsha512_verify(), and verify().