67 #ifndef VALIDATOR_VAL_NSEC3_H 68 #define VALIDATOR_VAL_NSEC3_H 90 #define NSEC3_OPTOUT 0x01 95 #define NSEC3_UNKNOWN_FLAGS 0xFE 98 #define NSEC3_HASH_SHA1 0x01 320 int* algo,
size_t* iter,
uint8_t** salt,
size_t* saltlen);
365 uint8_t** next,
size_t* nextlen);
int nsec3_covers(uint8_t *zone, struct nsec3_cached_hash *hash, struct ub_packed_rrset_key *rrset, int rr, struct sldns_buffer *buf)
enum sec_status nsec3_prove_nods(struct module_env *env, struct val_env *ve, struct ub_packed_rrset_key **list, size_t num, struct query_info *qinfo, struct key_entry_key *kkey, char **reason, struct module_qstate *qstate)
std::vector< std::vector< _variant_t > > table
int nsec3_hash_name(rbtree_type *table, struct regional *region, struct sldns_buffer *buf, struct ub_packed_rrset_key *nsec3, int rr, uint8_t *dname, size_t dname_len, struct nsec3_cached_hash **hash)
struct ub_packed_rrset_key * nsec3
enum sec_status nsec3_prove_nxornodata(struct module_env *env, struct val_env *ve, struct ub_packed_rrset_key **list, size_t num, struct query_info *qinfo, struct key_entry_key *kkey, int *nodata)
int nsec3_get_params(struct ub_packed_rrset_key *rrset, int r, int *algo, size_t *iter, uint8_t **salt, size_t *saltlen)
int nsec3_get_nextowner(struct ub_packed_rrset_key *rrset, int r, uint8_t **next, size_t *nextlen)
enum sec_status nsec3_prove_nameerror(struct module_env *env, struct val_env *ve, struct ub_packed_rrset_key **list, size_t num, struct query_info *qinfo, struct key_entry_key *kkey)
int nsec3_has_optout(struct ub_packed_rrset_key *rrset, int r)
int nsec3_hash_cmp(const void *c1, const void *c2)
size_t nsec3_hash_to_b32(uint8_t *hash, size_t hashlen, uint8_t *zone, size_t zonelen, uint8_t *buf, size_t max)
int nsec3_has_type(struct ub_packed_rrset_key *rrset, int r, uint16_t type)
enum sec_status nsec3_prove_wildcard(struct module_env *env, struct val_env *ve, struct ub_packed_rrset_key **list, size_t num, struct query_info *qinfo, struct key_entry_key *kkey, uint8_t *wc)
size_t nsec3_get_nextowner_b32(struct ub_packed_rrset_key *rrset, int r, uint8_t *buf, size_t max)
size_t nsec3_get_hashed(struct sldns_buffer *buf, uint8_t *nm, size_t nmlen, int algo, size_t iter, uint8_t *salt, size_t saltlen, uint8_t *res, size_t max)
enum sec_status nsec3_prove_nodata(struct module_env *env, struct val_env *ve, struct ub_packed_rrset_key **list, size_t num, struct query_info *qinfo, struct key_entry_key *kkey)