Searched refs:hit_size (Results 1 - 4 of 4) sorted by relevance
/freebsd-current/contrib/ldns/ |
H A D | rdata.c | 538 uint8_t *hit_size, uint8_t** hit, 544 if (! rdf || ! alg || ! hit || ! hit_size || ! pk || ! pk_size) { 552 *hit_size = data[0]; 556 *pk = data + 4 + *hit_size; 557 if (*hit_size == 0 || *pk_size == 0 || 558 rdf_size < (size_t) *hit_size + *pk_size + 4) { 566 uint8_t hit_size, uint8_t *hit, 574 if (4 + hit_size + pk_size > LDNS_MAX_RDFLEN) { 577 data = LDNS_XMALLOC(uint8_t, 4 + hit_size + pk_size); 581 data[0] = hit_size; 537 ldns_rdf_hip_get_alg_hit_pk(ldns_rdf *rdf, uint8_t* alg, uint8_t *hit_size, uint8_t** hit, uint16_t *pk_size, uint8_t** pk) argument 565 ldns_rdf_hip_new_frm_alg_hit_pk(ldns_rdf** rdf, uint8_t alg, uint8_t hit_size, uint8_t *hit, uint16_t pk_size, uint8_t *pk) argument [all...] |
H A D | str2host.c | 1581 size_t hit_size = hit == NULL ? 0 local 1584 size_t hit_wire_size = (hit_size + 1) / 2; 1594 if (hit_size == 0 || pk_size == 0 || (hit_size + 1) / 2 > 255
|
H A D | host2str.c | 1265 uint8_t hit_size; local 1272 if ((hit_size = data[0]) == 0 || 1274 rdf_size < (size_t) hit_size + pk_size + 4) { 1281 for (data += 4; hit_size > 0; hit_size--, data++) {
|
/freebsd-current/contrib/ldns/ldns/ |
H A D | rdata.h | 446 * \param[out] hit_size the size of the HIT data 453 uint8_t *hit_size, uint8_t** hit, 460 * \param[in] hit_size the size of the HIT data 467 uint8_t hit_size, uint8_t *hit, uint16_t pk_size, uint8_t *pk);
|
Completed in 171 milliseconds