Searched refs:has_mac (Results 1 - 5 of 5) sorted by relevance

/macosx-10.10/ntp-92/sntp/
H A Dnetworking.c350 int is_authentic, has_mac = 0, orig_pkt_len; local
365 has_mac = 0;
369 has_mac = pkt_len - LEN_PKT_NOMAC;
401 if (has_mac) {
403 if (has_mac > MAX_MAC_LEN || has_mac % 4 != 0) {
407 if (MAX_MAC_LEN == has_mac) {
418 if (!auth_md5((char *) rpkt, has_mac, pkt_key)) {
532 int has_mac, is_authentic, pkt_len, orig_pkt_len; local
560 has_mac
[all...]
/macosx-10.10/ntp-92/ntpd/
H A Dntp_proto.c306 int has_mac; /* length of MAC field */ local
433 has_mac = rbufp->recv_length - authlen;
434 while (has_mac != 0) {
437 if (has_mac % 4 != 0 || has_mac < MIN_MAC_LEN) {
441 if (has_mac <= MAX_MAC_LEN) {
454 has_mac -= len;
461 if (restrict_mask & RES_DONTTRUST && has_mac == 0) {
537 if (has_mac == 0) {
548 } else if (has_mac
[all...]
H A Dntp_crypto.c391 int has_mac; /* length of MAC field */ local
419 while ((has_mac = rbufp->recv_length - authlen) > MAX_MAC_LEN) {
/macosx-10.10/ntp-92/ntpdate/
H A Dntpdate.c749 int has_mac; local
759 has_mac = 0;
761 has_mac = 1;
819 if (has_mac && ntohl(rpkt->exten[0]) == sys_authkey &&
H A Dntptimeset.c975 int has_mac; local
985 has_mac = 0;
987 has_mac = 1;
1048 if (has_mac && ntohl(rpkt->exten[0]) == sys_authkey &&

Completed in 175 milliseconds