HomeSort by: relevance | last modified time | path
    Searched refs:dstkey (Results 1 - 25 of 27) sorted by relevancy

1 2

  /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/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/dhcp/dist/omapip/
auth.c 82 dst_key_t *dstkey; local
113 &dstkey);
116 dstkey, &a->tsec_key);
117 dst_key_free(&dstkey);
isclib.c 335 dst_key_t **dstkey)
369 &b, dhcp_gbl_ctx.mctx, dstkey));
  /src/external/mpl/bind/dist/lib/dns/
keystore.c 194 dst_key_t **dstkey) {
203 REQUIRE(dstkey != NULL && *dstkey == NULL);
264 *dstkey = newkey;
tkey.c 168 dst_key_t *dstkey = NULL; local
226 CHECK(dst_key_fromgssapi(name, gss_ctx, ring->mctx, &dstkey,
240 name, dns__tsig_algfromname(&tkeyin->algorithm), dstkey,
244 dst_key_free(&dstkey);
280 if (dstkey == NULL && gss_ctx != NULL) {
286 if (dstkey != NULL) {
287 dst_key_free(&dstkey);
628 dst_key_t *dstkey = NULL; local
685 CHECK(dst_key_fromgssapi(dns_rootname, *context, rmsg->mctx, &dstkey,
692 CHECK(dns_tsigkey_createfromkey(tkeyname, DST_ALG_GSSAPI, dstkey, true
    [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...]
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...]
validator.c 1405 dst_key_t *dstkey = NULL; local
1441 name, &keyrdata, mctx, &dstkey);
1455 dst_key_free(&dstkey);
1461 name, rdataset, dstkey, true,
1482 dst_key_free(&dstkey);
1488 dst_key_free(&dstkey);
1972 dst_key_t *dstkey = NULL; local
1977 &dstkey);
1996 result = verify(val, dstkey, &rdata, sig.keyid);
2002 dst_key_free(&dstkey);
    [all...]
  /src/external/mpl/bind/dist/bin/dnssec/
dnssectool.h 113 key_collision(dst_key_t *dstkey, dns_name_t *name, const char *dir,
dnssectool.c 483 key_collision(dst_key_t *dstkey, dns_name_t *name, const char *dir,
496 id = dst_key_id(dstkey);
497 rid = dst_key_rid(dstkey);
498 alg = dst_key_alg(dstkey);
  /src/external/mpl/bind/dist/lib/dns/include/dns/
keystore.h 171 dst_key_t **dstkey);
185 *\li 'dstkey' is not NULL and '*dstkey' is NULL.
dnssec.h 256 dns_dnsseckey_create(isc_mem_t *mctx, dst_key_t **dstkey,
tsig.h 124 dst_key_t *dstkey, bool generated, bool restored,
143 * dstkey != NULL; this allows a transient key with an invalid
147 * 'dstkey' will have been made.
150 * dstkey, generated, restored, inception, and expired (defaulting
158 *\li 'dstkey' is a valid dst key or NULL
  /src/external/mpl/dhcp/bind/dist/lib/dns/
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...]
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...]
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...]
  /src/external/mpl/dhcp/bind/dist/lib/dns/include/dns/
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
dnssec.h 252 dns_dnsseckey_create(isc_mem_t *mctx, dst_key_t **dstkey,
  /src/external/mpl/dhcp/dist/includes/omapip/
isclib.h 133 dst_key_t **dstkey);
  /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);

Completed in 110 milliseconds

1 2