Searched defs:ring (Results 1 - 10 of 10) sorted by relevance

/bind-9.11.3/lib/dns/include/dns/
H A Dtsig.h82 dns_tsig_keyring_t *ring; /*%< the enclosing keyring */ member in struct:dns_tsigkey
99 dns_tsig_keyring_t *ring, dns_tsigkey_t **key);
106 dns_tsig_keyring_t *ring, dns_tsigkey_t **key);
128 *\li 'ring' is a valid TSIG keyring or NULL
221 dns_name_t *algorithm, dns_tsig_keyring_t *ring);
231 *\li 'ring' is a valid keyring
242 * Create an empty TSIG key ring.
254 dns_tsigkeyring_add(dns_tsig_keyring_t *ring, dns_name_t *name,
257 * Place a TSIG key onto a key ring.
260 *\li 'ring', 'nam
[all...]
/bind-9.11.3/bin/named/
H A Dtsigconf.c32 add_initial_keys(const cfg_obj_t *list, dns_tsig_keyring_t *ring, argument
110 mctx, ring, &tsigkey);
140 dns_tsig_keyring_t *ring = NULL; local
153 result = dns_tsigkeyring_create(mctx, &ring);
164 result = add_initial_keys(keylist, ring, mctx);
169 *ringp = ring;
173 dns_tsigkeyring_detach(&ring);
H A Dserver.c3269 dns_tsig_keyring_t *ring = NULL; local
4112 CHECK(ns_tsigkeyring_fromconfig(config, vconfig, view->mctx, &ring));
4114 CHECK(dns_tsigkeyring_add(ring, ns_g_server->session_keyname,
4117 dns_view_setkeyring(view, ring);
4118 dns_tsigkeyring_detach(&ring);
4121 * See if we can re-use a dynamic key ring.
4128 dns_view_getdynamickeyring(pview, &ring);
4129 if (ring != NULL)
4130 dns_view_setdynamickeyring(view, ring);
4131 dns_tsigkeyring_detach(&ring);
10685 delete_keynames(dns_tsig_keyring_t *ring, char *target, unsigned int *foundkeys) argument
10797 list_keynames(dns_view_t *view, dns_tsig_keyring_t *ring, isc_buffer_t **text, unsigned int *foundkeys) argument
[all...]
/bind-9.11.3/bin/tests/system/tkey/
H A Dkeydelete.c58 static dns_tsig_keyring_t *ring; variable
94 result = dns_tkey_processdeleteresponse(query, response, ring);
206 ring = NULL;
207 RUNCHECK(dns_tsigkeyring_create(mctx, &ring));
213 dns_view_setkeyring(view, ring);
229 mctx, ring, &tsigkey);
250 dns_tsigkeyring_detach(&ring);
H A Dkeycreate.c59 static dns_tsig_keyring_t *ring; variable
103 &tsigkey, ring);
174 ISC_FALSE, NULL, 0, 0, mctx, ring,
276 ring = NULL;
277 RUNCHECK(dns_tsigkeyring_create(mctx, &ring));
283 dns_view_setkeyring(view, ring);
284 dns_tsigkeyring_detach(&ring);
/bind-9.11.3/lib/dns/tests/
H A Dtsig_test.c254 dns_tsig_keyring_t *ring = NULL; local
277 result = dns_tsigkeyring_create(mctx, &ring);
282 NULL, 0, 0, mctx, ring, &key);
481 if (ring != NULL)
482 dns_tsigkeyring_detach(&ring);
/bind-9.11.3/bin/tests/dst/
H A Dgsstest.c73 static dns_tsig_keyring_t *ring; variable
303 &tsigkey, ring, NULL);
513 ring = NULL;
514 RUNCHECK(dns_tsigkeyring_create(mctx, &ring));
518 dns_view_setkeyring(view, ring);
/bind-9.11.3/lib/dns/
H A Dtkey.c295 dns_tsig_keyring_t *ring, dns_namelist_t *namelist)
434 tkeyin->expire, ring->mctx, ring, NULL));
460 dns_tsig_keyring_t *ring)
499 result = dns_tsigkey_find(&tsigkey, name, &tkeyin->algorithm, ring);
536 RETERR(dst_key_fromgssapi(name, gss_ctx, ring->mctx,
550 now, expire, ring->mctx, ring,
607 dns_tsig_keyring_t *ring)
613 result = dns_tsigkey_find(&tsigkey, name, &tkeyin->algorithm, ring);
292 process_dhtkey(dns_message_t *msg, dns_name_t *signer, dns_name_t *name, dns_rdata_tkey_t *tkeyin, dns_tkeyctx_t *tctx, dns_rdata_tkey_t *tkeyout, dns_tsig_keyring_t *ring, dns_namelist_t *namelist) argument
458 process_gsstkey(dns_name_t *name, dns_rdata_tkey_t *tkeyin, dns_tkeyctx_t *tctx, dns_rdata_tkey_t *tkeyout, dns_tsig_keyring_t *ring) argument
605 process_deletetkey(dns_name_t *signer, dns_name_t *name, dns_rdata_tkey_t *tkeyin, dns_rdata_tkey_t *tkeyout, dns_tsig_keyring_t *ring) argument
643 dns_tkey_processquery(dns_message_t *msg, dns_tkeyctx_t *tctx, dns_tsig_keyring_t *ring) argument
1146 dns_tkey_processdhresponse(dns_message_t *qmsg, dns_message_t *rmsg, dst_key_t *key, isc_buffer_t *nonce, dns_tsigkey_t **outkey, dns_tsig_keyring_t *ring) argument
1274 dns_tkey_processgssresponse(dns_message_t *qmsg, dns_message_t *rmsg, dns_name_t *gname, gss_ctx_id_t *context, isc_buffer_t *outtoken, dns_tsigkey_t **outkey, dns_tsig_keyring_t *ring, char **err_message) argument
1352 dns_tkey_processdeleteresponse(dns_message_t *qmsg, dns_message_t *rmsg, dns_tsig_keyring_t *ring) argument
1407 dns_tkey_gssnegotiate(dns_message_t *qmsg, dns_message_t *rmsg, dns_name_t *server, gss_ctx_id_t *context, dns_tsigkey_t **outkey, dns_tsig_keyring_t *ring, isc_boolean_t win2k, char **err_message) argument
1508 ring->mctx, ring, outkey)); local
[all...]
H A Dtsig.c135 cleanup_ring(dns_tsig_keyring_t *ring);
178 ISC_LIST_UNLINK(tkey->ring->lru, tkey, link);
179 tkey->ring->generated--;
181 (void)dns_rbt_deletename(tkey->ring->keys, &tkey->name, ISC_FALSE);
187 RWLOCK(&tkey->ring->lock, isc_rwlocktype_write);
193 tkey->ring->lru.tail != tkey)
195 ISC_LIST_UNLINK(tkey->ring->lru, tkey, link);
196 ISC_LIST_APPEND(tkey->ring->lru, tkey, link);
198 RWUNLOCK(&tkey->ring->lock, isc_rwlocktype_write);
203 * A supplemental routine just to add a key to ring
210 keyring_add(dns_tsig_keyring_t *ring, dns_name_t *name, dns_tsigkey_t *tkey) argument
243 dns_tsigkey_createfromkey(dns_name_t *name, dns_name_t *algorithm, dst_key_t *dstkey, isc_boolean_t generated, 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
434 cleanup_ring(dns_tsig_keyring_t *ring) argument
488 destroyring(dns_tsig_keyring_t *ring) argument
520 restore_key(dns_tsig_keyring_t *ring, isc_stdtime_t now, FILE *fp) argument
620 dns_tsig_keyring_t *ring; local
671 dns_tsigkey_create(dns_name_t *name, dns_name_t *algorithm, unsigned char *secret, int length, isc_boolean_t generated, 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
1846 dns_tsigkey_find(dns_tsigkey_t **tsigkey, dns_name_t *name, dns_name_t *algorithm, dns_tsig_keyring_t *ring) argument
1921 dns_tsig_keyring_t *ring; local
1958 dns_tsigkeyring_add(dns_tsig_keyring_t *ring, dns_name_t *name, dns_tsigkey_t *tkey) argument
1986 dns_tsig_keyring_t *ring; local
2006 dns_keyring_restore(dns_tsig_keyring_t *ring, FILE *fp) argument
[all...]
H A Dview.c884 dns_view_setkeyring(dns_view_t *view, dns_tsig_keyring_t *ring) { argument
886 REQUIRE(ring != NULL);
889 dns_tsigkeyring_attach(ring, &view->statickeys);
893 dns_view_setdynamickeyring(dns_view_t *view, dns_tsig_keyring_t *ring) { argument
895 REQUIRE(ring != NULL);
898 dns_tsigkeyring_attach(ring, &view->dynamickeys);

Completed in 48 milliseconds