Home
last modified time | relevance | path

Searched refs:dns_key_rdata (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/lib/libresolv2/common/dst/
H A Dsupport.c127 dst_s_dns_key_id(const u_char *dns_key_rdata, const int rdata_len) in dst_s_dns_key_id() argument
129 if (!dns_key_rdata) in dst_s_dns_key_id()
133 if (dns_key_rdata[3] == KEY_RSA) /*%< Algorithm RSA */ in dst_s_dns_key_id()
135 &dns_key_rdata[rdata_len - 3]); in dst_s_dns_key_id()
136 else if (dns_key_rdata[3] == KEY_HMAC_MD5) in dst_s_dns_key_id()
141 return dst_s_id_calc(dns_key_rdata, rdata_len); in dst_s_dns_key_id()