Lines Matching refs:counter
45 unsigned int counter, counter_too_small; member
697 unsigned int counter; in eap_sim_response_reauth() local
710 counter = data->counter_too_small; in eap_sim_response_reauth()
712 counter = data->counter; in eap_sim_response_reauth()
714 wpa_printf(MSG_DEBUG, " *AT_COUNTER %d", counter); in eap_sim_response_reauth()
715 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, counter, NULL, 0); in eap_sim_response_reauth()
748 wpa_printf(MSG_DEBUG, " *AT_COUNTER %d", data->counter); in eap_sim_response_notification()
749 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, data->counter, in eap_sim_response_notification()
969 data->counter = 0; in eap_sim_process_challenge()
995 if (eattr.counter < 0 || (size_t) eattr.counter != data->counter) { in eap_sim_process_notification_reauth()
1134 if (eattr.nonce_s == NULL || eattr.counter < 0) { in eap_sim_process_reauthentication()
1137 eattr.counter < 0 ? " AT_COUNTER" : ""); in eap_sim_process_reauthentication()
1143 if (eattr.counter < 0 || (size_t) eattr.counter <= data->counter) { in eap_sim_process_reauthentication()
1146 "(%d <= %d)", eattr.counter, data->counter); in eap_sim_process_reauthentication()
1147 data->counter_too_small = eattr.counter; in eap_sim_process_reauthentication()
1159 data->counter = eattr.counter; in eap_sim_process_reauthentication()
1165 eap_sim_derive_keys_reauth(data->counter, in eap_sim_process_reauthentication()
1182 if (data->counter > EAP_SIM_MAX_FAST_REAUTHS) { in eap_sim_process_reauthentication()