/netbsd-current/external/bsd/libbind/dist/resolv/ |
H A D | res_sendsigned.c | 35 DST_KEY *dstkey; local 65 dstkey = NULL; 67 dstkey = dst_buffer_to_key(key->name, KEY_HMAC_MD5, 71 if (dstkey == NULL) { 80 ret = ns_sign(newmsg, &newmsglen, bufsize, NOERROR, dstkey, NULL, 0, 85 dst_free_key(dstkey); 111 dst_free_key(dstkey); 115 ret = ns_verify(answer, &len, dstkey, sig, siglen, 140 dst_free_key(dstkey); 168 dst_free_key(dstkey); [all...] |
/netbsd-current/lib/libresolv/ |
H A D | res_sendsigned.c | 36 DST_KEY *dstkey; local 66 dstkey = NULL; 68 dstkey = dst_buffer_to_key(key->name, KEY_HMAC_MD5, 72 if (dstkey == NULL) { 81 ret = ns_sign(newmsg, &newmsglen, bufsize, NOERROR, dstkey, NULL, 0, 86 dst_free_key(dstkey); 112 dst_free_key(dstkey); 116 ret = ns_verify(answer, &len, dstkey, sig, siglen, 141 dst_free_key(dstkey); 169 dst_free_key(dstkey); [all...] |
/netbsd-current/external/mpl/bind/dist/bin/tests/system/tkey/ |
H A D | keydelete.c | 143 dst_key_t *dstkey = NULL; local 188 result = dst_key_fromnamedfile(keyname, NULL, type, mctx, &dstkey); 190 result = dns_tsigkey_createfromkey(dst_key_name(dstkey), 191 DNS_TSIG_HMACMD5_NAME, dstkey, true, 193 dst_key_free(&dstkey);
|
/netbsd-current/external/mpl/dhcp/dist/omapip/ |
H A D | auth.c | 82 dst_key_t *dstkey; local 113 &dstkey); 116 dstkey, &a->tsec_key); 117 dst_key_free(&dstkey);
|
H A D | isclib.c | 335 dst_key_t **dstkey) 369 &b, dhcp_gbl_ctx.mctx, dstkey)); 331 isclib_make_dst_key(char *inname, char *algorithm, unsigned char *secret, int length, dst_key_t **dstkey) argument
|
/netbsd-current/external/mpl/bind/dist/bin/dnssec/ |
H A D | dnssectool.c | 485 key_collision(dst_key_t *dstkey, dns_name_t *name, const char *dir, argument 502 id = dst_key_id(dstkey); 503 rid = dst_key_rid(dstkey); 504 alg = dst_key_alg(dstkey); 513 result = dst_key_buildfilename(dstkey, DST_TYPE_PRIVATE, dir,
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/ |
H A D | tkey.c | 509 dst_key_t *dstkey = NULL; local 588 RETERR(dst_key_fromgssapi(name, gss_ctx, ring->mctx, &dstkey, 602 name, &tkeyin->algorithm, dstkey, true, principal, now, 604 dst_key_free(&dstkey); 648 if (dstkey != NULL) { 649 dst_key_free(&dstkey); 1357 dst_key_t *dstkey = NULL; local 1412 RETERR(dst_key_fromgssapi(dns_rootname, *context, rmsg->mctx, &dstkey, 1416 tkeyname, DNS_TSIG_GSSAPI_NAME, dstkey, false, NULL, 1418 dst_key_free(&dstkey); 1495 dst_key_t *dstkey = NULL; local [all...] |
H A D | tsig.c | 249 dst_key_t *dstkey, bool generated, 278 if (dstkey != NULL && dst_key_alg(dstkey) != dstalg) { 284 if (dstkey != NULL) { 304 if (dstkey != NULL) { 305 dst_key_attach(dstkey, &tkey->key); 337 if (dstkey != NULL && dst_key_size(dstkey) < 64 && 501 dst_key_t *dstkey = NULL; local 558 ring->mctx, keystr, &dstkey); 248 dns_tsigkey_createfromkey(const dns_name_t *name, const dns_name_t *algorithm, dst_key_t *dstkey, bool generated, const dns_name_t *creator, isc_stdtime_t inception, isc_stdtime_t expire, isc_mem_t *mctx, dns_tsig_keyring_t *ring, dns_tsigkey_t **key) argument 671 dst_key_t *dstkey = NULL; local [all...] |
H A D | dnssec.c | 1236 dst_key_t *dstkey = NULL; local 1248 result = dns_dnssec_keyfromrdata(name, rdata, mctx, &dstkey); 1255 keytag = dst_key_id(dstkey); 1265 result = dns_dnssec_verify(name, rdataset, dstkey, 1269 dst_key_free(&dstkey); 1274 dst_key_free(&dstkey); 1279 dns_dnsseckey_create(isc_mem_t *mctx, dst_key_t **dstkey, argument 1288 dk->key = *dstkey; 1289 *dstkey = NULL; 1411 dst_key_t *dstkey local [all...] |
H A D | validator.c | 1388 dst_key_t *dstkey = NULL; local 1413 &dstkey); 1426 name, rdataset, dstkey, true, 1445 dst_key_free(&dstkey); 1660 dst_key_t *dstkey = NULL; local 1675 if (dstkey == NULL) { 1678 &dstkey); 1686 result = verify(val, dstkey, &rdata, sig.keyid); 1692 if (dstkey != NULL) { 1693 dst_key_free(&dstkey); [all...] |
H A D | zone.c | 4238 dst_key_t *dstkey = NULL; local 4244 result = dns_dnssec_keyfromrdata(name, &rdata, mctx, &dstkey); 4246 *tag = dst_key_id(dstkey); 4247 dst_key_free(&dstkey); 10333 dst_key_t *dstkey = NULL; local 10349 result = dns_dnssec_keyfromrdata(keyname, &rr, mctx, &dstkey); 10367 if (dst_key_alg(dstkey) == sig.algorithm && 10368 dst_key_rid(dstkey) == sig.keyid) 10371 keyname, &kfetch->dnskeyset, dstkey, false, 0, 10385 dst_key_free(&dstkey); 10417 dst_key_t *dstkey = NULL; local [all...] |
/netbsd-current/external/mpl/bind/dist/lib/dns/ |
H A D | tkey.c | 510 dst_key_t *dstkey = NULL; local 589 RETERR(dst_key_fromgssapi(name, gss_ctx, ring->mctx, &dstkey, 603 name, &tkeyin->algorithm, dstkey, true, principal, now, 605 dst_key_free(&dstkey); 649 if (dstkey != NULL) { 650 dst_key_free(&dstkey); 1358 dst_key_t *dstkey = NULL; local 1413 RETERR(dst_key_fromgssapi(dns_rootname, *context, rmsg->mctx, &dstkey, 1417 tkeyname, DNS_TSIG_GSSAPI_NAME, dstkey, false, NULL, 1419 dst_key_free(&dstkey); 1496 dst_key_t *dstkey = NULL; local [all...] |
H A D | tsig.c | 251 dst_key_t *dstkey, bool generated, 280 if (dstkey != NULL && dst_key_alg(dstkey) != dstalg) { 286 if (dstkey != NULL) { 306 if (dstkey != NULL) { 307 dst_key_attach(dstkey, &tkey->key); 339 if (dstkey != NULL && dst_key_size(dstkey) < 64 && 503 dst_key_t *dstkey = NULL; local 560 ring->mctx, keystr, &dstkey); 250 dns_tsigkey_createfromkey(const dns_name_t *name, const dns_name_t *algorithm, dst_key_t *dstkey, bool generated, const dns_name_t *creator, isc_stdtime_t inception, isc_stdtime_t expire, isc_mem_t *mctx, dns_tsig_keyring_t *ring, dns_tsigkey_t **key) argument 673 dst_key_t *dstkey = NULL; local [all...] |
H A D | dnssec.c | 1241 dst_key_t *dstkey = NULL; local 1253 result = dns_dnssec_keyfromrdata(name, rdata, mctx, &dstkey); 1260 keytag = dst_key_id(dstkey); 1270 result = dns_dnssec_verify(name, rdataset, dstkey, 1274 dst_key_free(&dstkey); 1279 dst_key_free(&dstkey); 1284 dns_dnsseckey_create(isc_mem_t *mctx, dst_key_t **dstkey, argument 1293 dk->key = *dstkey; 1294 *dstkey = NULL; 1416 dst_key_t *dstkey local [all...] |
H A D | validator.c | 1388 dst_key_t *dstkey = NULL; local 1413 &dstkey); 1426 name, rdataset, dstkey, true, 1445 dst_key_free(&dstkey); 1660 dst_key_t *dstkey = NULL; local 1675 if (dstkey == NULL) { 1678 &dstkey); 1686 result = verify(val, dstkey, &rdata, sig.keyid); 1692 if (dstkey != NULL) { 1693 dst_key_free(&dstkey); [all...] |
H A D | zone.c | 4267 dst_key_t *dstkey = NULL; local 4273 result = dns_dnssec_keyfromrdata(name, &rdata, mctx, &dstkey); 4275 *tag = dst_key_id(dstkey); 4276 dst_key_free(&dstkey); 10327 dst_key_t *dstkey = NULL; local 10343 result = dns_dnssec_keyfromrdata(keyname, &rr, mctx, &dstkey); 10361 if (dst_key_alg(dstkey) == sig.algorithm && 10362 dst_key_rid(dstkey) == sig.keyid) 10365 keyname, &kfetch->dnskeyset, dstkey, false, 0, 10379 dst_key_free(&dstkey); 10411 dst_key_t *dstkey = NULL; local [all...] |
/netbsd-current/external/mpl/dhcp/dist/includes/omapip/ |
H A D | isclib.h | 133 dst_key_t **dstkey);
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/include/dns/ |
H A D | tsig.h | 115 dst_key_t *dstkey, bool generated, 125 * unimplemented algorithm will cause failure only if dstkey != NULL; this 129 * If dns_tsigkey_createfromkey is successful a new reference to 'dstkey' 137 *\li 'dstkey' is a valid dst key or NULL
|
H A D | dnssec.h | 252 dns_dnsseckey_create(isc_mem_t *mctx, dst_key_t **dstkey,
|
/netbsd-current/external/mpl/bind/dist/lib/dns/include/dns/ |
H A D | tsig.h | 113 dst_key_t *dstkey, bool generated, 123 * unimplemented algorithm will cause failure only if dstkey != NULL; this 127 * If dns_tsigkey_createfromkey is successful a new reference to 'dstkey' 135 *\li 'dstkey' is a valid dst key or NULL
|
H A D | dnssec.h | 251 dns_dnsseckey_create(isc_mem_t *mctx, dst_key_t **dstkey,
|
/netbsd-current/external/bsd/libbind/dist/tests/ |
H A D | dig8.c | 1331 DST_KEY *dstkey; local 1351 dstkey = NULL; 1353 dstkey = dst_buffer_to_key(key->name, KEY_HMAC_MD5, 1357 if (dstkey == NULL) { 1366 ret = ns_sign(newmsg, &newmsglen, bufsize, NOERROR, dstkey, NULL, 0, 1377 ns_verify_tcp_init(dstkey, sig, siglen, &tsig_state);
|
/netbsd-current/external/mpl/bind/dist/bin/nsupdate/ |
H A D | nsupdate.c | 616 dst_key_t *dstkey = NULL; local 628 keyfile, NULL, DST_TYPE_PRIVATE | DST_TYPE_KEY, mctx, &dstkey); 647 switch (dst_key_alg(dstkey)) { 669 dst_key_name(dstkey), hmacname, dstkey, false, NULL, 0, 671 dst_key_free(&dstkey); 678 dst_key_attach(dstkey, &sig0key); 679 dst_key_free(&dstkey);
|
/netbsd-current/external/mpl/bind/dist/bin/dig/ |
H A D | dighost.c | 1161 dst_key_t *dstkey = NULL; local 1171 keyfile, NULL, DST_TYPE_PRIVATE | DST_TYPE_KEY, mctx, &dstkey); 1187 switch (dst_key_alg(dstkey)) { 1210 dst_key_name(dstkey), hmacname, dstkey, false, NULL, 0, 1218 dst_key_attach(dstkey, &sig0key); 1219 dst_key_free(&dstkey); 1222 if (dstkey != NULL) { 1223 dst_key_free(&dstkey);
|