Home
last modified time | relevance | path

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

/netbsd/external/bsd/unbound/dist/sldns/
H A Dstr2wire.c2755 size_t hitlen, pklen = 0; in sldns_str2wire_hip_buf() local
2776 hitlen = *len - 4; in sldns_str2wire_hip_buf()
2777 if((e = sldns_str2wire_hex_buf(s, rd+4, &hitlen)) != 0) { in sldns_str2wire_hip_buf()
2781 if(hitlen > 255) { in sldns_str2wire_hip_buf()
2785 rd[0] = (uint8_t)hitlen; in sldns_str2wire_hip_buf()
2790 pklen = *len - 4 - hitlen; in sldns_str2wire_hip_buf()
2791 if((e = sldns_str2wire_b64_buf(s, rd+4+hitlen, &pklen)) != 0) in sldns_str2wire_hip_buf()
2797 *len = 4 + hitlen + pklen; in sldns_str2wire_hip_buf()
H A Dwire2str.c1897 uint8_t algo, hitlen; in sldns_wire2str_hip_scan() local
1903 hitlen = (*d)[0]; in sldns_wire2str_hip_scan()
1906 if(*dl < (size_t)4 + (size_t)hitlen + (size_t)pklen) in sldns_wire2str_hip_scan()
1911 w += print_hex_buf(s, sl, (*d)+4, hitlen); in sldns_wire2str_hip_scan()
1913 (*d)+=4+hitlen; in sldns_wire2str_hip_scan()
1914 (*dl)-= (4+hitlen); in sldns_wire2str_hip_scan()