Lines Matching defs:has_mac
642 int has_mac; /* length of MAC field */
859 has_mac = rbufp->recv_length - authlen;
860 while (has_mac > 0) {
867 if (has_mac % 4 != 0 || has_mac < (int)MIN_MAC_LEN) {
876 if (has_mac <= (int)MAX_MAC_LEN) {
919 has_mac -= len;
924 * If has_mac is < 0 we had a malformed packet.
926 if (has_mac < 0) {
946 if (restrict_mask & RES_DONTTRUST && has_mac == 0) {
1051 if (has_mac == 0) {
1066 skeyid, authlen + has_mac, is_authentic,
1080 } else if ( has_mac == MAX_MD5_LEN
1096 * has_mac is not 0
1137 if (has_mac < (int)MAX_MD5_LEN) {
1201 has_mac))
1212 skeyid, authlen + has_mac, is_authentic,
1246 * if has_mac != 0 ...
1251 if (0 != has_mac) {
1257 has_mac)) {
1733 (authlen + has_mac), is_authentic));
2217 } else if (!AUTH(peer->keyid || has_mac ||
2230 if ( has_mac