Lines Matching defs:counter
35 u16 counter;
148 struct eap_sim_msg *msg, u16 counter,
161 if (data->counter <= EAP_SIM_MAX_FAST_REAUTHS) {
172 counter == 0 && nonce_s == NULL)
179 if (counter > 0) {
180 wpa_printf(MSG_DEBUG, " *AT_COUNTER (%u)", counter);
181 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, counter, NULL, 0);
262 eap_sim_derive_keys_reauth(data->counter, sm->identity,
269 if (eap_sim_build_encr(sm, data, msg, data->counter, data->nonce_s)) {
304 data->counter);
305 eap_sim_msg_add(msg, EAP_SIM_AT_COUNTER, data->counter,
472 data->counter = data->reauth->counter;
520 data->counter = 0; /* reset re-auth counter since this is full auth */
596 data->next_reauth_id, data->counter + 1,
634 if (eattr.counter != data->counter) {
636 "used incorrect counter %u, expected %u",
637 eattr.counter, data->counter);
665 data->counter + 1, data->mk);