Searched refs:sshfp (Results 1 – 6 of 6) sorted by relevance
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/ |
| H A D | sshfp_44.c | 185 dns_rdata_sshfp_t *sshfp = source; in fromstruct_sshfp() local 188 REQUIRE(sshfp != NULL); in fromstruct_sshfp() 189 REQUIRE(sshfp->common.rdtype == type); in fromstruct_sshfp() 190 REQUIRE(sshfp->common.rdclass == rdclass); in fromstruct_sshfp() 195 RETERR(uint8_tobuffer(sshfp->algorithm, target)); in fromstruct_sshfp() 196 RETERR(uint8_tobuffer(sshfp->digest_type, target)); in fromstruct_sshfp() 198 return (mem_tobuffer(target, sshfp->digest, sshfp->length)); in fromstruct_sshfp() 203 dns_rdata_sshfp_t *sshfp = target; in tostruct_sshfp() local 207 REQUIRE(sshfp != NULL); in tostruct_sshfp() 210 sshfp->common.rdclass = rdata->rdclass; in tostruct_sshfp() [all …]
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/ |
| H A D | sshfp_44.c | 184 dns_rdata_sshfp_t *sshfp = source; in fromstruct_sshfp() 187 REQUIRE(sshfp != NULL); in fromstruct_sshfp() 188 REQUIRE(sshfp->common.rdtype == type); in fromstruct_sshfp() 189 REQUIRE(sshfp->common.rdclass == rdclass); in fromstruct_sshfp() 194 RETERR(uint8_tobuffer(sshfp->algorithm, target)); in fromstruct_sshfp() 195 RETERR(uint8_tobuffer(sshfp->digest_type, target)); in fromstruct_sshfp() 197 return mem_tobuffer(target, sshfp->digest, sshfp->length); in fromstruct_sshfp() 202 dns_rdata_sshfp_t *sshfp = target; in tostruct_sshfp() 206 REQUIRE(sshfp ! in tostruct_sshfp() 185 dns_rdata_sshfp_t *sshfp = source; fromstruct_sshfp() local 203 dns_rdata_sshfp_t *sshfp = target; tostruct_sshfp() local 233 dns_rdata_sshfp_t *sshfp = source; freestruct_sshfp() local [all...] |
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | resolve-test.c | 278 struct rk_sshfp_record *sshfp = rr->u.sshfp; in main() local 281 printf ("alg %u type %u length %lu data ", sshfp->algorithm, in main() 282 sshfp->type, (unsigned long)sshfp->sshfp_len); in main() 283 for (j = 0; j < sshfp->sshfp_len; j++) in main() 284 printf("%02X", sshfp->sshfp_data[j]); in main()
|
| H A D | resolve.c | 76 DECL(sshfp), 356 rr->u.sshfp = malloc (sizeof(*rr->u.sshfp) + sshfp_len - 1); in parse_record() 357 if (rr->u.sshfp == NULL) { in parse_record() 362 rr->u.sshfp->algorithm = p[0]; in parse_record() 363 rr->u.sshfp->type = p[1]; in parse_record() 364 rr->u.sshfp->sshfp_len = sshfp_len; in parse_record() 365 memcpy (rr->u.sshfp->sshfp_data, p + 2, sshfp_len); in parse_record()
|
| H A D | resolve.h | 201 struct rk_sshfp_record *sshfp; member
|
| /netbsd-src/external/mpl/bind/dist/tests/dns/ |
| H A D | rdata_test.c | 2370 ISC_RUN_TEST_IMPL(sshfp) { in ISC_RUN_TEST_IMPL() 3203 ISC_TEST_ENTRY(sshfp) 2333 ISC_RUN_TEST_IMPL(sshfp) ISC_RUN_TEST_IMPL() argument
|