Searched refs:reauth (Results 1 - 24 of 24) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_sim_db.c114 "CREATE TABLE reauth("
125 "reauth information");
153 if (!db_table_exists(db, "reauth") &&
252 pos += os_snprintf(pos, end - pos, "INSERT OR REPLACE INTO reauth "
306 struct eap_sim_reauth *reauth = &data->db_tmp_reauth; local
312 reauth->permanent = data->db_tmp_identity;
314 reauth->counter = atoi(argv[i]);
316 hexstr2bin(argv[i], reauth->mk, sizeof(reauth->mk));
318 hexstr2bin(argv[i], reauth
355 db_remove_reauth(struct eap_sim_db_data *data, struct eap_sim_reauth *reauth) argument
1285 eap_sim_db_remove_reauth(struct eap_sim_db_data *data, struct eap_sim_reauth *reauth) argument
[all...]
H A Deap_sim_db.h83 struct eap_sim_reauth *reauth);
H A Deap_server_sim.c36 struct eap_sim_reauth *reauth; member in struct:eap_sim_data
298 if (data->reauth) {
460 data->reauth = eap_sim_db_get_reauth_entry(
463 if (data->reauth == NULL) {
464 wpa_printf(MSG_DEBUG, "EAP-SIM: Unknown reauth "
470 os_strlcpy(data->permanent, data->reauth->permanent,
472 data->counter = data->reauth->counter;
473 os_memcpy(data->mk, data->reauth->mk, EAP_SIM_MK_LEN);
521 data->reauth = NULL;
668 eap_sim_db_remove_reauth(sm->eap_sim_db_priv, data->reauth);
[all...]
H A Deap_server_aka.c40 struct eap_sim_reauth *reauth; member in struct:eap_aka_data
102 data->reauth = eap_sim_db_get_reauth_entry(sm->eap_sim_db_priv,
104 if (data->reauth == NULL) {
105 wpa_printf(MSG_DEBUG, "EAP-AKA: Unknown reauth identity - "
112 os_strlcpy(data->permanent, data->reauth->permanent,
114 data->counter = data->reauth->counter;
116 os_memcpy(data->k_encr, data->reauth->k_encr,
118 os_memcpy(data->k_aut, data->reauth->k_aut,
120 os_memcpy(data->k_re, data->reauth->k_re,
123 os_memcpy(data->mk, data->reauth
[all...]
/external/wpa_supplicant_8/src/eap_server/
H A Deap_sim_db.c114 "CREATE TABLE reauth("
125 "reauth information");
153 if (!db_table_exists(db, "reauth") &&
252 pos += os_snprintf(pos, end - pos, "INSERT OR REPLACE INTO reauth "
306 struct eap_sim_reauth *reauth = &data->db_tmp_reauth; local
312 reauth->permanent = data->db_tmp_identity;
314 reauth->counter = atoi(argv[i]);
316 hexstr2bin(argv[i], reauth->mk, sizeof(reauth->mk));
318 hexstr2bin(argv[i], reauth
355 db_remove_reauth(struct eap_sim_db_data *data, struct eap_sim_reauth *reauth) argument
1285 eap_sim_db_remove_reauth(struct eap_sim_db_data *data, struct eap_sim_reauth *reauth) argument
[all...]
H A Deap_sim_db.h83 struct eap_sim_reauth *reauth);
H A Deap_server_sim.c36 struct eap_sim_reauth *reauth; member in struct:eap_sim_data
298 if (data->reauth) {
460 data->reauth = eap_sim_db_get_reauth_entry(
463 if (data->reauth == NULL) {
464 wpa_printf(MSG_DEBUG, "EAP-SIM: Unknown reauth "
470 os_strlcpy(data->permanent, data->reauth->permanent,
472 data->counter = data->reauth->counter;
473 os_memcpy(data->mk, data->reauth->mk, EAP_SIM_MK_LEN);
521 data->reauth = NULL;
668 eap_sim_db_remove_reauth(sm->eap_sim_db_priv, data->reauth);
[all...]
H A Deap_server_aka.c40 struct eap_sim_reauth *reauth; member in struct:eap_aka_data
102 data->reauth = eap_sim_db_get_reauth_entry(sm->eap_sim_db_priv,
104 if (data->reauth == NULL) {
105 wpa_printf(MSG_DEBUG, "EAP-AKA: Unknown reauth identity - "
112 os_strlcpy(data->permanent, data->reauth->permanent,
114 data->counter = data->reauth->counter;
116 os_memcpy(data->k_encr, data->reauth->k_encr,
118 os_memcpy(data->k_aut, data->reauth->k_aut,
120 os_memcpy(data->k_re, data->reauth->k_re,
123 os_memcpy(data->mk, data->reauth
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_sim_db.c114 "CREATE TABLE reauth("
125 "reauth information");
153 if (!db_table_exists(db, "reauth") &&
252 pos += os_snprintf(pos, end - pos, "INSERT OR REPLACE INTO reauth "
306 struct eap_sim_reauth *reauth = &data->db_tmp_reauth; local
312 reauth->permanent = data->db_tmp_identity;
314 reauth->counter = atoi(argv[i]);
316 hexstr2bin(argv[i], reauth->mk, sizeof(reauth->mk));
318 hexstr2bin(argv[i], reauth
355 db_remove_reauth(struct eap_sim_db_data *data, struct eap_sim_reauth *reauth) argument
1285 eap_sim_db_remove_reauth(struct eap_sim_db_data *data, struct eap_sim_reauth *reauth) argument
[all...]
H A Deap_sim_db.h83 struct eap_sim_reauth *reauth);
H A Deap_server_sim.c36 struct eap_sim_reauth *reauth; member in struct:eap_sim_data
298 if (data->reauth) {
460 data->reauth = eap_sim_db_get_reauth_entry(
463 if (data->reauth == NULL) {
464 wpa_printf(MSG_DEBUG, "EAP-SIM: Unknown reauth "
470 os_strlcpy(data->permanent, data->reauth->permanent,
472 data->counter = data->reauth->counter;
473 os_memcpy(data->mk, data->reauth->mk, EAP_SIM_MK_LEN);
521 data->reauth = NULL;
668 eap_sim_db_remove_reauth(sm->eap_sim_db_priv, data->reauth);
[all...]
H A Deap_server_aka.c40 struct eap_sim_reauth *reauth; member in struct:eap_aka_data
102 data->reauth = eap_sim_db_get_reauth_entry(sm->eap_sim_db_priv,
104 if (data->reauth == NULL) {
105 wpa_printf(MSG_DEBUG, "EAP-AKA: Unknown reauth identity - "
112 os_strlcpy(data->permanent, data->reauth->permanent,
114 data->counter = data->reauth->counter;
116 os_memcpy(data->k_encr, data->reauth->k_encr,
118 os_memcpy(data->k_aut, data->reauth->k_aut,
120 os_memcpy(data->k_re, data->reauth->k_re,
123 os_memcpy(data->mk, data->reauth
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_sim.c41 int reauth; member in struct:eap_sim_data
133 static void eap_sim_clear_keys(struct eap_sim_data *data, int reauth) argument
135 if (!reauth) {
479 data->reauth = 0;
483 data->reauth = 1;
502 if (!data->reauth) {
595 if (k_aut && data->reauth) {
707 data->reauth = 0;
784 * other words, if no new reauth identity is received, full
814 * reauth verificatio
[all...]
H A Deap_aka.c40 int reauth; member in struct:eap_aka_data
129 static void eap_aka_clear_keys(struct eap_aka_data *data, int reauth) argument
131 if (!reauth) {
600 data->reauth = 0;
604 data->reauth = 1;
710 if (k_aut && data->reauth) {
948 data->reauth = 0;
1052 * reauth verification. */
1066 "reauth did not include encrypted data");
1081 "message does not match with counter in reauth "
[all...]
H A Deap_peap.c56 int reauth; /* reauthentication */ member in struct:eap_peap_data
269 if (data->reauth &&
1141 data->reauth = 1;
H A Deap_ttls.c55 int reauth; /* reauthentication */ member in struct:eap_ttls_data
1290 if (data->reauth &&
1396 wpa_printf(MSG_DEBUG, "EAP-TTLS: fast reauth - may "
1555 data->reauth = 1;
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_sim.c41 int reauth; member in struct:eap_sim_data
133 static void eap_sim_clear_keys(struct eap_sim_data *data, int reauth) argument
135 if (!reauth) {
479 data->reauth = 0;
483 data->reauth = 1;
502 if (!data->reauth) {
595 if (k_aut && data->reauth) {
707 data->reauth = 0;
784 * other words, if no new reauth identity is received, full
814 * reauth verificatio
[all...]
H A Deap_aka.c40 int reauth; member in struct:eap_aka_data
129 static void eap_aka_clear_keys(struct eap_aka_data *data, int reauth) argument
131 if (!reauth) {
600 data->reauth = 0;
604 data->reauth = 1;
710 if (k_aut && data->reauth) {
948 data->reauth = 0;
1052 * reauth verification. */
1066 "reauth did not include encrypted data");
1081 "message does not match with counter in reauth "
[all...]
H A Deap_peap.c56 int reauth; /* reauthentication */ member in struct:eap_peap_data
269 if (data->reauth &&
1141 data->reauth = 1;
H A Deap_ttls.c55 int reauth; /* reauthentication */ member in struct:eap_ttls_data
1290 if (data->reauth &&
1396 wpa_printf(MSG_DEBUG, "EAP-TTLS: fast reauth - may "
1555 data->reauth = 1;
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_sim.c41 int reauth; member in struct:eap_sim_data
133 static void eap_sim_clear_keys(struct eap_sim_data *data, int reauth) argument
135 if (!reauth) {
479 data->reauth = 0;
483 data->reauth = 1;
502 if (!data->reauth) {
595 if (k_aut && data->reauth) {
707 data->reauth = 0;
784 * other words, if no new reauth identity is received, full
814 * reauth verificatio
[all...]
H A Deap_aka.c40 int reauth; member in struct:eap_aka_data
129 static void eap_aka_clear_keys(struct eap_aka_data *data, int reauth) argument
131 if (!reauth) {
600 data->reauth = 0;
604 data->reauth = 1;
710 if (k_aut && data->reauth) {
948 data->reauth = 0;
1052 * reauth verification. */
1066 "reauth did not include encrypted data");
1081 "message does not match with counter in reauth "
[all...]
H A Deap_peap.c56 int reauth; /* reauthentication */ member in struct:eap_peap_data
269 if (data->reauth &&
1141 data->reauth = 1;
H A Deap_ttls.c55 int reauth; /* reauthentication */ member in struct:eap_ttls_data
1290 if (data->reauth &&
1396 wpa_printf(MSG_DEBUG, "EAP-TTLS: fast reauth - may "
1555 data->reauth = 1;

Completed in 296 milliseconds