Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/eap_server/
H A 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 …]
/freebsd/contrib/wpa/src/eap_peer/
H A Deap.c176 size_t max_len, size_t *imsi_len, in eap_sm_append_3gpp_realm() argument
181 if (*imsi_len + 36 > max_len) { in eap_sm_append_3gpp_realm()
200 pos = imsi + *imsi_len; in eap_sm_append_3gpp_realm()
204 *imsi_len = pos - imsi; in eap_sm_append_3gpp_realm()
498 size_t imsi_len; in eap_get_realm() local
503 imsi, &imsi_len); in eap_get_realm()
507 pos = imsi_len + 1; /* points to the beginning of the realm */ in eap_get_realm()
508 if (eap_sm_append_3gpp_realm(sm, imsi, sizeof(imsi), &imsi_len, in eap_get_realm()
1554 size_t imsi_len; in eap_sm_imsi_identity() local
1558 imsi_len = sizeof(imsi); in eap_sm_imsi_identity()
[all …]
H A Deap_proxy_dummy.c67 char *imsi_buf, size_t *imsi_len) in eap_proxy_get_imsi() argument
H A Deap_proxy.h44 char *imsi_buf, size_t *imsi_len);
/freebsd/contrib/wpa/hostapd/
H A 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()
/freebsd/contrib/wpa/hs20/client/
H A Dosu_client.c1680 size_t imsi_len; in set_pps_cred_sim() local
1725 imsi_len = os_strlen(imsi); in set_pps_cred_sim()
1726 if (imsi_len < 7 || imsi_len + 2 > sizeof(buf)) { in set_pps_cred_sim()