safe.h File Reference

#include <isc/types.h>

Go to the source code of this file.


#define ISC_SAFE_H   1


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.

Detailed Description

Definition in file safe.h.

Define Documentation

#define ISC_SAFE_H   1

Definition at line 20 of file safe.h.

Function Documentation

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().

Generated on Tue Apr 28 17:41:16 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha