Searched refs:kkey (Results 1 - 12 of 12) sorted by relevance

/freebsd-10-stable/contrib/unbound/validator/
H A Dval_kentry.h110 * @param kkey: the key entry key (and data pointer) to copy.
114 struct key_entry_key* key_entry_copy_toregion(struct key_entry_key* kkey,
119 * @param kkey: the key entry key (and data pointer) to copy.
122 struct key_entry_key* key_entry_copy(struct key_entry_key* kkey);
126 * @param kkey: must have data pointer set correctly
129 int key_entry_isnull(struct key_entry_key* kkey);
133 * @param kkey: must have data pointer set correctly
136 int key_entry_isgood(struct key_entry_key* kkey);
140 * @param kkey: must have data pointer set correctly
143 int key_entry_isbad(struct key_entry_key* kkey);
[all...]
H A Dval_kentry.c111 key_entry_copy_toregion(struct key_entry_key* kkey, struct regional* region) argument
114 newk = regional_alloc_init(region, kkey, sizeof(*kkey));
117 newk->name = regional_alloc_init(region, kkey->name, kkey->namelen);
124 kkey->entry.data;
155 key_entry_copy(struct key_entry_key* kkey) argument
158 if(!kkey)
160 newk = memdup(kkey, sizeof(*kkey));
220 key_entry_isnull(struct key_entry_key* kkey) argument
227 key_entry_isgood(struct key_entry_key* kkey) argument
234 key_entry_isbad(struct key_entry_key* kkey) argument
241 key_entry_set_reason(struct key_entry_key* kkey, char* reason) argument
248 key_entry_get_reason(struct key_entry_key* kkey) argument
342 key_entry_get_rrset(struct key_entry_key* kkey, struct regional* region) argument
397 key_entry_keysize(struct key_entry_key* kkey) argument
[all...]
H A Dval_nsec3.h110 * @param kkey: key entry that signed the NSEC3s.
118 struct query_info* qinfo, struct key_entry_key* kkey);
144 * @param kkey: key entry that signed the NSEC3s.
152 struct query_info* qinfo, struct key_entry_key* kkey);
164 * @param kkey: key entry that signed the NSEC3s.
174 struct query_info* qinfo, struct key_entry_key* kkey, uint8_t* wc);
186 * @param kkey: key entry that signed the NSEC3s.
197 struct query_info* qinfo, struct key_entry_key* kkey, char** reason);
207 * @param kkey: key entry that signed the NSEC3s.
217 struct query_info* qinfo, struct key_entry_key* kkey, in
[all...]
H A Dval_kcache.h77 * @param kkey: key entry key, assumed malloced in a region, is copied
81 void key_cache_insert(struct key_cache* kcache, struct key_entry_key* kkey,
H A Dval_nsec.h64 * @param kkey: key entry to use for verification of signatures.
75 struct reply_info* rep, struct key_entry_key* kkey,
H A Dval_nsec3.c470 * @param kkey: key entry used for verification; used for iteration counts.
475 struct key_entry_key* kkey)
481 size_t bits = key_entry_keysize(kkey);
1063 struct query_info* qinfo, struct key_entry_key* kkey)
1068 if(!list || num == 0 || !kkey || !key_entry_isgood(kkey))
1074 if(nsec3_iteration_count_high(ve, &flt, kkey))
1222 struct query_info* qinfo, struct key_entry_key* kkey)
1227 if(!list || num == 0 || !kkey || !key_entry_isgood(kkey))
474 nsec3_iteration_count_high(struct val_env* ve, struct nsec3_filter* filter, struct key_entry_key* kkey) argument
1061 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) argument
1220 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) argument
1239 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) argument
1286 list_is_secure(struct module_env* env, struct val_env* ve, struct ub_packed_rrset_key** list, size_t num, struct key_entry_key* kkey, char** reason) argument
1313 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) argument
1401 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) argument
[all...]
H A Dval_kcache.c83 key_cache_insert(struct key_cache* kcache, struct key_entry_key* kkey, argument
86 struct key_entry_key* k = key_entry_copy(kkey);
H A Dval_nsec.c178 struct ub_packed_rrset_key* nsec, struct key_entry_key* kkey,
188 d->security = val_verify_rrset_entry(env, ve, nsec, kkey, reason);
199 struct key_entry_key* kkey, time_t* proof_ttl, char** reason)
216 if(!nsec_verify_rrset(env, ve, nsec, kkey, reason)) {
245 if(!nsec_verify_rrset(env, ve, rep->rrsets[i], kkey, reason)) {
177 nsec_verify_rrset(struct module_env* env, struct val_env* ve, struct ub_packed_rrset_key* nsec, struct key_entry_key* kkey, char** reason) argument
197 val_nsec_prove_nodata_dsreply(struct module_env* env, struct val_env* ve, struct query_info* qinfo, struct reply_info* rep, struct key_entry_key* kkey, time_t* proof_ttl, char** reason) argument
H A Dvalidator.c645 * @param kkey: the key entry, which is trusted, and which matches
651 struct key_entry_key* kkey)
705 chase_reply->ns_numrrsets, qchase, kkey, wc);
741 * @param kkey: the key entry, which is trusted, and which matches
747 struct key_entry_key* kkey)
805 chase_reply->ns_numrrsets, qchase, kkey);
839 * @param kkey: the key entry, which is trusted, and which matches
846 struct key_entry_key* kkey, int* rcode)
877 chase_reply->ns_numrrsets, qchase, kkey);
894 validate_nodata_response(env, ve, qchase, chase_reply, kkey);
649 validate_positive_response(struct module_env* env, struct val_env* ve, struct query_info* qchase, struct reply_info* chase_reply, struct key_entry_key* kkey) argument
745 validate_nodata_response(struct module_env* env, struct val_env* ve, struct query_info* qchase, struct reply_info* chase_reply, struct key_entry_key* kkey) argument
844 validate_nameerror_response(struct module_env* env, struct val_env* ve, struct query_info* qchase, struct reply_info* chase_reply, struct key_entry_key* kkey, int* rcode) argument
969 validate_any_response(struct module_env* env, struct val_env* ve, struct query_info* qchase, struct reply_info* chase_reply, struct key_entry_key* kkey) argument
1079 validate_cname_response(struct module_env* env, struct val_env* ve, struct query_info* qchase, struct reply_info* chase_reply, struct key_entry_key* kkey) argument
1192 validate_cname_noanswer_response(struct module_env* env, struct val_env* ve, struct query_info* qchase, struct reply_info* chase_reply, struct key_entry_key* kkey) argument
2356 struct key_entry_key* kkey = NULL; local
[all...]
H A Dval_utils.h134 * @param kkey: key_entry to verify with.
140 struct key_entry_key* kkey, char** reason);
H A Dval_utils.c366 struct ub_packed_rrset_key* rrset, struct key_entry_key* kkey,
371 struct key_entry_data* kd = (struct key_entry_data*)kkey->entry.data;
374 dnskey.rk.rrset_class = htons(kkey->key_class);
376 dnskey.rk.dname = kkey->name;
377 dnskey.rk.dname_len = kkey->namelen;
365 val_verify_rrset_entry(struct module_env* env, struct val_env* ve, struct ub_packed_rrset_key* rrset, struct key_entry_key* kkey, char** reason) argument
/freebsd-10-stable/lib/libc/db/hash/
H A Dhash_bigkey.c279 char *kkey; local
284 kkey = key;
289 if (memcmp(p + bp[ndx], kkey, bytes))
291 kkey += bytes;
301 if (bytes != ksize || memcmp(p + bp[ndx], kkey, bytes)) {

Completed in 162 milliseconds