Home | History | Annotate | Download | only in dns

Lines Matching defs:tkeyin

351 	       dns_rdata_tkey_t *tkeyin, dns_tkeyctx_t *tctx,
374 if (!dns_name_equal(&tkeyin->algorithm, DNS_TSIG_HMACMD5_NAME)) {
469 r2.base = tkeyin->key;
470 r2.length = tkeyin->keylen;
475 name, &tkeyin->algorithm, isc_buffer_base(&secret),
476 isc_buffer_usedlength(&secret), true, signer, tkeyin->inception,
477 tkeyin->expire, ring->mctx, ring, NULL));
480 tkeyout->inception = tkeyin->inception;
481 tkeyout->expire = tkeyin->expire;
505 process_gsstkey(dns_message_t *msg, dns_name_t *name, dns_rdata_tkey_t *tkeyin,
530 if (!dns_name_equal(&tkeyin->algorithm, DNS_TSIG_GSSAPI_NAME) &&
531 !dns_name_equal(&tkeyin->algorithm, DNS_TSIG_GSSAPIMS_NAME))
544 intoken.base = tkeyin->key;
545 intoken.length = tkeyin->keylen;
547 result = dns_tsigkey_find(&tsigkey, name, &tkeyin->algorithm, ring);
602 name, &tkeyin->algorithm, dstkey, true, principal, now,
620 tkeyout->key = isc_mem_get(tkeyout->mctx, tkeyin->keylen);
621 tkeyout->keylen = tkeyin->keylen;
622 memmove(tkeyout->key, tkeyin->key, tkeyin->keylen);
664 dns_rdata_tkey_t *tkeyin, dns_rdata_tkey_t *tkeyout,
670 result = dns_tsigkey_find(&tsigkey, name, &tkeyin->algorithm, ring);
703 dns_rdata_tkey_t tkeyin, tkeyout;
761 RETERR(dns_rdata_tostruct(&rdata, &tkeyin, NULL));
764 if (tkeyin.error != dns_rcode_noerror) {
776 if (tkeyin.mode == DNS_TKEYMODE_GSSAPI &&
790 tkeyout.common.rdclass = tkeyin.common.rdclass;
791 tkeyout.common.rdtype = tkeyin.common.rdtype;
796 dns_name_clone(&tkeyin.algorithm, &tkeyout.algorithm);
799 tkeyout.mode = tkeyin.mode;
812 if (tkeyin.mode != DNS_TKEYMODE_DELETE) {
815 if (tctx->domain == NULL && tkeyin.mode != DNS_TKEYMODE_GSSAPI)
853 if (tkeyin.mode == DNS_TKEYMODE_GSSAPI) {
881 switch (tkeyin.mode) {
884 RETERR(process_dhtkey(msg, signer, keyname, &tkeyin, tctx,
889 RETERR(process_gsstkey(msg, keyname, &tkeyin, tctx, &tkeyout,
894 RETERR(process_deletetkey(signer, keyname, &tkeyin, &tkeyout,
914 dns_rdata_freestruct(&tkeyin);
945 dns_rdata_freestruct(&tkeyin);