Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:IDENTITY

386  * Handles requests for Identity method and builds a response.
388 SM_STATE(EAP, IDENTITY)
393 SM_ENTRY(EAP, IDENTITY);
639 SM_ENTER(EAP, IDENTITY);
839 * RFC 3748 - 5.1: Identity
847 wpa_hexdump_ascii(MSG_DEBUG, "EAP: EAP-Request Identity data",
878 os_free(ssid->identity);
879 ssid->identity = os_malloc(1 + imsi_len);
880 if (ssid->identity == NULL) {
882 "IMSI-based identity");
886 ssid->identity[0] = aka ? '0' : '1';
887 os_memcpy(ssid->identity + 1, imsi, imsi_len);
930 * eap_sm_buildIdentity - Build EAP-Identity/Response for the current network
935 * Returns: Pointer to the allocated EAP-Identity/Response packet or %NULL on
938 * This function allocates and builds an EAP-Identity/Response packet for the
947 const u8 *identity;
957 (identity = sm->m->get_identity(sm, sm->eap_method_priv,
960 "identity", identity, identity_len);
962 identity = config->anonymous_identity;
964 wpa_hexdump_ascii(MSG_DEBUG, "EAP: using anonymous identity",
965 identity, identity_len);
967 identity = config->identity;
969 wpa_hexdump_ascii(MSG_DEBUG, "EAP: using real identity",
970 identity, identity_len);
973 if (identity == NULL) {
974 wpa_printf(MSG_WARNING, "EAP: buildIdentity: identity "
979 identity = config->identity;
981 wpa_hexdump_ascii(MSG_DEBUG, "permanent identity from "
982 "IMSI", identity, identity_len);
1002 os_memcpy(pos, identity, identity_len);
1280 return "IDENTITY";
1431 field = "IDENTITY";
1432 txt = "Identity";
1505 * eap_sm_request_identity - Request identity from user (ctrl_iface)
1508 * EAP methods can call this function to request identity information for the
1509 * current network. This is normally called when the identity is not included
1743 * eap_get_config_password - Get identity from the network configuration
1745 * @len: Buffer for the length of the identity
1746 * Returns: Pointer to the identity or %NULL if not found
1754 return config->identity;