• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/ldns/

Lines Matching refs:rrset

26 	nc->rrset = NULL;
47 ldns_rr_list_deep_free(chain->rrset);
63 if (ldns_rr_list_rr_count(chain->rrset) > 0) {
80 fprintf(out, "rrset:\n");
81 ldns_rr_list_print_fmt(out, fmt, chain->rrset);
223 const ldns_rr_list *rrset,
234 } else if (rrset && ldns_rr_list_rr_count(rrset) > 0) {
235 possible_parent_name = ldns_rr_owner(ldns_rr_list_rr(rrset, 0));
272 const ldns_rr_list *rrset,
300 new_chain->rrset = ldns_rr_list_new();
301 ldns_rr_list_push_rr(new_chain->rrset, orig_rr);
304 rrset,
315 if (!rrset || ldns_rr_list_rr_count(rrset) < 1) {
355 my_rrset = (ldns_rr_list *) rrset;
359 new_chain->rrset = ldns_rr_list_clone(my_rrset);
414 rrset,
448 new_tree->rrset = NULL;
606 tree->rrset);
678 /* if rr is null, take the first from the rrset */
696 if (data_chain && data_chain->rrset) {
697 cur_rrset = data_chain->rrset;
711 new_tree->rrset = cur_rrset;
713 1 - 'normal' rrset, signed by a key
794 ldns_rr_list *cur_rrset = ldns_rr_list_clone(data_chain->rrset);
803 for (j = 0; j < ldns_rr_list_rr_count(data_chain->parent->rrset); j++) {
804 cur_parent_rr = ldns_rr_list_rr(data_chain->parent->rrset, j);
886 ldns_rr_list *cur_rrset = data_chain->rrset;
902 cur_parent_tree->rrset = cur_rrset;
931 ldns_rr_list *cur_rrset = data_chain->rrset;
938 data_chain->parent->rrset
941 j < ldns_rr_list_rr_count(data_chain->parent->rrset);
943 cur_parent_rr = ldns_rr_list_rr(data_chain->parent->rrset, j);
988 if (data_chain->parent && data_chain->parent->rrset) {
989 cur_rrset = data_chain->parent->rrset;
1091 const ldns_rr_list *rrset,
1101 if (!rrset || !rrsig || !keys) {
1105 if (ldns_rr_list_rr_count(rrset) < 1) {
1118 rrset, ldns_rr_list_rr(rrsig, i),
1134 ldns_verify(ldns_rr_list *rrset, ldns_rr_list *rrsig, const ldns_rr_list *keys,
1137 return ldns_verify_time(rrset, rrsig, keys, ldns_time(NULL), good_keys);
1141 ldns_verify_notime(ldns_rr_list *rrset, ldns_rr_list *rrsig,
1147 if (!rrset || !rrsig || !keys) {
1151 if (ldns_rr_list_rr_count(rrset) < 1) {
1163 ldns_status s = ldns_verify_rrsig_keylist_notime(rrset,
1312 /* Push the whole rrset
1370 ldns_rr_list * rrset = NULL;
1378 rrset = ldns_pkt_rr_list_by_type(dspkt,
1386 if (ldns_verify_time(rrset, sigs, keys, check_time, NULL)
1389 for (key_i=0; key_i<ldns_rr_list_rr_count(rrset); key_i++) {
1391 ldns_rr_clone(ldns_rr_list_rr(rrset,
1398 ldns_rr_list_deep_free(rrset);
1420 ldns_rr_list *rrset,
1431 if (!res || !rrset || !rrsigs) {
1435 if (ldns_rr_list_rr_count(rrset) < 1) {
1460 if ((result = ldns_verify_rrsig_time(rrset,
1483 ldns_rr_list *rrset,
1488 res, rrset, rrsigs, ldns_time(NULL), validating_keys);
1836 const ldns_buffer* rrset, const unsigned char* key, size_t keylen)
1849 result = ldns_verify_rrsig_evp_raw(sig, siglen, rrset,
1887 ldns_buffer* rrset, unsigned char* key, size_t keylen)
1897 result = ldns_verify_rrsig_evp_raw(sig, siglen, rrset, evp_key,
1934 ldns_buffer* rrset, unsigned char* key, size_t keylen)
1944 result = ldns_verify_rrsig_evp_raw(sig, siglen, rrset, evp_key,
1993 ldns_buffer* rrset, unsigned char* key, size_t keylen, uint8_t algo)
2007 result = ldns_verify_rrsig_evp_raw(sig, siglen, rrset, evp_key, d);
2106 * Reset the ttl in the rrset with the orig_ttl from the sig
2108 * Also canonicalizes the rrset.
2109 * @param rrset: rrset to modify
2331 /* sort the rrset in canonical order */
2338 /* add the rrset in verify_buf */
2416 * - create the wire fmt of the sorted rrset
2419 * - cat the sig data (without b64 rdata) to the rrset
2420 * - verify the rrset+sig, with the b64 data and the b64 key data
2424 const ldns_rr_list *rrset,
2435 result = ldns_verify_rrsig_keylist_notime(rrset, rrsig, keys, valid);
2456 * - create the wire fmt of the sorted rrset
2459 * - cat the sig data (without b64 rdata) to the rrset
2460 * - verify the rrset+sig, with the b64 data and the b64 key data
2463 ldns_verify_rrsig_keylist(ldns_rr_list *rrset,
2469 rrset, rrsig, keys, ldns_time(NULL), good_keys);
2473 ldns_verify_rrsig_keylist_notime(const ldns_rr_list *rrset,
2485 if (!rrset) {
2494 /* clone the rrset so that we can fiddle with it */
2495 rrset_clone = ldns_rr_list_clone(rrset);
2558 ldns_rr_list *rrset,
2568 if (!rrset) {
2571 /* clone the rrset so that we can fiddle with it */
2572 rrset_clone = ldns_rr_list_clone(rrset);
2600 ldns_verify_rrsig(ldns_rr_list *rrset, ldns_rr *rrsig, ldns_rr *key)
2602 return ldns_verify_rrsig_time(rrset, rrsig, key, ldns_time(NULL));
2608 ldns_buffer *rrset,
2615 rrset,
2622 const ldns_buffer *rrset, EVP_PKEY *key, const EVP_MD *digest_type)
2638 ldns_buffer_begin(rrset),
2639 ldns_buffer_position(rrset));
2655 ldns_verify_rrsig_dsa(ldns_buffer *sig, ldns_buffer *rrset, ldns_buffer *key)
2660 rrset,
2666 ldns_verify_rrsig_rsasha1(ldns_buffer *sig, ldns_buffer *rrset, ldns_buffer *key)
2671 rrset,
2677 ldns_verify_rrsig_rsamd5(ldns_buffer *sig, ldns_buffer *rrset, ldns_buffer *key)
2682 rrset,
2689 ldns_buffer* rrset, unsigned char* key, size_t keylen)
2699 rrset,
2713 (void)sig; (void)siglen; (void)rrset; (void)key; (void)keylen;
2720 ldns_buffer* rrset, unsigned char* key, size_t keylen)
2729 rrset,
2743 ldns_buffer* rrset,
2755 rrset,
2768 (void) rrset;
2778 ldns_buffer* rrset,
2790 rrset,
2803 (void) rrset;
2814 ldns_buffer* rrset,
2825 rrset,