Lines Matching refs:has_mac
594 int has_mac; /* length of MAC field */
768 has_mac = rbufp->recv_length - authlen;
769 while (has_mac > 0) {
776 if (has_mac % 4 != 0 || has_mac < (int)MIN_MAC_LEN) {
785 if (has_mac <= (int)MAX_MAC_LEN) {
828 has_mac -= len;
833 * If has_mac is < 0 we had a malformed packet.
835 if (has_mac < 0) {
855 if (restrict_mask & RES_DONTTRUST && has_mac == 0) {
957 if (has_mac == 0) {
972 skeyid, authlen + has_mac, is_authentic,
986 } else if ( has_mac == MAX_MD5_LEN
996 * has_mac is not 0
1037 if (has_mac < (int)MAX_MD5_LEN) {
1101 has_mac))
1112 skeyid, authlen + has_mac, is_authentic,
1146 * if has_mac != 0 ...
1151 if (0 != has_mac) {
1157 has_mac)) {
1591 (authlen + has_mac), is_authentic));
2049 } else if (!AUTH(peer->keyid || has_mac ||
2062 if ( has_mac