Home
last modified time | relevance | path

Searched refs:shared_secret_len (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/wpa/src/radius/
H A Dradius_client.c71 size_t shared_secret_len,
143 size_t shared_secret_len; member
295 size_t shared_secret_len, in radius_client_register() argument
486 entry->shared_secret_len); in radius_client_retransmit()
723 size_t shared_secret_len, const u8 *addr) in radius_client_list_add() argument
746 entry->shared_secret_len = shared_secret_len; in radius_client_list_add()
852 size_t shared_secret_len; in radius_client_send() local
880 shared_secret_len = conf->acct_server->shared_secret_len; in radius_client_send()
881 radius_msg_finish_acct(msg, shared_secret, shared_secret_len); in radius_client_send()
902 shared_secret_len = conf->auth_server->shared_secret_len; in radius_client_send()
[all …]
H A Dradius_das.c22 size_t shared_secret_len; member
443 das->shared_secret_len, in radius_das_receive()
497 das->shared_secret_len, hdr) < in radius_das_receive()
571 conf->shared_secret_len); in radius_das_init()
576 das->shared_secret_len = conf->shared_secret_len; in radius_das_init()
H A Dradius_client.h51 size_t shared_secret_len; member
271 const u8 *shared_secret, size_t shared_secret_len,
H A Dradius_das.h47 size_t shared_secret_len; member
H A Dradius_server.c110 int shared_secret_len; member
979 client->shared_secret_len, in radius_server_encapsulate_eap()
1148 client->shared_secret_len, in radius_server_encapsulate_eap()
1194 client->shared_secret_len, in radius_server_macacl()
1237 client->shared_secret_len, in radius_server_macacl()
1287 client->shared_secret_len, in radius_server_reject()
1581 client->shared_secret_len, in radius_server_receive_disconnect_resp()
1625 client->shared_secret_len, in radius_server_receive_coa_resp()
1780 client->shared_secret_len, NULL)) { in radius_server_receive_auth()
1892 client->shared_secret_len)) { in radius_server_receive_acct()
[all …]
/freebsd/crypto/libecc/src/ecdh/
H A Decccdh.c167 …_key, const u8 *peer_pub_key_buf, u8 peer_pub_key_buf_len, u8 *shared_secret, u8 shared_secret_len) in ecccdh_derive_secret() argument
223 MUST_HAVE((shared_secret_len == expected_shared_secret_len), ret, err); in ecccdh_derive_secret()
224 ret = fp_export_to_buf(shared_secret, shared_secret_len, &(Q->X)); in ecccdh_derive_secret()
/freebsd/contrib/wpa/src/ap/
H A Dieee802_11_auth.c144 hapd->conf->radius->auth_server->shared_secret_len)) { in hostapd_radius_acl_query()
411 size_t shared_secret_len, in decode_tunnel_passwords() argument
426 msg, &passphraselen, shared_secret, shared_secret_len, in decode_tunnel_passwords()
487 const u8 *shared_secret, size_t shared_secret_len, in hostapd_acl_recv_radius() argument
512 msg, shared_secret, shared_secret_len, req, in hostapd_acl_recv_radius()
563 decode_tunnel_passwords(hapd, shared_secret, shared_secret_len, in hostapd_acl_recv_radius()
H A Daccounting.c413 const u8 *shared_secret, size_t shared_secret_len, in accounting_receive() argument
421 if (radius_msg_verify(msg, shared_secret, shared_secret_len, req, 0)) { in accounting_receive()
H A Dieee802_1x.c1580 size_t shared_secret_len) in ieee802_1x_get_keys() argument
1591 shared_secret_len); in ieee802_1x_get_keys()
2025 const u8 *shared_secret, size_t shared_secret_len, in ieee802_1x_receive_auth() argument
2045 if (radius_msg_verify(msg, shared_secret, shared_secret_len, req, 1)) { in ieee802_1x_receive_auth()
2122 shared_secret_len); in ieee802_1x_receive_auth()
H A Dhostapd.c1339 das_conf.shared_secret_len = in hostapd_bss_radius_init()
/freebsd/crypto/libecc/include/libecc/ecdh/
H A Decccdh.h59 …ur_priv_key, const u8 *peer_pub_key, u8 peer_pub_key_len, u8 *shared_secret, u8 shared_secret_len);
/freebsd/contrib/wpa/src/eap_peer/
H A Dikev2.h45 size_t shared_secret_len; member
H A Dikev2.c553 data->shared_secret_len, in ikev2_process_auth_secret()
1005 data->shared_secret_len, in ikev2_build_auth()
H A Deap_ikev2.c96 data->ikev2.shared_secret_len = password_len; in eap_ikev2_init()
/freebsd/contrib/wpa/src/eap_server/
H A Dikev2.h44 size_t shared_secret_len; member
H A Dikev2.c619 data->shared_secret_len, in ikev2_process_auth_secret()
1069 data->shared_secret_len, in ikev2_build_auth()
1144 data->shared_secret_len = 16; in ikev2_build_sa_auth()
1152 data->shared_secret_len = secret_len; in ikev2_build_sa_auth()
/freebsd/contrib/wpa/wpa_supplicant/
H A Deapol_test.c862 size_t shared_secret_len) in ieee802_1x_get_keys() argument
869 shared_secret_len); in ieee802_1x_get_keys()
873 shared_secret_len); in ieee802_1x_get_keys()
919 const u8 *shared_secret, size_t shared_secret_len, in ieee802_1x_receive_auth() argument
933 } else if (radius_msg_verify(msg, shared_secret, shared_secret_len, in ieee802_1x_receive_auth()
957 shared_secret_len); in ieee802_1x_receive_auth()
1060 as->shared_secret_len = os_strlen(secret); in wpa_init_conf()
/freebsd/contrib/wpa/src/eap_common/
H A Dikev2_common.h289 const u8 *shared_secret, size_t shared_secret_len,
H A Dikev2_common.c372 const u8 *shared_secret, size_t shared_secret_len, in ikev2_derive_auth_data() argument
414 if (ikev2_prf_hash(prf->id, shared_secret, shared_secret_len, 1, in ikev2_derive_auth_data()
/freebsd/crypto/libecc/src/tests/
H A Dec_self_tests_core.c1049 u8 shared_secret_len; local
1080 ret = ecccdh_shared_secret_size(&params, &shared_secret_len); EG(ret, err);
1081 MUST_HAVE((sizeof(shared_secret) >= shared_secret_len), ret, err);
1082 …ive_secret(&(kp.priv_key), c->peer_pub_key, c->peer_pub_key_len, shared_secret, shared_secret_len);
1089 MUST_HAVE((shared_secret_len == c->exp_shared_secret_len), ret, err);
1090 ret = are_equal(shared_secret, c->exp_shared_secret, shared_secret_len, &check); EG(ret, err);
/freebsd/contrib/wpa/hostapd/
H A Dconfig_file.c2892 bss->radius->auth_server->shared_secret_len = len; in hostapd_config_fill()
2957 bss->radius->acct_server->shared_secret_len = len; in hostapd_config_fill()