Lines Matching refs:imsi_len
1280 size_t max_len, size_t *imsi_len)
1285 if (*imsi_len + 36 > max_len) {
1311 pos = imsi + *imsi_len;
1315 *imsi_len = pos - imsi;
1326 size_t imsi_len;
1330 imsi_len = sizeof(imsi);
1331 if (scard_get_imsi(sm->scard_ctx, imsi, &imsi_len)) {
1336 wpa_hexdump_ascii(MSG_DEBUG, "IMSI", (u8 *) imsi, imsi_len);
1338 if (imsi_len < 7) {
1343 if (eap_sm_append_3gpp_realm(sm, imsi, sizeof(imsi), &imsi_len) < 0) {
1347 wpa_hexdump_ascii(MSG_DEBUG, "IMSI + realm", (u8 *) imsi, imsi_len);
1365 conf->identity = os_malloc(1 + imsi_len);
1383 os_memcpy(conf->identity + 1, imsi, imsi_len);
1384 conf->identity_len = 1 + imsi_len;