Lines Matching full:identity

143 	if (sm->identity) {
144 /* Use the EAP-Response/Identity in MK derivation if AT_IDENTITY
146 data->mk_identity = os_memdup(sm->identity, sm->identity_len);
408 const u8 *identity = NULL;
418 /* Look for the realm of the permanent identity */
419 identity = eap_get_config_identity(sm, &identity_len);
420 if (identity) {
421 for (realm = identity, realm_len = identity_len;
507 * No EAP-AKA/Identity packets were exchanged - send empty
514 /* Checkcode is SHA1/SHA256 hash over all EAP-AKA/Identity packets. */
545 "indicates that AKA/Identity messages were "
557 "indicates that AKA/Identity message were not "
562 /* Checkcode is SHA1/SHA256 hash over all EAP-AKA/Identity packets. */
647 const u8 *identity, size_t identity_len,
654 wpa_hexdump_ascii(MSG_DEBUG, "EAP-AKA: Encrypt permanent identity",
655 identity, identity_len);
657 imsi_buf = wpabuf_alloc_copy(identity, identity_len);
685 wpa_hexdump_ascii(MSG_DEBUG, "EAP-AKA: Encrypted permanent identity",
698 const u8 *identity = NULL;
707 identity = data->reauth_id;
714 identity = data->pseudonym;
718 identity = eap_get_config_identity(sm, &identity_len);
719 if (identity) {
733 if (identity && data->imsi_privacy_key) {
741 identity, identity_len, attr);
744 "EAP-AKA: Failed to encrypt permanent identity");
749 /* Use the real identity, not the encrypted one, in MK
752 data->mk_identity = os_memdup(identity, identity_len);
754 identity = wpabuf_head(enc_identity);
760 wpa_printf(MSG_DEBUG, "Generating EAP-AKA Identity (id=%d)", id);
764 if (identity) {
766 identity, identity_len);
768 identity, identity_len);
770 /* Use the IMSI identity override, i.e., the not
772 * externally encrypted identity in configuration. */
779 /* Use the last AT_IDENTITY value as the identity in
782 data->mk_identity = os_memdup(identity, identity_len);
900 wpa_printf(MSG_DEBUG, "EAP-AKA: subtype Identity");
1058 const u8 *identity;
1175 identity = data->mk_identity;
1177 wpa_hexdump_ascii(MSG_DEBUG, "EAP-AKA: Selected identity for MK "
1178 "derivation", identity, identity_len);
1180 eap_aka_prime_derive_keys(identity, identity_len, data->ik,
1184 eap_aka_derive_mk(identity, identity_len, data->ik, data->ck,
1201 /* Old reauthentication identity must not be used anymore. In
1204 * pseudonym identity or permanent identity). */
1478 wpa_printf(MSG_INFO, "EAP-AKA: Identity not configured");
1590 if (sm->identity) {
1591 /* Use the EAP-Response/Identity in MK derivation if AT_IDENTITY
1594 data->mk_identity = os_memdup(sm->identity, sm->identity_len);