Home
last modified time | relevance | path

Searched refs:imsi_len (Results 1 – 7 of 7) sorted by relevance

/external/wpa_supplicant_8/src/eap_server/
Deap_sim_db.c934 size_t imsi_len; in eap_sim_db_get_gsm_triplets() local
981 imsi_len = os_strlen(imsi); in eap_sim_db_get_gsm_triplets()
984 len + imsi_len >= sizeof(msg)) in eap_sim_db_get_gsm_triplets()
986 os_memcpy(msg + len, imsi, imsi_len); in eap_sim_db_get_gsm_triplets()
987 len += imsi_len; in eap_sim_db_get_gsm_triplets()
1401 size_t imsi_len; in eap_sim_db_get_aka_auth() local
1446 imsi_len = os_strlen(imsi); in eap_sim_db_get_aka_auth()
1449 len + imsi_len >= sizeof(msg)) in eap_sim_db_get_aka_auth()
1451 os_memcpy(msg + len, imsi, imsi_len); in eap_sim_db_get_aka_auth()
1452 len += imsi_len; in eap_sim_db_get_aka_auth()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap.c175 size_t max_len, size_t *imsi_len, in eap_sm_append_3gpp_realm() argument
180 if (*imsi_len + 36 > max_len) { in eap_sm_append_3gpp_realm()
199 pos = imsi + *imsi_len; in eap_sm_append_3gpp_realm()
203 *imsi_len = pos - imsi; in eap_sm_append_3gpp_realm()
489 size_t imsi_len; in eap_get_realm() local
494 imsi, &imsi_len); in eap_get_realm()
498 pos = imsi_len + 1; /* points to the beginning of the realm */ in eap_get_realm()
499 if (eap_sm_append_3gpp_realm(sm, imsi, sizeof(imsi), &imsi_len, in eap_get_realm()
1520 size_t imsi_len; in eap_sm_imsi_identity() local
1524 imsi_len = sizeof(imsi); in eap_sm_imsi_identity()
[all …]
Deap_proxy_dummy.c67 char *imsi_buf, size_t *imsi_len) in eap_proxy_get_imsi() argument
Deap_proxy.h44 char *imsi_buf, size_t *imsi_len);
Deap_proxy_qmi_oc.c2209 size_t *imsi_len) in eap_proxy_get_imsi() argument
2230 *imsi_len = os_strlen(imsi); in eap_proxy_get_imsi()
2231 os_memcpy(imsi_buf, imsi, *imsi_len + 1); in eap_proxy_get_imsi()
/external/wpa_supplicant_8/hostapd/
Dhlr_auc_gw.c502 size_t imsi_len; in update_milenage_file() local
526 imsi_len = pos - buf; in update_milenage_file()
529 if (strncmp(buf, m->imsi, imsi_len) == 0 && in update_milenage_file()
530 m->imsi[imsi_len] == '\0') in update_milenage_file()
/external/wpa_supplicant_8/hs20/client/
Dosu_client.c1669 size_t imsi_len; in set_pps_cred_sim() local
1714 imsi_len = os_strlen(imsi); in set_pps_cred_sim()
1715 if (imsi_len < 7 || imsi_len + 2 > sizeof(buf)) { in set_pps_cred_sim()