iterated_hash.h File Reference

#include <isc/lang.h>
#include <isc/sha1.h>

Go to the source code of this file.


#define NSEC3_MAX_HASH_LENGTH   155
#define NSEC3_MAX_LABEL_HASH   35


ISC_LANG_BEGINDECLS int isc_iterated_hash (unsigned char out[NSEC3_MAX_HASH_LENGTH], unsigned int hashalg, int iterations, const unsigned char *salt, int saltlength, const unsigned char *in, int inlength)

Define Documentation


Definition at line 20 of file iterated_hash.h.

#define NSEC3_MAX_HASH_LENGTH   155

Definition at line 29 of file iterated_hash.h.

Referenced by addnsec3(), checkowner_nsec3(), dns_nsec3_addnsec3(), dns_nsec3_delnsec3(), dns_nsec3_noexistnodata(), hashlist_add_dns_name(), isdelegation(), isoptout(), nsec3clean(), record_found(), and verifynsec3().

#define NSEC3_MAX_LABEL_HASH   35

Definition at line 35 of file iterated_hash.h.

Function Documentation

ISC_LANG_BEGINDECLS int isc_iterated_hash ( unsigned char  out[NSEC3_MAX_HASH_LENGTH],
unsigned int  hashalg,
int  iterations,
const unsigned char *  salt,
int  saltlength,
const unsigned char *  in,
int  inlength 

Referenced by dns_nsec3_hashname(), dns_nsec3_noexistnodata(), hashlist_add_dns_name(), and isdelegation().

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