Lines Matching defs:tsig
1331 AuthRecord tsig;
1347 // Construct TSIG RR, digesting variables as apporpriate
1348 mDNS_SetupResourceRecord(&tsig, mDNSNULL, 0, kDNSType_TSIG, 0, kDNSRecordTypeKnownUnique, AuthRecordAny, mDNSNULL, mDNSNULL);
1351 AssignDomainName(&tsig.namestorage, &info->keyname);
1355 tsig.resrec.rrclass = kDNSQClass_ANY;
1360 tsig.resrec.rroriginalttl = 0;
1361 MD5_Update(&c, (mDNSu8 *)&tsig.resrec.rroriginalttl, sizeof(tsig.resrec.rroriginalttl));
1364 AssignDomainName(&tsig.resrec.rdata->u.name, &HMAC_MD5_AlgName);
1366 rdata = tsig.resrec.rdata->u.data + len;
1397 // finish the message & tsig var hash
1420 tsig.resrec.rdlength = (mDNSu16)(rdata - tsig.resrec.rdata->u.data);
1421 *end = PutResourceRecordTTLJumbo(msg, ptr, &numAdditionals, &tsig.resrec, 0);
1422 if (!*end) { LogMsg("ERROR: DNSDigest_SignMessage - could not put TSIG"); *end = mDNSNULL; return; }
1451 LogMsg("ERROR: DNSDigest_VerifyMessage - TSIG algorithm not supported: %##s", algo->c);
1546 // Finish the message & tsig var hash