Lines Matching refs:algorithm
35 unsigned char algorithm; in generic_totext_key() local
65 algorithm = sr.base[0]; in generic_totext_key()
66 snprintf(buf, sizeof(buf), "%u", algorithm); in generic_totext_key()
75 algorithm == DNS_KEYALG_PRIVATEDNS) { in generic_totext_key()
81 dns_secalg_format((dns_secalg_t) algorithm, algbuf, in generic_totext_key()
99 dst_region_computeid(&tmpr, algorithm)); in generic_totext_key()
123 dst_region_computeid(&tmpr, algorithm)); in generic_totext_key()
131 unsigned char algorithm; in generic_fromwire_key() local
143 algorithm = sr.base[3]; in generic_fromwire_key()
148 if (algorithm == DNS_KEYALG_PRIVATEDNS) { in generic_fromwire_key()
160 if (algorithm == DST_ALG_RSAMD5 && sr.length < 3) in generic_fromwire_key()