• Home
  • Raw
  • Download

Lines Matching refs:mDNSu8

40 mDNSlocal mDNSu16 NToH16(mDNSu8 * bytes)  in NToH16()
45 mDNSlocal mDNSu32 NToH32(mDNSu8 * bytes) in NToH32()
1161 mDNSlocal mDNSs32 DNSDigest_Base64ToBin(const char *src, mDNSu8 *target, mDNSu32 targsize) in DNSDigest_Base64ToBin()
1185 target[tarindex] = (mDNSu8)((pos - Base64) << 2); in DNSDigest_Base64ToBin()
1194 target[tarindex+1] = (mDNSu8)(((pos - Base64) & 0x0f) << 4); in DNSDigest_Base64ToBin()
1204 target[tarindex+1] = (mDNSu8)(((pos - Base64) & 0x03) << 6); in DNSDigest_Base64ToBin()
1291 mDNSlocal void DNSDigest_ConstructHMACKey(DomainAuthInfo *info, const mDNSu8 *key, mDNSu32 len) in DNSDigest_ConstructHMACKey()
1294 mDNSu8 buf[MD5_LEN]; in DNSDigest_ConstructHMACKey()
1324 mDNSu8 keybuf[1024]; in DNSDigest_ConstructHMACKeyfromBase64()
1331 mDNSexport void DNSDigest_SignMessage(DNSMessage *msg, mDNSu8 **end, DomainAuthInfo *info, mDNSu16 … in DNSDigest_SignMessage()
1334mDNSu8 *rdata, *const countPtr = (mDNSu8 *)&msg->h.numAdditionals; // Get existing numAdditionals… in DNSDigest_SignMessage()
1336 mDNSu8 utc48[6]; in DNSDigest_SignMessage()
1337 mDNSu8 digest[MD5_LEN]; in DNSDigest_SignMessage()
1338 mDNSu8 *ptr = *end; in DNSDigest_SignMessage()
1347 MD5_Update(&c, (mDNSu8 *)msg, (unsigned long)(*end - (mDNSu8 *)msg)); in DNSDigest_SignMessage()
1363 MD5_Update(&c, (mDNSu8 *)&tsig.resrec.rroriginalttl, sizeof(tsig.resrec.rroriginalttl)); in DNSDigest_SignMessage()
1377 utc48[2] = (mDNSu8)((utc32 >> 24) & 0xff); in DNSDigest_SignMessage()
1378 utc48[3] = (mDNSu8)((utc32 >> 16) & 0xff); in DNSDigest_SignMessage()
1379 utc48[4] = (mDNSu8)((utc32 >> 8) & 0xff); in DNSDigest_SignMessage()
1380 utc48[5] = (mDNSu8)( utc32 & 0xff); in DNSDigest_SignMessage()
1387 rdata[0] = (mDNSu8)((300 >> 8) & 0xff); in DNSDigest_SignMessage()
1388 rdata[1] = (mDNSu8)( 300 & 0xff); in DNSDigest_SignMessage()
1393 buf.b[0] = (mDNSu8)((tcode >> 8) & 0xff); in DNSDigest_SignMessage()
1394 buf.b[1] = (mDNSu8)( tcode & 0xff); in DNSDigest_SignMessage()
1409 rdata[0] = (mDNSu8)((MD5_LEN >> 8) & 0xff); in DNSDigest_SignMessage()
1410 rdata[1] = (mDNSu8)( MD5_LEN & 0xff); in DNSDigest_SignMessage()
1416 rdata[2] = (mDNSu8)((tcode >> 8) & 0xff); in DNSDigest_SignMessage()
1417 rdata[3] = (mDNSu8)( tcode & 0xff); in DNSDigest_SignMessage()
1427 countPtr[0] = (mDNSu8)(numAdditionals >> 8); in DNSDigest_SignMessage()
1428 countPtr[1] = (mDNSu8)(numAdditionals & 0xFF); in DNSDigest_SignMessage()
1431 mDNSexport mDNSBool DNSDigest_VerifyMessage(DNSMessage *msg, mDNSu8 *end, LargeCacheRecord * lcr, D… in DNSDigest_VerifyMessage()
1433 mDNSu8 * ptr = (mDNSu8*) &lcr->r.resrec.rdata->u.data; in DNSDigest_VerifyMessage()
1436 mDNSu8 thisDigest[MD5_LEN]; in DNSDigest_VerifyMessage()
1437 mDNSu8 thatDigest[MD5_LEN]; in DNSDigest_VerifyMessage()
1440 mDNSu8 utc48[6]; in DNSDigest_VerifyMessage()
1514 MD5_Update(&c, (mDNSu8*) msg, (unsigned long)(end - (mDNSu8*) msg)); in DNSDigest_VerifyMessage()
1527 MD5_Update(&c, (mDNSu8*) &lcr->r.resrec.rroriginalttl, sizeof(lcr->r.resrec.rroriginalttl)); in DNSDigest_VerifyMessage()