Home | History | Annotate | Download | only in eap_server

Lines Matching refs:username

32 	char *permanent; /* permanent username */
33 char *pseudonym; /* pseudonym username */
905 * @username: Permanent username (prefix | IMSI)
926 const char *username, int max_chal,
936 if (username == NULL || username[0] != EAP_SIM_PERMANENT_PREFIX ||
937 username[1] == '\0' || os_strlen(username) > sizeof(entry->imsi)) {
938 wpa_printf(MSG_DEBUG, "EAP-SIM DB: unexpected username '%s'",
939 username);
942 imsi = username + 1;
1101 * @permanent: Permanent username
1115 "username '%s'", pseudonym, permanent);
1200 * @permanent: Permanent username
1240 * @permanent: Permanent username
1285 * @pseudonym: Pseudonym username
1286 * Returns: Pointer to permanent username or %NULL if not found
1312 * @reauth_id: Fast re-authentication username
1372 * @username: Permanent username (prefix | IMSI)
1393 int eap_sim_db_get_aka_auth(struct eap_sim_db_data *data, const char *username,
1403 if (username == NULL ||
1404 (username[0] != EAP_AKA_PERMANENT_PREFIX &&
1405 username[0] != EAP_AKA_PRIME_PERMANENT_PREFIX) ||
1406 username[1] == '\0' || os_strlen(username) > sizeof(entry->imsi)) {
1407 wpa_printf(MSG_DEBUG, "EAP-SIM DB: unexpected username '%s'",
1408 username);
1411 imsi = username + 1;
1478 * @username: Permanent username
1490 const char *username,
1496 if (username == NULL ||
1497 (username[0] != EAP_AKA_PERMANENT_PREFIX &&
1498 username[0] != EAP_AKA_PRIME_PERMANENT_PREFIX) ||
1499 username[1] == '\0' || os_strlen(username) > 20) {
1500 wpa_printf(MSG_DEBUG, "EAP-SIM DB: unexpected username '%s'",
1501 username);
1504 imsi = username + 1;
1543 * sim_get_username - Extract username from SIM identity
1546 * Returns: Allocated buffer with the username part of the identity