Home
last modified time | relevance | path

Searched refs:IDr (Results 1 – 6 of 6) sorted by relevance

/hostap-3.6.0/src/eap_server/
Dikev2.h38 u8 *IDr; member
49 const u8 * (*get_shared_secret)(void *ctx, const u8 *IDr,
Dikev2.c27 os_free(data->IDr); in ikev2_initiator_deinit()
534 if (data->IDr) { in ikev2_process_idr()
536 os_memcmp(idr, data->IDr, idr_len) != 0) { in ikev2_process_idr()
542 data->IDr, data->IDr_len); in ikev2_process_idr()
545 os_free(data->IDr); in ikev2_process_idr()
547 data->IDr = os_memdup(idr, idr_len); in ikev2_process_idr()
548 if (data->IDr == NULL) in ikev2_process_idr()
617 data->IDr, data->IDr_len, data->IDr_type, in ikev2_process_auth_secret()
1130 secret = data->get_shared_secret(data->cb_ctx, data->IDr, in ikev2_build_sa_auth()
Deap_server_ikev2.c30 static const u8 * eap_ikev2_get_shared_secret(void *ctx, const u8 *IDr, in eap_ikev2_get_shared_secret() argument
36 if (IDr == NULL) { in eap_ikev2_get_shared_secret()
39 IDr = sm->identity; in eap_ikev2_get_shared_secret()
43 if (eap_user_get(sm, IDr, IDr_len, 0) < 0 || sm->user == NULL || in eap_ikev2_get_shared_secret()
/hostap-3.6.0/src/eap_peer/
Dikev2.h40 u8 *IDr; member
Dikev2.c23 os_free(data->IDr); in ikev2_responder_deinit()
963 if (data->IDr == NULL) { in ikev2_build_idr()
974 wpabuf_put_data(msg, data->IDr, data->IDr_len); in ikev2_build_idr()
1003 data->IDr, data->IDr_len, ID_KEY_ID, in ikev2_build_auth()
Deap_ikev2.c86 data->ikev2.IDr = os_memdup(identity, identity_len); in eap_ikev2_init()
87 if (data->ikev2.IDr == NULL) in eap_ikev2_init()