Home | History | Annotate | Download | only in dns

Lines Matching refs:tkey

1 /*	$NetBSD: tkey.c,v 1.19 2026/06/19 20:10:00 christos Exp $	*/
48 #include <dns/tkey.h>
179 * accept with tkey-gssapi-credential, or you have to
180 * configure a specific keytab (with tkey-gssapi-keytab) in
184 tkey_log("process_gsstkey(): no tkey-gssapi-credential "
185 "or tkey-gssapi-keytab configured");
266 * We found a TKEY to respond with. If the request is not TSIG signed,
325 * was not generated with TKEY and is in the config file, it may be
367 * Look for a TKEY record that matches the question.
372 tkey_log("dns_tkey_processquery: couldn't find a TKEY "
495 buildquery(dns_message_t *msg, const dns_name_t *name, dns_rdata_tkey_t *tkey) {
506 REQUIRE(tkey != NULL);
508 len = 16 + tkey->algorithm.length + tkey->keylen + tkey->otherlen;
512 dns_rdatatype_tkey, tkey, dynbuf);
552 dns_rdata_tkey_t tkey;
571 tkey = (dns_rdata_tkey_t){
582 dns_name_clone(DNS_TSIG_GSSAPI_NAME, &tkey.algorithm);
584 return buildquery(msg, name, &tkey);
626 dns_rdata_tkey_t rtkey, qtkey, tkey;
651 tkey_log("dns_tkey_gssnegotiate: tkey mode invalid "
666 tkey = (dns_rdata_tkey_t){
678 dns_name_clone(DNS_TSIG_GSSAPI_NAME, &tkey.algorithm);
681 CHECK(buildquery(qmsg, tkeyname, &tkey));