Searched refs:MAX_MAC_LEN (Results 1 - 9 of 9) sorted by relevance

/macosx-10.10.1/ntp-92/libntp/
H A Dssl_init.c98 if (digest_len + sizeof(keyid_t) > MAX_MAC_LEN) {
102 MAX_MAC_LEN - sizeof(keyid_t));
106 MAX_MAC_LEN - sizeof(keyid_t));
/macosx-10.10.1/ntp-92/sntp/
H A Dnetworking.c379 if(pkt_len > LEN_PKT_NOMAC + MAX_MAC_LEN) {
403 if (has_mac > MAX_MAC_LEN || has_mac % 4 != 0) {
407 if (MAX_MAC_LEN == has_mac) {
600 if(has_mac > MAX_MAC_LEN || has_mac % 4 != 0) {
604 if (MAX_MAC_LEN == has_mac) {
/macosx-10.10.1/ntp-92/include/
H A Dntp_control.h15 u_char data[(480 + MAX_MAC_LEN)]; /* data + auth */
H A Dntp_request.h139 char mac[MAX_MAC_LEN-sizeof(keyid_t)]; /* (optional) auth code */
149 char mac[MAX_MAC_LEN-sizeof(keyid_t)]; /* (optional) auth code */
158 (sizeof(struct req_pkt_tail) - (MAX_MAC_LEN - MAX_MD5_LEN))
H A Dntp.h558 #define MAX_MAC_LEN (6 * sizeof(u_int32)) /* SHA */ macro
575 u_char mac[MAX_MAC_LEN]; /* mac */
/macosx-10.10.1/ntp-92/ntpd/
H A Dntp_crypto.c419 while ((has_mac = rbufp->recv_length - authlen) > MAX_MAC_LEN) {
1729 if (start + len > sizeof(struct pkt) - MAX_MAC_LEN)
H A Dntp_proto.c441 if (has_mac <= MAX_MAC_LEN) {
3347 if (rbufp->recv_length > sendlen + MAX_MAC_LEN) {
H A Dntp_request.c570 if (recv_len > (noslop_len + MAX_MAC_LEN))
599 if (recv_len > REQ_LEN_NOMAC + MAX_MAC_LEN) {
H A Dntp_control.c768 maclen >= MIN_MAC_LEN && maclen <= MAX_MAC_LEN &&

Completed in 380 milliseconds