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

1 2

  /src/external/mpl/dhcp/bind/dist/lib/dns/
tsec.c 39 dns_tsigkey_t *tsigkey; member in union:dns_tsec::__anon24347
49 dns_tsigkey_t *tsigkey = NULL; local
87 NULL, &tsigkey);
92 tsec->ukey.tsigkey = tsigkey;
118 dns_tsigkey_detach(&tsec->ukey.tsigkey);
145 dns_tsigkey_attach(tsec->ukey.tsigkey, (dns_tsigkey_t **)keyp);
tsig.c 652 dns_tsigkey_identity(const dns_tsigkey_t *tsigkey) {
653 REQUIRE(tsigkey == NULL || VALID_TSIG_KEY(tsigkey));
655 if (tsigkey == NULL) {
658 if (tsigkey->generated) {
659 return (tsigkey->creator);
661 return (&tsigkey->name);
1084 dns_tsigkey_t *tsigkey; local
1096 tsigkey = dns_message_gettsigkey(msg);
1099 REQUIRE(tsigkey == NULL || VALID_TSIG_KEY(tsigkey))
1436 dns_tsigkey_t *tsigkey; local
    [all...]
tkey.c 510 dns_tsigkey_t *tsigkey = NULL; local
547 result = dns_tsigkey_find(&tsigkey, name, &tkeyin->algorithm, ring);
549 gss_ctx = dst_key_getgssctx(tsigkey->key);
561 if (tsigkey != NULL) {
562 dns_tsigkey_detach(&tsigkey);
579 if (tsigkey != NULL) {
580 dns_tsigkey_detach(&tsigkey);
582 } else if (tsigkey == NULL) {
603 expire, ring->mctx, ring, &tsigkey));
608 tkeyout->inception = tsigkey->inception
667 dns_tsigkey_t *tsigkey = NULL; local
813 dns_tsigkey_t *tsigkey = NULL; local
1438 dns_tsigkey_t *tsigkey = NULL; local
    [all...]
xfrin.c 167 dns_tsigkey_t *tsigkey; /*%< Key used to create TSIG */ member in struct:dns_xfrin_ctx
205 dns_tsigkey_t *tsigkey, dns_xfrin_ctx_t **xfrp);
703 dns_tsigkey_t *tsigkey, isc_mem_t *mctx,
722 sourceaddr, dscp, tsigkey, &xfr));
853 dns_tsigkey_t *tsigkey, dns_xfrin_ctx_t **xfrp) {
912 xfr->tsigkey = NULL;
913 if (tsigkey != NULL) {
914 dns_tsigkey_attach(tsigkey, &xfr->tsigkey);
960 if (xfr->tsigkey != NULL)
    [all...]
message.c 411 m->tsigkey = NULL;
628 if (msg->tsigkey != NULL) {
629 dns_tsigkey_detach(&msg->tsigkey);
630 msg->tsigkey = NULL;
2339 if ((msg->tsigkey != NULL || msg->sig0key != NULL || msg->opt) &&
2436 if (msg->tsigkey != NULL) {
2833 if (msg->tsigkey != NULL) {
2840 msg->sig_reserved = spacefortsig(msg->tsigkey, otherlen);
2947 if (key == NULL && msg->tsigkey != NULL) {
2952 dns_tsigkey_detach(&msg->tsigkey);
    [all...]
client.c 189 dns_tsigkey_t *tsigkey; member in struct:reqctx
249 dns_tsigkey_t *tsigkey; member in struct:updatectx
1509 if (ctx->tsigkey != NULL) {
1510 dns_tsigkey_detach(&ctx->tsigkey);
1689 ctx->tsigkey = NULL;
1691 dns_tsec_getkey(tsec, &ctx->tsigkey);
1703 -1, reqoptions, ctx->tsigkey, timeout,
1819 if (uctx->tsigkey != NULL) {
1820 dns_tsigkey_detach(&uctx->tsigkey);
1906 uctx->currentserver, -1, reqoptions, uctx->tsigkey,
    [all...]
request.c 84 dns_tsigkey_t *tsigkey; member in struct:dns_request
478 request->tsigkey = NULL;
947 dns_tsigkey_attach(key, &request->tsigkey);
970 result = dns_message_settsigkey(message, request->tsigkey);
1212 result = dns_message_settsigkey(message, request->tsigkey);
1220 if (request->tsigkey != NULL) {
1486 if (request->tsigkey != NULL) {
1487 dns_tsigkey_detach(&request->tsigkey);
  /src/external/mpl/bind/dist/bin/named/
tsigconf.c 38 dns_tsigkey_t *tsigkey = NULL; local
109 &tsigkey);
113 ret = dns_tsigkeyring_add(ring, tsigkey);
116 if (tsigkey != NULL) {
117 dns_tsigkey_detach(&tsigkey);
124 dst_key_setbits(tsigkey->key, bits);
125 dns_tsigkey_detach(&tsigkey);
  /src/external/mpl/bind/dist/lib/ns/
notify.c 84 dns_tsigkey_t *tsigkey; local
132 tsigkey = dns_message_gettsigkey(request);
133 if (tsigkey != NULL) {
134 dns_name_format(tsigkey->name, namebuf, sizeof(namebuf));
136 if (tsigkey->generated) {
138 dns_name_format(tsigkey->creator, cnamebuf,
xfrout.c 658 dns_tsigkey_t *tsigkey; /* Key used to create TSIG */ member in struct:__anon49
684 dns_tsigkey_t *tsigkey, isc_buffer_t *lasttsig,
1116 if (xfr->tsigkey != NULL) {
1117 dns_name_format(xfr->tsigkey->name, keyname, sizeof(keyname));
1126 (xfr->tsigkey != NULL) ? ": TSIG " : "", keyname);
1130 (xfr->tsigkey != NULL) ? ": TSIG " : "", keyname,
1135 (xfr->tsigkey != NULL) ? ": TSIG " : "", keyname,
1225 dns_tsigkey_t *tsigkey, isc_buffer_t *lasttsig,
1244 .tsigkey = tsigkey,
    [all...]
client.c 624 if (client->message->tsigkey != NULL) {
625 name = client->message->tsigkey->name;
803 if (client->message->tsigkey != NULL) {
2124 client->async = (client->message->tsigkey == NULL &&
2328 if (client->message->tsigkey->generated) {
2330 client->message->tsigkey->creator,
  /src/external/mpl/dhcp/bind/dist/lib/dns/include/dns/
xfrin.h 55 dns_tsigkey_t *tsigkey, isc_mem_t *mctx,
tsig.h 94 dns_tsigkey_identity(const dns_tsigkey_t *tsigkey);
99 *\li 'tsigkey' is a valid TSIG key or NULL
102 *\li NULL if 'tsigkey' was NULL
191 *\li 'msg->tsigkey' is a valid TSIG key
211 *\li 'msg->tsigkey' is a valid TSIG key if this is a response
232 dns_tsigkey_find(dns_tsigkey_t **tsigkey, const dns_name_t *name,
239 *\li 'tsigkey' is not NULL
240 *\li '*tsigkey' is NULL
message.h 270 dns_tsigkey_t *tsigkey; member in struct:dns_message
  /src/external/mpl/bind/dist/lib/dns/
tsig.c 473 dns_tsigkey_identity(const dns_tsigkey_t *tsigkey) {
474 REQUIRE(tsigkey == NULL || VALID_TSIGKEY(tsigkey));
476 if (tsigkey == NULL) {
479 if (tsigkey->generated) {
480 return tsigkey->creator;
482 return tsigkey->name;
852 dns_tsigkey_t *tsigkey = NULL; local
864 tsigkey = dns_message_gettsigkey(msg);
867 REQUIRE(tsigkey == NULL || VALID_TSIGKEY(tsigkey))
1213 dns_tsigkey_t *tsigkey = NULL; local
    [all...]
tkey.c 169 dns_tsigkey_t *tsigkey = NULL; local
220 } else if (tsigkey == NULL) {
242 &tsigkey));
243 CHECK(dns_tsigkeyring_add(ring, tsigkey));
248 tkeyout->inception = tsigkey->inception;
249 tkeyout->expire = tsigkey->expire;
270 if (tsigkey != NULL) {
271 if (msg->tsigkey == NULL && msg->sig0key == NULL) {
272 dns_message_settsigkey(msg, tsigkey);
274 dns_tsigkey_detach(&tsigkey);
304 dns_tsigkey_t *tsigkey = NULL; local
350 dns_tsigkey_t *tsigkey = NULL; local
630 dns_tsigkey_t *tsigkey = NULL; local
    [all...]
xfrin.c 194 dns_tsigkey_t *tsigkey; /*%< Key used to create TSIG */ member in struct:dns_xfrin
252 const isc_sockaddr_t *sourceaddr, dns_tsigkey_t *tsigkey,
972 const isc_sockaddr_t *sourceaddr, dns_tsigkey_t *tsigkey,
995 xfrtype, primaryaddr, sourceaddr, tsigkey,
1187 if (xfr->tsigkey == NULL || xfr->tsigkey->key == NULL) {
1191 return dst_key_name(xfr->tsigkey->key);
1298 const isc_sockaddr_t *sourceaddr, dns_tsigkey_t *tsigkey,
1343 if (tsigkey != NULL) {
1344 dns_tsigkey_attach(tsigkey, &xfr->tsigkey)
    [all...]
request.c 84 dns_tsigkey_t *tsigkey; member in struct:dns_request
569 dns_tsigkey_attach(key, &request->tsigkey);
572 result = dns_message_settsigkey(message, request->tsigkey);
780 result = dns_message_settsigkey(message, request->tsigkey);
788 if (request->tsigkey != NULL) {
1003 if (request->tsigkey != NULL) {
1004 dns_tsigkey_detach(&request->tsigkey);
message.c 432 m->tsigkey = NULL;
637 if (msg->tsigkey != NULL) {
638 dns_tsigkey_detach(&msg->tsigkey);
639 msg->tsigkey = NULL;
2273 if ((msg->tsigkey != NULL || msg->sig0key != NULL || msg->opt) &&
2370 if (msg->tsigkey != NULL) {
2743 if (msg->tsigkey != NULL) {
2750 msg->sig_reserved = spacefortsig(msg->tsigkey, otherlen);
2859 if (key == NULL && msg->tsigkey != NULL) {
2864 dns_tsigkey_detach(&msg->tsigkey);
    [all...]
  /src/external/mpl/bind/dist/lib/dns/include/dns/
xfrin.h 59 const isc_sockaddr_t *sourceaddr, dns_tsigkey_t *tsigkey,
tsig.h 105 dns_tsigkey_identity(const dns_tsigkey_t *tsigkey);
110 *\li 'tsigkey' is a valid TSIG key or NULL
113 *\li NULL if 'tsigkey' was NULL
188 *\li 'msg->tsigkey' is a valid TSIG key
208 *\li 'msg->tsigkey' is a valid TSIG key if this is a response
250 * Returns the key algorithm associated with a tsigkey object.
252 * Note that when a tsigkey object is created with algorithm
254 * into tsigkey->algname.
  /src/external/mpl/bind/dist/fuzz/
dns_message_checksig.c 93 static dns_tsigkey_t *tsigkey = NULL; variable
207 sizeof(secret), mctx, &tsigkey);
213 result = dns_tsigkeyring_add(ring, tsigkey);
450 result = dns_message_settsigkey(message, tsigkey);
  /src/external/mpl/bind/dist/bin/nsupdate/
nsupdate.c 143 static dns_tsigkey_t *tsigkey = NULL; variable
377 if (tsigkey != NULL) {
378 dns_tsigkey_detach(&tsigkey);
548 gmctx, &tsigkey);
553 dst_key_setbits(tsigkey->key, digestbits);
677 mctx, &tsigkey);
709 if (tsigkey != NULL) {
711 dns_tsigkey_detach(&tsigkey);
1772 if (tsigkey != NULL) {
1773 dns_tsigkey_detach(&tsigkey);
    [all...]
  /src/external/mpl/bind/dist/bin/dig/
dighost.c 147 dns_tsigkey_t *tsigkey = NULL; variable
899 (int)secretsize, mctx, &tsigkey);
905 dst_key_setbits(tsigkey->key, digestbits);
1195 NULL, 0, 0, mctx, &tsigkey);
2442 if (tsigkey != NULL) {
2444 result = dns_message_settsigkey(lookup->sendmsg, tsigkey);
4216 if (tsigkey != NULL) {
4224 result = dns_message_settsigkey(msg, tsigkey);
4440 if (tsigkey != NULL) {
4762 if (tsigkey != NULL)
    [all...]
dighost.h 273 extern dns_tsigkey_t *tsigkey;

Completed in 48 milliseconds

1 2