| /src/lib/libresolv/ |
| 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...] |
| /src/external/bsd/libbind/dist/resolv/ |
| 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...] |
| /src/external/mpl/dhcp/dist/omapip/ |
| auth.c | 82 dst_key_t *dstkey; local 113 &dstkey); 116 dstkey, &a->tsec_key); 117 dst_key_free(&dstkey);
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/keymgmt/ |
| template_kmgmt.c | 398 void *dstkey = NULL; local 404 dstkey = template_new(NULL); 405 if (dstkey == NULL) 408 /* populate dstkey from vsrckey material */ 410 debug_print("dup returns %p\n", dstkey); 411 return dstkey; 413 template_free(dstkey);
|
| /src/external/mpl/bind/dist/lib/dns/ |
| tkey.c | 168 dst_key_t *dstkey = NULL; local 236 CHECK(dst_key_fromgssapi(name, gss_ctx, ring->mctx, &dstkey, 250 name, dns__tsig_algfromname(&tkeyin->algorithm), dstkey, 254 dst_key_free(&dstkey); 293 if (dstkey != NULL) { 294 dst_key_free(&dstkey); 628 dst_key_t *dstkey = NULL; local 685 CHECK(dst_key_fromgssapi(dns_rootname, *context, rmsg->mctx, &dstkey, 693 CHECK(dns_tsigkey_createfromkey(tkeyname, DST_ALG_GSSAPI, dstkey, true, 703 dst_key_free(&dstkey); [all...] |
| dnssec.c | 1028 dst_key_t *dstkey = NULL; local 1040 result = dns_dnssec_keyfromrdata(name, rdata, mctx, &dstkey); 1047 keytag = dst_key_id(dstkey); 1057 result = dns_dnssec_verify(name, rdataset, dstkey, 1061 dst_key_free(&dstkey); 1066 dst_key_free(&dstkey); 1071 dns_dnsseckey_create(isc_mem_t *mctx, dst_key_t **dstkey, 1080 dk->key = *dstkey; 1081 *dstkey = NULL; 1200 dst_key_t *dstkey = NULL local [all...] |
| tsig.c | 212 dst_key_t *dstkey, bool generated, bool restored, 239 if (dstkey != NULL && dst_key_alg(dstkey) != algorithm) { 243 } else if (dstkey != NULL) { 254 if (dstkey != NULL) { 255 dst_key_attach(dstkey, &tkey->key); 264 if (dstkey != NULL && dst_key_size(dstkey) < 64 && 341 dst_key_t *dstkey = NULL; local 399 ring->mctx, keystr, &dstkey); 490 dst_key_t *dstkey = NULL; local [all...] |
| validator.c | 1371 dst_key_t *dstkey = NULL; local 1407 name, &keyrdata, mctx, &dstkey); 1421 dst_key_free(&dstkey); 1425 name, rdataset, dstkey, true, 1448 dst_key_free(&dstkey); 1454 dst_key_free(&dstkey); 1935 dst_key_t *dstkey = NULL; local 1951 if (dstkey == NULL) { 1953 val->name, keyrdata, val->view->mctx, &dstkey); 1958 result = verify(val, dstkey, &rdata, sig.keyid) [all...] |
| zone.c | 4316 dst_key_t *dstkey = NULL; local 4322 result = dns_dnssec_keyfromrdata(name, &rdata, mctx, &dstkey); 4324 *tag = dst_key_id(dstkey); 4325 dst_key_free(&dstkey); 10296 dst_key_t *dstkey = NULL; local 10312 result = dns_dnssec_keyfromrdata(keyname, &rr, mctx, &dstkey); 10330 if (dst_key_alg(dstkey) == sig.algorithm && 10331 dst_key_rid(dstkey) == sig.keyid) 10334 keyname, &kfetch->dnskeyset, dstkey, false, 0, 10348 dst_key_free(&dstkey); 10380 dst_key_t *dstkey = NULL; local 16460 dst_key_t *dstkey = NULL; local [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| 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, 1288 dk->key = *dstkey; 1289 *dstkey = NULL; 1411 dst_key_t *dstkey = NULL local [all...] |
| 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...] |
| 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); 671 dst_key_t *dstkey = NULL; local [all...] |
| 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...] |
| 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...] |
| /src/external/bsd/libbind/dist/tests/ |
| 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);
|
| /src/external/mpl/bind/dist/bin/dig/ |
| dighost.c | 1151 dst_key_t *dstkey = NULL; local 1161 keyfile, NULL, DST_TYPE_PRIVATE | DST_TYPE_KEY, mctx, &dstkey); 1177 switch (dst_key_alg(dstkey)) { 1184 hmac_alg = dst_key_alg(dstkey); 1187 dst_key_attach(dstkey, &sig0key); 1188 dst_key_free(&dstkey); 1192 if (dstkey != NULL) { 1194 dst_key_name(dstkey), hmac_alg, dstkey, false, false, 1203 if (dstkey != NULL) [all...] |
| /src/external/mpl/bind/dist/bin/nsupdate/ |
| nsupdate.c | 629 dst_key_t *dstkey = NULL; local 641 keyfile, NULL, DST_TYPE_PRIVATE | DST_TYPE_KEY, mctx, &dstkey); 660 switch (dst_key_alg(dstkey)) { 667 hmac_alg = dst_key_alg(dstkey); 670 dst_key_attach(dstkey, &sig0key); 671 dst_key_free(&dstkey); 675 result = dns_tsigkey_createfromkey(dst_key_name(dstkey), hmac_alg, 676 dstkey, false, false, NULL, 0, 0, 678 dst_key_free(&dstkey);
|