Lines Matching refs:reauth_id

117 		"  reauth_id CHAR(21) NOT NULL,"
240 char *reauth_id, u16 counter, const u8 *mk,
246 if (!valid_db_string(permanent) || !valid_db_string(reauth_id)) {
247 os_free(reauth_id);
254 "(permanent, reauth_id, counter%s%s%s%s) "
260 permanent, reauth_id, counter);
261 os_free(reauth_id);
335 db_get_reauth(struct eap_sim_db_data *data, const char *reauth_id)
339 if (!valid_db_string(reauth_id))
342 os_strlcpy(data->db_tmp_pseudonym_str, reauth_id,
344 data->db_tmp_reauth.reauth_id = data->db_tmp_pseudonym_str;
346 "SELECT * FROM reauth WHERE reauth_id='%s';", reauth_id);
749 os_free(r->reauth_id);
999 * eap_sim_db_get_next_reauth_id - EAP-SIM DB: Get next reauth_id
1002 * Returns: Next reauth_id (allocated string) or %NULL on failure
1005 * EAP-SIM. The returned reauth_id is not added to database at this point; it
1091 char *reauth_id, u16 counter)
1102 "reauth_id: %s", r->reauth_id);
1103 os_free(r->reauth_id);
1104 r->reauth_id = reauth_id;
1108 os_free(reauth_id);
1116 os_free(reauth_id);
1119 r->reauth_id = reauth_id;
1135 * @reauth_id: reauth_id for this user. This needs to be an allocated buffer,
1143 * EAP-SIM DB is responsible of freeing reauth_id buffer once it is not needed
1147 char *reauth_id, u16 counter, const u8 *mk)
1151 wpa_printf(MSG_DEBUG, "EAP-SIM DB: Add reauth_id '%s' for permanent "
1152 "identity '%s'", reauth_id, permanent);
1156 return db_add_reauth(data, permanent, reauth_id, counter, mk,
1159 r = eap_sim_db_add_reauth_data(data, permanent, reauth_id, counter);
1174 * @reauth_id: reauth_id for this user. This needs to be an allocated buffer,
1184 * EAP-SIM DB is responsible of freeing reauth_id buffer once it is not needed
1188 const char *permanent, char *reauth_id,
1194 wpa_printf(MSG_DEBUG, "EAP-SIM DB: Add reauth_id '%s' for permanent "
1195 "identity '%s'", reauth_id, permanent);
1199 return db_add_reauth(data, permanent, reauth_id, counter, NULL,
1202 r = eap_sim_db_add_reauth_data(data, permanent, reauth_id, counter);
1245 * @reauth_id: Fast re-authentication username
1250 const char *reauth_id)
1256 return db_get_reauth(data, reauth_id);
1261 if (os_strcmp(r->reauth_id, reauth_id) == 0)