/freebsd-13-stable/contrib/wpa/src/ap/ |
H A D | wpa_auth_ie.c | 434 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth) argument 532 wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int freq, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len, const u8 *owe_dh, size_t owe_dh_len) argument 949 wpa_validate_osen(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *osen_ie, size_t osen_ie_len) argument [all...] |
H A D | wpa_auth_i.h | 20 struct wpa_authenticator *wpa_auth; member in struct:wpa_state_machine
|
H A D | hostapd.h | 187 struct wpa_authenticator *wpa_auth; member in struct:hostapd_data
|
H A D | wpa_auth.c | 79 wpa_auth_mic_failure_report( struct wpa_authenticator *wpa_auth, const u8 *addr) argument 88 wpa_auth_psk_failure_report( struct wpa_authenticator *wpa_auth, const u8 *addr) argument 96 wpa_auth_set_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, wpa_eapol_variable var, int value) argument 105 wpa_auth_get_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, wpa_eapol_variable var) argument 114 wpa_auth_get_psk(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk, size_t *psk_len, int *vlan_id) argument 127 wpa_auth_get_msk(struct wpa_authenticator *wpa_auth, const u8 *addr, u8 *msk, size_t *len) argument 136 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument 148 wpa_auth_get_seqnum(struct wpa_authenticator *wpa_auth, const u8 *addr, int idx, u8 *seq) argument 158 wpa_auth_send_eapol(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *data, size_t data_len, int encrypt) argument 169 wpa_auth_start_ampe(struct wpa_authenticator *wpa_auth, const u8 *addr) argument 179 wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) argument 189 wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_authenticator *a, void *ctx), void *cb_ctx) argument 199 wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, logger_level level, const char *txt) argument 208 wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr, logger_level level, const char *fmt, ...) argument 233 wpa_sta_disconnect(struct wpa_authenticator *wpa_auth, const u8 *addr, u16 reason) argument 245 wpa_channel_info(struct wpa_authenticator *wpa_auth, struct wpa_channel_info *ci) argument 255 wpa_auth_update_vlan(struct wpa_authenticator *wpa_auth, const u8 *addr, int vlan_id) argument 266 struct wpa_authenticator *wpa_auth = eloop_ctx; local 286 struct wpa_authenticator *wpa_auth = eloop_ctx; local 314 struct wpa_authenticator *wpa_auth = eloop_ctx; local 347 struct wpa_authenticator *wpa_auth = ctx; local 352 wpa_group_init_gmk_and_counter(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument 388 wpa_group_init(struct wpa_authenticator *wpa_auth, int vlan_id, int delay_init) argument 447 struct wpa_authenticator *wpa_auth; local 517 wpa_init_keys(struct wpa_authenticator *wpa_auth) argument 536 wpa_deinit(struct wpa_authenticator *wpa_auth) argument 574 wpa_reconfig(struct wpa_authenticator *wpa_auth, struct wpa_auth_config *conf) argument 603 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *p2p_dev_addr) argument 626 wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm) argument 792 ft_check_msg_2_of_4(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_ie_parse *kde) argument 841 wpa_receive_error_report(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int group) argument 944 wpa_receive(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, u8 *data, size_t data_len) argument 1419 struct wpa_authenticator *wpa_auth = eloop_ctx; local 1429 __wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr, int force_version) argument 1645 wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr) argument 1915 wpa_group_ensure_init(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument 2271 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local 2796 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local 2809 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local 3395 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local 3616 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local 3735 wpa_gtk_update(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument 3768 wpa_group_gtk_init(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument 3905 wpa_group_setkeys(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument 3940 wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument 3984 wpa_group_fatal_failure(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument 3994 wpa_group_setkeysdone(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument 4011 wpa_group_sm_step(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument 4089 wpa_gtk_rekey(struct wpa_authenticator *wpa_auth) argument 4124 wpa_get_mib(struct wpa_authenticator *wpa_auth, char *buf, size_t buflen) argument 4269 wpa_auth_countermeasures_start(struct wpa_authenticator *wpa_auth) argument 4353 wpa_auth_get_wpa_ie(struct wpa_authenticator *wpa_auth, size_t *len) argument 4397 wpa_auth_pmksa_add_preauth(struct wpa_authenticator *wpa_auth, const u8 *pmk, size_t len, const u8 *sta_addr, int session_timeout, struct eapol_state_machine *eapol) argument 4417 wpa_auth_pmksa_add_sae(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *pmk, const u8 *pmkid) argument 4441 wpa_auth_pmksa_add2(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *pmk, size_t pmk_len, const u8 *pmkid, int session_timeout, int akmp) argument 4458 wpa_auth_pmksa_remove(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) argument 4474 wpa_auth_pmksa_list(struct wpa_authenticator *wpa_auth, char *buf, size_t len) argument 4483 wpa_auth_pmksa_flush(struct wpa_authenticator *wpa_auth) argument 4493 wpa_auth_pmksa_list_mesh(struct wpa_authenticator *wpa_auth, const u8 *addr, char *buf, size_t len) argument 4521 wpa_auth_pmksa_add_entry(struct wpa_authenticator *wpa_auth, struct rsn_pmksa_cache_entry *entry) argument 4543 wpa_auth_pmksa_get(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, const u8 *pmkid) argument 4552 wpa_auth_pmksa_set_to_sm(struct rsn_pmksa_cache_entry *pmksa, struct wpa_state_machine *sm, struct wpa_authenticator *wpa_auth, u8 *pmkid, u8 *pmk) argument 4572 wpa_group_free(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument 4594 wpa_group_get(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument 4606 wpa_group_put(struct wpa_authenticator *wpa_auth, struct wpa_group *group) argument 4625 wpa_auth_add_group(struct wpa_authenticator *wpa_auth, int vlan_id) argument 4651 wpa_auth_ensure_group(struct wpa_authenticator *wpa_auth, int vlan_id) argument 4691 wpa_auth_release_group(struct wpa_authenticator *wpa_auth, int vlan_id) argument 4774 wpa_auth_eapol_key_tx_status(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int ack) argument 4839 wpa_auth_radius_das_disconnect_pmksa(struct wpa_authenticator *wpa_auth, struct radius_das_attrs *attr) argument 4846 wpa_auth_reconfig_group_keys(struct wpa_authenticator *wpa_auth) argument 4882 wpa_auth_pmksa_get_fils_cache_id(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, const u8 *pmkid) argument 4900 wpa_auth_write_fte(struct wpa_authenticator *wpa_auth, int use_sha384, u8 *buf, size_t len) argument 5222 wpa_auth_rekey_gtk(struct wpa_authenticator *wpa_auth) argument [all...] |
H A D | wpa_auth_ft.c | 626 static int wpa_ft_rrb_send(struct wpa_authenticator *wpa_auth, const u8 *dst, argument 637 static int wpa_ft_rrb_oui_send(struct wpa_authenticator *wpa_auth, argument 650 static int wpa_ft_action_send(struct wpa_authenticator *wpa_auth, argument 660 wpa_ft_get_psk(struct wpa_authenticator *wpa_auth, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk) argument 672 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) argument 680 wpa_ft_set_vlan(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, struct vlan_description *vlan) argument 689 wpa_ft_get_vlan(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, struct vlan_description *vlan) argument 699 wpa_ft_set_identity(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, const u8 *identity, size_t identity_len) argument 710 wpa_ft_get_identity(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, const u8 **buf) argument 721 wpa_ft_set_radius_cui(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, const u8 *radius_cui, size_t radius_cui_len) argument 732 wpa_ft_get_radius_cui(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, const u8 **buf) argument 743 wpa_ft_set_session_timeout(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, int session_timeout) argument 754 wpa_ft_get_session_timeout(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) argument 763 wpa_ft_add_tspec(struct wpa_authenticator *wpa_auth, const u8 *sta_addr, u8 *tspec_ie, size_t tspec_ielen) argument 777 wpa_channel_info(struct wpa_authenticator *wpa_auth, struct wpa_channel_info *ci) argument 900 wpa_ft_rrb_seq_flush(struct wpa_authenticator *wpa_auth, struct ft_remote_seq *rkh_seq, int cb) argument 924 wpa_ft_rrb_seq_req(struct wpa_authenticator *wpa_auth, struct ft_remote_seq *rkh_seq, const u8 *src_addr, const u8 *f_r0kh_id, size_t f_r0kh_id_len, const u8 *f_r1kh_id, const u8 *key, size_t key_len, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int (*cb)(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer)) argument 1092 wpa_ft_rrb_seq_accept(struct wpa_authenticator *wpa_auth, struct ft_remote_seq *rkh_seq, const u8 *src_addr, const u8 *auth, size_t auth_len, const char *msgtype) argument 1320 wpa_ft_store_pmk_r0(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r0, size_t pmk_r0_len, const u8 *pmk_r0_name, int pairwise, const struct vlan_description *vlan, int expires_in, int session_timeout, const u8 *identity, size_t identity_len, const u8 *radius_cui, size_t radius_cui_len) argument 1384 wpa_ft_fetch_pmk_r0(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r0_name, const struct wpa_ft_pmk_r0_sa **r0_out) argument 1407 wpa_ft_store_pmk_r1(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r1, size_t pmk_r1_len, const u8 *pmk_r1_name, int pairwise, const struct vlan_description *vlan, int expires_in, int session_timeout, const u8 *identity, size_t identity_len, const u8 *radius_cui, size_t radius_cui_len) argument 1474 wpa_ft_fetch_pmk_r1(struct wpa_authenticator *wpa_auth, const u8 *spa, const u8 *pmk_r1_name, u8 *pmk_r1, size_t *pmk_r1_len, int *pairwise, struct vlan_description *vlan, const u8 **identity, size_t *identity_len, const u8 **radius_cui, size_t *radius_cui_len, int *session_timeout) argument 1540 wpa_ft_rrb_lookup_r0kh(struct wpa_authenticator *wpa_auth, const u8 *f_r0kh_id, size_t f_r0kh_id_len, struct ft_remote_r0kh **r0kh_out, struct ft_remote_r0kh **r0kh_wildcard) argument 1587 wpa_ft_rrb_lookup_r1kh(struct wpa_authenticator *wpa_auth, const u8 *f_r1kh_id, struct ft_remote_r1kh **r1kh_out, struct ft_remote_r1kh **r1kh_wildcard) argument 1618 wpa_ft_rrb_check_r0kh(struct wpa_authenticator *wpa_auth, const u8 *f_r0kh_id, size_t f_r0kh_id_len) argument 1630 wpa_ft_rrb_check_r1kh(struct wpa_authenticator *wpa_auth, const u8 *f_r1kh_id) argument 1643 struct wpa_authenticator *wpa_auth = eloop_ctx; local 1667 wpa_ft_rrb_r0kh_replenish(struct wpa_authenticator *wpa_auth, struct ft_remote_r0kh *r0kh, int timeout) argument 1676 wpa_ft_rrb_r0kh_timeout(struct wpa_authenticator *wpa_auth, struct ft_remote_r0kh *r0kh, int timeout) argument 1688 wpa_ft_rrb_add_r0kh(struct wpa_authenticator *wpa_auth, struct ft_remote_r0kh *r0kh_wildcard, const u8 *src_addr, const u8 *r0kh_id, size_t id_len, int timeout) argument 1728 struct wpa_authenticator *wpa_auth = eloop_ctx; local 1752 wpa_ft_rrb_r1kh_replenish(struct wpa_authenticator *wpa_auth, struct ft_remote_r1kh *r1kh, int timeout) argument 1762 wpa_ft_rrb_add_r1kh(struct wpa_authenticator *wpa_auth, struct ft_remote_r1kh *r1kh_wildcard, const u8 *src_addr, const u8 *r1kh_id, int timeout) argument 1798 wpa_ft_deinit_seq(struct wpa_authenticator *wpa_auth) argument 1831 wpa_ft_deinit_rkh_tmp(struct wpa_authenticator *wpa_auth) argument 1876 wpa_ft_deinit(struct wpa_authenticator *wpa_auth) argument 1883 wpa_ft_block_r0kh(struct wpa_authenticator *wpa_auth, const u8 *f_r0kh_id, size_t f_r0kh_id_len) argument 2156 wpa_auth_get_seqnum(struct wpa_authenticator *wpa_auth, const u8 *addr, int idx, u8 *seq) argument 2614 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument 2677 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local 2786 wpa_ft_local_derive_pmk_r1(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *r0kh_id, size_t r0kh_id_len, const u8 *req_pmk_r0_name, const u8 *req_pmk_r1_name, u8 *out_pmk_r1, int *out_pairwise, struct vlan_description *vlan, const u8 **identity, size_t *identity_len, const u8 **radius_cui, size_t *radius_cui_len, int *out_session_timeout) argument 3414 wpa_ft_rrb_rx_request(struct wpa_authenticator *wpa_auth, const u8 *current_ap, const u8 *sta_addr, const u8 *body, size_t len) argument 3457 struct wpa_authenticator *wpa_auth = sm->wpa_auth; local 3577 wpa_ft_rrb_rx_pull(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) argument 3730 wpa_ft_rrb_rx_r1(struct wpa_authenticator *wpa_auth, const u8 *src_addr, u8 type, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, const char *msgtype, u8 *s1kh_id_out, int (*cb)(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer)) argument 3960 wpa_ft_rrb_rx_resp(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) argument 4014 wpa_ft_rrb_rx_push(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) argument 4032 wpa_ft_rrb_rx_seq(struct wpa_authenticator *wpa_auth, const u8 *src_addr, int type, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, struct ft_remote_seq **rkh_seq, u8 **key, size_t *key_len, struct ft_remote_r0kh **r0kh_out, struct ft_remote_r1kh **r1kh_out, struct ft_remote_r0kh **r0kh_wildcard_out, struct ft_remote_r1kh **r1kh_wildcard_out) argument 4150 wpa_ft_rrb_rx_seq_req(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) argument 4215 wpa_ft_rrb_rx_seq_resp(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *enc, size_t enc_len, const u8 *auth, size_t auth_len, int no_defer) argument 4316 wpa_ft_rrb_rx(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *data, size_t data_len) argument 4434 wpa_ft_rrb_oui_rx(struct wpa_authenticator *wpa_auth, const u8 *src_addr, const u8 *dst_addr, u8 oui_suffix, const u8 *data, size_t data_len) argument 4504 wpa_ft_generate_pmk_r1(struct wpa_authenticator *wpa_auth, struct wpa_ft_pmk_r0_sa *pmk_r0, struct ft_remote_r1kh *r1kh, const u8 *s1kh_id) argument 4549 wpa_ft_push_pmk_r1(struct wpa_authenticator *wpa_auth, const u8 *addr) argument [all...] |