safe.c File Reference

#include <config.h>
#include <isc/safe.h>
#include <isc/util.h>

Go to the source code of this file.

Functions

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.c.


Function Documentation

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:18 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha