|
unbound 0.1
|
The NSEC3 hash result storage. More...
#include <val_nsec3.h>
Data Fields | |
| rbnode_type | node |
| rbtree node, key is this structure | |
| struct ub_packed_rrset_key * | nsec3 |
| where are the parameters for conversion, in this rrset data | |
| int | rr |
| where are the parameters for conversion, this RR number in data | |
| uint8_t * | dname |
| the name to convert | |
| size_t | dname_len |
| length of the dname | |
| uint8_t * | hash |
| the hash result (not base32 encoded) | |
| size_t | hash_len |
| length of hash in bytes | |
| uint8_t * | b32 |
| the hash result in base32 encoding | |
| size_t | b32_len |
| length of base32 encoding (as a label) | |
The NSEC3 hash result storage.
Consists of an rbtree, with these nodes in it. The nodes detail how a set of parameters (from nsec3 rr) plus a dname result in a hash.
| rbnode_type nsec3_cached_hash::node |
rbtree node, key is this structure
Referenced by nsec3_hash_name().
| struct ub_packed_rrset_key* nsec3_cached_hash::nsec3 |
where are the parameters for conversion, in this rrset data
Referenced by nsec3_calc_hash(), nsec3_hash_cmp(), nsec3_hash_name(), and nsec3_hash_test_entry().
| int nsec3_cached_hash::rr |
where are the parameters for conversion, this RR number in data
Referenced by find_covering_nsec3(), find_matching_nsec3(), nsec3_calc_hash(), nsec3_covers(), nsec3_hash_cmp(), and nsec3_hash_name().
| uint8_t* nsec3_cached_hash::dname |
the name to convert
Referenced by nsec3_calc_hash(), nsec3_hash_cmp(), and nsec3_hash_name().
| size_t nsec3_cached_hash::dname_len |
length of the dname
Referenced by nsec3_calc_hash(), and nsec3_hash_name().
| uint8_t* nsec3_cached_hash::hash |
the hash result (not base32 encoded)
Referenced by find_covering_nsec3(), find_matching_nsec3(), neg_nsec3_proof_ds(), nsec3_calc_b32(), nsec3_calc_hash(), nsec3_covers(), nsec3_hash_matches_owner(), nsec3_hash_name(), and nsec3_hash_test_entry().
| size_t nsec3_cached_hash::hash_len |
length of hash in bytes
Referenced by neg_nsec3_proof_ds(), nsec3_calc_b32(), nsec3_calc_hash(), and nsec3_get_hashed().
| uint8_t* nsec3_cached_hash::b32 |
the hash result in base32 encoding
Referenced by neg_nsec3_proof_ds(), and nsec3_calc_b32().
| size_t nsec3_cached_hash::b32_len |
length of base32 encoding (as a label)
Referenced by neg_nsec3_proof_ds(), and nsec3_calc_b32().