/external/wpa_supplicant_8/src/radius/ |
D | radius_client.c | 67 const u8 *shared_secret, 130 const u8 *shared_secret; member 280 const u8 *shared_secret, in radius_client_register() argument 445 radius_msg_finish_acct(entry->msg, entry->shared_secret, in radius_client_retransmit() 648 const u8 *shared_secret, in radius_client_list_add() argument 671 entry->shared_secret = shared_secret; in radius_client_list_add() 728 const u8 *shared_secret; in radius_client_send() local 739 conf->acct_server->shared_secret == NULL) { in radius_client_send() 746 shared_secret = conf->acct_server->shared_secret; in radius_client_send() 748 radius_msg_finish_acct(msg, shared_secret, shared_secret_len); in radius_client_send() [all …]
|
D | radius_das.c | 21 u8 *shared_secret; member 236 if (radius_msg_verify_das_req(msg, das->shared_secret, in radius_das_receive() 300 if (radius_msg_finish_das_resp(reply, das->shared_secret, in radius_das_receive() 355 if (conf->port == 0 || conf->shared_secret == NULL || in radius_das_init() 371 das->shared_secret = os_malloc(conf->shared_secret_len); in radius_das_init() 372 if (das->shared_secret == NULL) { in radius_das_init() 376 os_memcpy(das->shared_secret, conf->shared_secret, in radius_das_init() 408 os_free(das->shared_secret); in radius_das_deinit()
|
D | radius_client.h | 41 u8 *shared_secret; member 241 const u8 *shared_secret, size_t shared_secret_len,
|
D | radius_server.c | 105 char *shared_secret; member 780 (u8 *) client->shared_secret, in radius_server_encapsulate_eap() 836 if (radius_msg_finish_srv(msg, (u8 *) client->shared_secret, in radius_server_encapsulate_eap() 879 (u8 *) client->shared_secret, in radius_server_macacl() 917 if (radius_msg_finish_srv(msg, (u8 *) client->shared_secret, in radius_server_macacl() 962 if (radius_msg_finish_srv(msg, (u8 *) client->shared_secret, in radius_server_reject() 1275 if (radius_msg_verify_msg_auth(msg, (u8 *) client->shared_secret, in radius_server_receive_auth() 1387 if (radius_msg_verify_acct_req(msg, (u8 *) client->shared_secret, in radius_server_receive_acct() 1403 radius_msg_finish_acct_resp(resp, (u8 *) client->shared_secret, in radius_server_receive_acct() 1523 os_free(prev->shared_secret); in radius_server_free_clients() [all …]
|
D | radius_das.h | 42 const u8 *shared_secret; member
|
/external/wpa_supplicant_8/src/eap_server/ |
D | ikev2.c | 28 os_free(data->shared_secret); in ikev2_initiator_deinit() 619 &data->keys, 0, data->shared_secret, in ikev2_process_auth_secret() 1069 &data->keys, 1, data->shared_secret, in ikev2_build_auth() 1141 os_free(data->shared_secret); in ikev2_build_sa_auth() 1142 data->shared_secret = os_malloc(16); in ikev2_build_sa_auth() 1143 if (data->shared_secret == NULL) in ikev2_build_sa_auth() 1146 if (random_get_bytes(data->shared_secret, 16)) in ikev2_build_sa_auth() 1149 os_free(data->shared_secret); in ikev2_build_sa_auth() 1150 data->shared_secret = os_malloc(secret_len); in ikev2_build_sa_auth() 1151 if (data->shared_secret == NULL) in ikev2_build_sa_auth() [all …]
|
D | ikev2.h | 43 u8 *shared_secret; member
|
/external/wpa_supplicant_8/src/ap/ |
D | ieee802_11_auth.c | 172 hapd->conf->radius->auth_server->shared_secret, in hostapd_radius_acl_query() 428 const u8 *shared_secret, in decode_tunnel_passwords() argument 444 msg, &passphraselen, shared_secret, shared_secret_len, in decode_tunnel_passwords() 504 const u8 *shared_secret, size_t shared_secret_len, in hostapd_acl_recv_radius() argument 527 if (radius_msg_verify(msg, shared_secret, shared_secret_len, req, 0)) { in hostapd_acl_recv_radius() 576 decode_tunnel_passwords(hapd, shared_secret, shared_secret_len, in hostapd_acl_recv_radius()
|
D | accounting.c | 415 const u8 *shared_secret, size_t shared_secret_len, in accounting_receive() argument 423 if (radius_msg_verify(msg, shared_secret, shared_secret_len, req, 0)) { in accounting_receive()
|
D | ieee802_1x.c | 1317 const u8 *shared_secret, in ieee802_1x_get_keys() argument 1325 keys = radius_msg_get_ms_keys(msg, req, shared_secret, in ieee802_1x_get_keys() 1658 const u8 *shared_secret, size_t shared_secret_len, in ieee802_1x_receive_auth() argument 1692 } else if (radius_msg_verify(msg, shared_secret, shared_secret_len, in ieee802_1x_receive_auth() 1801 ieee802_1x_get_keys(hapd, sta, msg, req, shared_secret, in ieee802_1x_receive_auth()
|
D | ap_config.c | 348 os_free(servers[i].shared_secret); in hostapd_config_free_radius()
|
D | hostapd.c | 1033 das_conf.shared_secret = conf->radius_das_shared_secret; in hostapd_setup_bss()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_eke_common.c | 435 NULL, 0, sess->shared_secret) < 0) in eap_eke_shared_secret() 438 sess->shared_secret, sess->auth_len); in eap_eke_shared_secret() 482 if (eap_eke_prfplus(sess->prf, sess->shared_secret, sess->prf_len, in eap_eke_derive_ke_ki() 530 if (eap_eke_prfplus(sess->prf, sess->shared_secret, sess->prf_len, in eap_eke_derive_ka() 575 if (eap_eke_prfplus(sess->prf, sess->shared_secret, sess->prf_len, in eap_eke_derive_msk() 746 os_memset(sess->shared_secret, 0, EAP_EKE_MAX_HASH_LEN); in eap_eke_session_clean()
|
D | eap_eke_common.h | 68 u8 shared_secret[EAP_EKE_MAX_HASH_LEN]; member
|
D | ikev2_common.c | 372 const u8 *shared_secret, size_t shared_secret_len, in ikev2_derive_auth_data() argument 384 shared_secret == NULL || nonce == NULL || prf == NULL) in ikev2_derive_auth_data() 414 if (ikev2_prf_hash(prf->id, shared_secret, shared_secret_len, 1, in ikev2_derive_auth_data()
|
D | ikev2_common.h | 289 const u8 *shared_secret, size_t shared_secret_len,
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | ikev2.h | 44 u8 *shared_secret; member
|
D | eap_ikev2.c | 94 data->ikev2.shared_secret = os_malloc(password_len); in eap_ikev2_init() 95 if (data->ikev2.shared_secret == NULL) in eap_ikev2_init() 97 os_memcpy(data->ikev2.shared_secret, password, password_len); in eap_ikev2_init()
|
D | ikev2.c | 24 os_free(data->shared_secret); in ikev2_responder_deinit() 551 &data->keys, 1, data->shared_secret, in ikev2_process_auth_secret() 1003 &data->keys, 0, data->shared_secret, in ikev2_build_auth()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | eapol_test.c | 675 os_free(e->radius_conf->auth_server->shared_secret); in test_eapol_clean() 846 const u8 *shared_secret, in ieee802_1x_get_keys() argument 853 keys = radius_msg_get_ms_keys(msg, req, shared_secret, in ieee802_1x_get_keys() 857 keys = radius_msg_get_cisco_keys(msg, req, shared_secret, in ieee802_1x_get_keys() 904 const u8 *shared_secret, size_t shared_secret_len, in ieee802_1x_receive_auth() argument 919 } else if (radius_msg_verify(msg, shared_secret, shared_secret_len, in ieee802_1x_receive_auth() 942 ieee802_1x_get_keys(e, msg, req, shared_secret, in ieee802_1x_receive_auth() 1040 as->shared_secret = (u8 *) os_strdup(secret); in wpa_init_conf()
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 2327 os_free(bss->radius->auth_server->shared_secret); in hostapd_config_fill() 2328 bss->radius->auth_server->shared_secret = (u8 *) os_strdup(pos); in hostapd_config_fill() 2361 os_free(bss->radius->acct_server->shared_secret); in hostapd_config_fill() 2362 bss->radius->acct_server->shared_secret = (u8 *) os_strdup(pos); in hostapd_config_fill()
|
D | README | 181 auth_server_{addr,port,shared_secret} options. In addition,
|