Searched refs:key_st (Results 1 – 1 of 1) sorted by relevance
652 DST_KEY *key_st; in dst_dnskey_to_key() local668 if ((key_st = dst_s_get_key_struct(in_name, alg, 0, 0, 0)) == NULL) in dst_dnskey_to_key()671 key_st->dk_id = dst_s_dns_key_id(rdata, len); in dst_dnskey_to_key()672 key_st->dk_flags = dst_s_get_int16(rdata); in dst_dnskey_to_key()673 key_st->dk_proto = (u_int16_t) rdata[DST_KEY_PROT]; in dst_dnskey_to_key()674 if (key_st->dk_flags & DST_EXTEND_FLAG) { in dst_dnskey_to_key()677 key_st->dk_flags = key_st->dk_flags | (ext_flags << 16); in dst_dnskey_to_key()684 if (key_st->dk_func && key_st->dk_func->from_dns_key) { in dst_dnskey_to_key()685 if (key_st->dk_func->from_dns_key(key_st, &rdata[start], in dst_dnskey_to_key()687 return (key_st); in dst_dnskey_to_key()[all …]