Lines Matching refs:username

32 	char *permanent; /* permanent username */
33 char *pseudonym; /* pseudonym username */
847 * @username: Permanent username (prefix | IMSI)
868 const char *username, int max_chal,
878 if (username == NULL || username[0] != EAP_SIM_PERMANENT_PREFIX ||
879 username[1] == '\0' || os_strlen(username) > sizeof(entry->imsi)) {
880 wpa_printf(MSG_DEBUG, "EAP-SIM DB: unexpected username '%s'",
881 username);
884 imsi = username + 1;
1042 * @permanent: Permanent username
1056 "username '%s'", pseudonym, permanent);
1141 * @permanent: Permanent username
1181 * @permanent: Permanent username
1226 * @pseudonym: Pseudonym username
1227 * Returns: Pointer to permanent username or %NULL if not found
1253 * @reauth_id: Fast re-authentication username
1313 * @username: Permanent username (prefix | IMSI)
1334 int eap_sim_db_get_aka_auth(struct eap_sim_db_data *data, const char *username,
1344 if (username == NULL ||
1345 (username[0] != EAP_AKA_PERMANENT_PREFIX &&
1346 username[0] != EAP_AKA_PRIME_PERMANENT_PREFIX) ||
1347 username[1] == '\0' || os_strlen(username) > sizeof(entry->imsi)) {
1348 wpa_printf(MSG_DEBUG, "EAP-SIM DB: unexpected username '%s'",
1349 username);
1352 imsi = username + 1;
1418 * @username: Permanent username
1430 const char *username,
1436 if (username == NULL ||
1437 (username[0] != EAP_AKA_PERMANENT_PREFIX &&
1438 username[0] != EAP_AKA_PRIME_PERMANENT_PREFIX) ||
1439 username[1] == '\0' || os_strlen(username) > 20) {
1440 wpa_printf(MSG_DEBUG, "EAP-SIM DB: unexpected username '%s'",
1441 username);
1444 imsi = username + 1;
1483 * sim_get_username - Extract username from SIM identity
1486 * Returns: Allocated buffer with the username part of the identity