Searched refs:ds_idx (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/unbound/validator/ |
H A D | val_sigcrypt.h | 158 struct ub_packed_rrset_key* ds_rrset, size_t ds_idx); 175 uint16_t ds_get_keytag(struct ub_packed_rrset_key* ds_rrset, size_t ds_idx); 210 size_t ds_idx); 218 int ds_get_digest_algo(struct ub_packed_rrset_key* ds_rrset, size_t ds_idx); 227 size_t ds_idx);
|
H A D | val_sigcrypt.c | 232 ds_get_keytag(struct ub_packed_rrset_key* ds_rrset, size_t ds_idx) in ds_get_keytag() argument 237 rrset_get_rdata(ds_rrset, ds_idx, &rdata, &len); in ds_get_keytag() 295 struct ub_packed_rrset_key* ds_rrset, size_t ds_idx, in ds_create_dnskey_digest() argument 313 return secalgo_ds_digest(ds_get_digest_algo(ds_rrset, ds_idx), in ds_create_dnskey_digest() 320 struct ub_packed_rrset_key* ds_rrset, size_t ds_idx) in ds_digest_match_dnskey() argument 325 size_t digestlen = ds_digest_size_algo(ds_rrset, ds_idx); in ds_digest_match_dnskey() 333 if(fake_sha1 && ds_get_digest_algo(ds_rrset, ds_idx)==LDNS_SHA1) in ds_digest_match_dnskey() 338 ds_get_sigdata(ds_rrset, ds_idx, &ds, &dslen); in ds_digest_match_dnskey() 351 ds_idx, digest)) { in ds_digest_match_dnskey() 364 size_t ds_idx) in ds_digest_algo_is_supported() argument [all …]
|
H A D | val_utils.c | 491 struct ub_packed_rrset_key* ds_rrset, size_t ds_idx, char** reason, in verify_dnskeys_with_ds_rr() argument 501 if(ds_get_key_algo(ds_rrset, ds_idx) in verify_dnskeys_with_ds_rr() 504 != ds_get_keytag(ds_rrset, ds_idx)) { in verify_dnskeys_with_ds_rr() 509 ds_get_key_algo(ds_rrset, ds_idx), in verify_dnskeys_with_ds_rr() 510 ds_get_keytag(ds_rrset, ds_idx)); in verify_dnskeys_with_ds_rr() 515 ds_idx)) { in verify_dnskeys_with_ds_rr() 547 algo_needs_reason(ds_get_key_algo(ds_rrset, ds_idx), in verify_dnskeys_with_ds_rr()
|
H A D | autotrust.c | 1587 size_t ds_idx, num = dd->count; in key_matches_a_ds() local 1590 for(ds_idx=0; ds_idx<num; ds_idx++) { in key_matches_a_ds() 1591 if(!ds_digest_algo_is_supported(ds_rrset, ds_idx) || in key_matches_a_ds() 1592 !ds_key_algo_is_supported(ds_rrset, ds_idx) || in key_matches_a_ds() 1594 ds_get_digest_algo(ds_rrset, ds_idx) != d) in key_matches_a_ds() 1596 if(ds_get_key_algo(ds_rrset, ds_idx) in key_matches_a_ds() 1599 != ds_get_keytag(ds_rrset, ds_idx)) { in key_matches_a_ds() 1603 ds_rrset, ds_idx)) { in key_matches_a_ds()
|