/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap.c | 57 static bool eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) in eapol_get_bool() 63 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, in eapol_set_bool() 70 static unsigned int eapol_get_int(struct eap_sm *sm, enum eapol_int_var var) in eapol_get_int() 76 static void eapol_set_int(struct eap_sm *sm, enum eapol_int_var var, in eapol_set_int() 83 static struct wpabuf * eapol_get_eapReqData(struct eap_sm *sm) in eapol_get_eapReqData() 89 static void eap_notify_status(struct eap_sm *sm, const char *status, in eap_notify_status() 99 static void eap_report_error(struct eap_sm *sm, int error_code) in eap_report_error() 107 static void eap_sm_free_key(struct eap_sm *sm) in eap_sm_free_key() 116 static void eap_deinit_prev_method(struct eap_sm *sm, const char *txt) in eap_deinit_prev_method() 140 static int eap_config_allowed_method(struct eap_sm *sm, in eap_config_allowed_method() [all …]
|
H A D | eap_proxy_dummy.c | 27 int eap_proxy_key_available(struct eap_proxy_sm *sm) in eap_proxy_key_available() 33 const u8 * eap_proxy_get_eapKeyData(struct eap_proxy_sm *sm, size_t *len) in eap_proxy_get_eapKeyData() 39 struct wpabuf * eap_proxy_get_eapRespData(struct eap_proxy_sm *sm) in eap_proxy_get_eapRespData() 45 int eap_proxy_sm_step(struct eap_proxy_sm *sm, struct eap_sm *eap_sm) in eap_proxy_sm_step() 59 int eap_proxy_sm_get_status(struct eap_proxy_sm *sm, char *buf, size_t buflen, in eap_proxy_sm_get_status() 73 int eap_proxy_notify_config(struct eap_proxy_sm *sm, in eap_proxy_notify_config() 80 u8 * eap_proxy_get_eap_session_id(struct eap_proxy_sm *sm, size_t *len) in eap_proxy_get_eap_session_id() 86 u8 * eap_proxy_get_emsk(struct eap_proxy_sm *sm, size_t *len) in eap_proxy_get_emsk() 92 void eap_proxy_sm_abort(struct eap_proxy_sm *sm) in eap_proxy_sm_abort()
|
H A D | eap_tls.c | 33 static void * eap_tls_init(struct eap_sm *sm) in eap_tls_init() 83 static void * eap_unauth_tls_init(struct eap_sm *sm) in eap_unauth_tls_init() 110 static void * eap_wfa_unauth_tls_init(struct eap_sm *sm) in eap_wfa_unauth_tls_init() 145 static void eap_tls_deinit(struct eap_sm *sm, void *priv) in eap_tls_deinit() 158 static struct wpabuf * eap_tls_failure(struct eap_sm *sm, in eap_tls_failure() 180 static void eap_tls_success(struct eap_sm *sm, struct eap_tls_data *data, in eap_tls_success() 239 static struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv, in eap_tls_process() 331 static bool eap_tls_has_reauth_data(struct eap_sm *sm, void *priv) in eap_tls_has_reauth_data() 338 static void eap_tls_deinit_for_reauth(struct eap_sm *sm, void *priv) in eap_tls_deinit_for_reauth() 348 static void * eap_tls_init_for_reauth(struct eap_sm *sm, void *priv) in eap_tls_init_for_reauth() [all …]
|
/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | wpa.c | 91 int wpa_eapol_key_send(struct wpa_sm *sm, struct wpa_ptk *ptk, in wpa_eapol_key_send() 220 void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) in wpa_sm_key_request() 293 static void wpa_supplicant_key_mgmt_set_pmk(struct wpa_sm *sm) in wpa_supplicant_key_mgmt_set_pmk() 311 static int wpa_supplicant_get_pmk(struct wpa_sm *sm, in wpa_supplicant_get_pmk() 525 int wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, in wpa_supplicant_send_2_of_4() 683 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk() 740 static int wpa_handle_ext_key_id(struct wpa_sm *sm, in wpa_handle_ext_key_id() 798 static size_t wpa_mlo_link_kde_len(struct wpa_sm *sm) in wpa_mlo_link_kde_len() 812 static u8 * wpa_mlo_link_kde(struct wpa_sm *sm, u8 *pos) in wpa_mlo_link_kde() 832 static bool is_valid_ap_mld_mac_kde(struct wpa_sm *sm, const u8 *mac_kde) in is_valid_ap_mld_mac_kde() [all …]
|
H A D | preauth.h | 32 static inline void pmksa_candidate_free(struct wpa_sm *sm) in pmksa_candidate_free() 36 static inline void rsn_preauth_candidate_process(struct wpa_sm *sm) in rsn_preauth_candidate_process() 40 static inline int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, in rsn_preauth_init() 46 static inline void rsn_preauth_deinit(struct wpa_sm *sm) in rsn_preauth_deinit() 50 static inline int rsn_preauth_scan_results(struct wpa_sm *sm) in rsn_preauth_scan_results() 55 static inline void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, in rsn_preauth_scan_result() 60 static inline void pmksa_candidate_add(struct wpa_sm *sm, in pmksa_candidate_add() 66 static inline int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, in rsn_preauth_get_status() 72 static inline int rsn_preauth_in_progress(struct wpa_sm *sm) in rsn_preauth_in_progress()
|
H A D | wpa.h | 272 static inline void wpa_sm_deinit(struct wpa_sm *sm) in wpa_sm_deinit() 276 static inline void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) in wpa_sm_notify_assoc() 280 static inline void wpa_sm_notify_disassoc(struct wpa_sm *sm) in wpa_sm_notify_disassoc() 284 static inline void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, in wpa_sm_set_pmk() 290 static inline void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) in wpa_sm_set_pmk_from_pmksa() 294 static inline void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) in wpa_sm_set_fast_reauth() 298 static inline void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) in wpa_sm_set_scard_ctx() 302 static inline void wpa_sm_set_config(struct wpa_sm *sm, in wpa_sm_set_config() 307 static inline void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) in wpa_sm_set_own_addr() 311 static inline void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, in wpa_sm_set_ifname() [all …]
|
H A D | preauth.c | 37 void pmksa_candidate_free(struct wpa_sm *sm) in pmksa_candidate_free() 65 struct wpa_sm *sm = ctx; in rsn_preauth_receive() local 88 struct wpa_sm *sm = ctx; in rsn_preauth_eapol_cb() local 132 struct wpa_sm *sm = eloop_ctx; in rsn_preauth_timeout() local 144 struct wpa_sm *sm = ctx; in rsn_preauth_eapol_send() local 181 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, in rsn_preauth_init() 284 void rsn_preauth_deinit(struct wpa_sm *sm) in rsn_preauth_deinit() 311 void rsn_preauth_candidate_process(struct wpa_sm *sm) in rsn_preauth_candidate_process() 378 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, in pmksa_candidate_add() 458 int rsn_preauth_scan_results(struct wpa_sm *sm) in rsn_preauth_scan_results() [all …]
|
H A D | wpa_ft.c | 31 static void wpa_ft_pasn_store_r1kh(struct wpa_sm *sm, const u8 *bssid) in wpa_ft_pasn_store_r1kh() 37 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk_ft() 112 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() 206 static u8 * wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len, in wpa_ft_gen_req_ies() 492 static int wpa_ft_install_ptk(struct wpa_sm *sm, const u8 *bssid) in wpa_ft_install_ptk() 530 int wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie) in wpa_ft_prepare_auth_request() 553 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *buf, size_t buf_len, in wpa_ft_add_mdie() 578 const u8 * wpa_sm_get_ft_md(struct wpa_sm *sm) in wpa_sm_get_ft_md() 584 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() 780 int wpa_ft_is_completed(struct wpa_sm *sm) in wpa_ft_is_completed() [all …]
|
/freebsd/contrib/wpa/src/eapol_supp/ |
H A D | eapol_supp_sm.h | 383 static inline void eapol_sm_deinit(struct eapol_sm *sm) in eapol_sm_deinit() 386 static inline void eapol_sm_step(struct eapol_sm *sm) in eapol_sm_step() 389 static inline int eapol_sm_get_status(struct eapol_sm *sm, char *buf, in eapol_sm_get_status() 394 static inline int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, in eapol_sm_get_mib() 399 static inline void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, in eapol_sm_configure() 404 static inline int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, in eapol_sm_rx_eapol() 410 static inline void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) in eapol_sm_notify_tx_eapol_key() 413 static inline void eapol_sm_notify_portEnabled(struct eapol_sm *sm, in eapol_sm_notify_portEnabled() 417 static inline void eapol_sm_notify_portValid(struct eapol_sm *sm, in eapol_sm_notify_portValid() 421 static inline void eapol_sm_notify_eap_success(struct eapol_sm *sm, in eapol_sm_notify_eap_success() [all …]
|
H A D | eapol_supp_sm.c | 168 struct eapol_sm *sm = timeout_ctx; in eapol_port_timers_tick() local 203 static int eapol_sm_confirm_auth(struct eapol_sm *sm) in eapol_sm_confirm_auth() 212 static void eapol_enable_timer_tick(struct eapol_sm *sm) in eapol_enable_timer_tick() 664 static void eapol_sm_txLogoff(struct eapol_sm *sm) in eapol_sm_txLogoff() 674 static void eapol_sm_txStart(struct eapol_sm *sm) in eapol_sm_txStart() 693 static void eapol_sm_processKey(struct eapol_sm *sm) in eapol_sm_processKey() 874 static void eapol_sm_getSuppRsp(struct eapol_sm *sm) in eapol_sm_getSuppRsp() 884 static void eapol_sm_txSuppRsp(struct eapol_sm *sm) in eapol_sm_txSuppRsp() 926 static void eapol_sm_abortSupp(struct eapol_sm *sm) in eapol_sm_abortSupp() 947 static void eapol_sm_set_port_authorized(struct eapol_sm *sm) in eapol_sm_set_port_authorized() [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_sm_state_mgr.c | 67 void osm_report_sm_state(osm_sm_t * sm) in osm_report_sm_state() 77 static boolean_t sm_state_mgr_send_master_sm_info_req(osm_sm_t * sm, uint8_t sm_state) in sm_state_mgr_send_master_sm_info_req() 145 static void sm_state_mgr_start_polling(osm_sm_t * sm) in sm_state_mgr_start_polling() 180 osm_sm_t *sm = context; in osm_sm_state_mgr_polling_callback() local 257 static void sm_state_mgr_signal_error(osm_sm_t * sm, IN osm_sm_signal_t signal) in sm_state_mgr_signal_error() 265 void osm_sm_state_mgr_signal_master_is_alive(osm_sm_t * sm) in osm_sm_state_mgr_signal_master_is_alive() 272 ib_api_status_t osm_sm_state_mgr_process(osm_sm_t * sm, in osm_sm_state_mgr_process() 501 ib_api_status_t osm_sm_state_mgr_check_legality(osm_sm_t * sm, in osm_sm_state_mgr_check_legality()
|
H A D | osm_state_mgr.c | 82 static void state_mgr_up_msg(IN const osm_sm_t * sm) in state_mgr_up_msg() 131 osm_sm_t *sm = context; in state_mgr_get_sw_info() local 162 static void state_mgr_get_remote_port_info(IN osm_sm_t * sm, in state_mgr_get_remote_port_info() 210 static ib_api_status_t state_mgr_sweep_hop_0(IN osm_sm_t * sm) in state_mgr_sweep_hop_0() 275 static ib_api_status_t state_mgr_clean_known_lids(IN osm_sm_t * sm) in state_mgr_clean_known_lids() 298 static ib_api_status_t state_mgr_sa_clean(IN osm_sm_t * sm) in state_mgr_sa_clean() 398 static ib_api_status_t state_mgr_notify_lid_change(IN osm_sm_t * sm) in state_mgr_notify_lid_change() 434 static boolean_t state_mgr_is_sm_port_down(IN osm_sm_t * sm) in state_mgr_is_sm_port_down() 496 static ib_api_status_t state_mgr_sweep_hop_1(IN osm_sm_t * sm) in state_mgr_sweep_hop_1() 617 osm_sm_t *sm = cxt; in query_sm_info() local [all …]
|
H A D | osm_node_info_rcv.c | 68 static void report_duplicated_guid(IN osm_sm_t * sm, osm_physp_t * p_physp, in report_duplicated_guid() 101 static void requery_dup_node_info(IN osm_sm_t * sm, osm_physp_t * p_physp, in requery_dup_node_info() 141 static void ni_rcv_set_links(IN osm_sm_t * sm, osm_node_t * p_node, in ni_rcv_set_links() 314 static void ni_rcv_get_port_info(IN osm_sm_t * sm, IN osm_node_t * node, in ni_rcv_get_port_info() 372 void osm_req_get_node_desc(IN osm_sm_t * sm, osm_physp_t * p_physp) in osm_req_get_node_desc() 396 static void ni_rcv_get_node_desc(IN osm_sm_t * sm, IN osm_node_t * p_node, in ni_rcv_get_node_desc() 435 static void ni_rcv_process_new_ca_or_router(IN osm_sm_t * sm, in ni_rcv_process_new_ca_or_router() 457 static void ni_rcv_process_existing_ca_or_router(IN osm_sm_t * sm, in ni_rcv_process_existing_ca_or_router() 579 static void ni_rcv_process_switch(IN osm_sm_t * sm, IN osm_node_t * p_node, in ni_rcv_process_switch() 617 static void ni_rcv_process_existing_switch(IN osm_sm_t * sm, in ni_rcv_process_existing_switch() [all …]
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server.c | 44 static int eap_get_erp_send_reauth_start(struct eap_sm *sm) in eap_get_erp_send_reauth_start() 52 static const char * eap_get_erp_domain(struct eap_sm *sm) in eap_get_erp_domain() 62 static struct eap_server_erp_key * eap_erp_get_key(struct eap_sm *sm, in eap_erp_get_key() 71 static int eap_erp_add_key(struct eap_sm *sm, struct eap_server_erp_key *erp) in eap_erp_add_key() 81 static struct wpabuf * eap_sm_buildInitiateReauthStart(struct eap_sm *sm, in eap_sm_buildInitiateReauthStart() 158 int eap_user_get(struct eap_sm *sm, const u8 *identity, size_t identity_len, in eap_user_get() 187 void eap_log_msg(struct eap_sm *sm, const char *fmt, ...) in eap_log_msg() 419 static void eap_server_erp_init(struct eap_sm *sm) in eap_server_erp_init() 703 static void erp_send_finish_reauth(struct eap_sm *sm, in erp_send_finish_reauth() 1430 static int eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount, in eap_sm_calculateTimeout() [all …]
|
H A D | eap_server_tls.c | 57 static void eap_tls_valid_session(struct eap_sm *sm, struct eap_tls_data *data) in eap_tls_valid_session() 72 static void * eap_tls_init(struct eap_sm *sm) in eap_tls_init() 96 static void * eap_unauth_tls_init(struct eap_sm *sm) in eap_unauth_tls_init() 118 static void * eap_wfa_unauth_tls_init(struct eap_sm *sm) in eap_wfa_unauth_tls_init() 140 static void eap_tls_reset(struct eap_sm *sm, void *priv) in eap_tls_reset() 150 static struct wpabuf * eap_tls_build_start(struct eap_sm *sm, in eap_tls_build_start() 171 static struct wpabuf * eap_tls_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_tls_buildReq() 229 static bool eap_tls_check(struct eap_sm *sm, void *priv, in eap_tls_check() 256 static void eap_tls_process_msg(struct eap_sm *sm, void *priv, in eap_tls_process_msg() 272 static void eap_tls_process(struct eap_sm *sm, void *priv, in eap_tls_process() [all …]
|
H A D | eap_server_fast.c | 111 static enum eap_type eap_fast_req_failure(struct eap_sm *sm, in eap_fast_req_failure() 272 static void eap_fast_derive_key_auth(struct eap_sm *sm, in eap_fast_derive_key_auth() 302 static void eap_fast_derive_key_provisioning(struct eap_sm *sm, in eap_fast_derive_key_provisioning() 333 static int eap_fast_get_phase2_key(struct eap_sm *sm, in eap_fast_get_phase2_key() 367 static int eap_fast_update_icmk(struct eap_sm *sm, struct eap_fast_data *data) in eap_fast_update_icmk() 400 static void * eap_fast_init(struct eap_sm *sm) in eap_fast_init() 497 static void eap_fast_reset(struct eap_sm *sm, void *priv) in eap_fast_reset() 514 static struct wpabuf * eap_fast_build_start(struct eap_sm *sm, in eap_fast_build_start() 540 static int eap_fast_phase1_done(struct eap_sm *sm, struct eap_fast_data *data) in eap_fast_phase1_done() 567 static struct wpabuf * eap_fast_build_phase2_req(struct eap_sm *sm, in eap_fast_build_phase2_req() [all …]
|
H A D | eap_server_identity.c | 21 static void * eap_identity_init(struct eap_sm *sm) in eap_identity_init() 34 static void * eap_identity_initPickUp(struct eap_sm *sm) in eap_identity_initPickUp() 45 static void eap_identity_reset(struct eap_sm *sm, void *priv) in eap_identity_reset() 52 static struct wpabuf * eap_identity_buildReq(struct eap_sm *sm, void *priv, in eap_identity_buildReq() 82 static bool eap_identity_check(struct eap_sm *sm, void *priv, in eap_identity_check() 99 static void eap_identity_process(struct eap_sm *sm, void *priv, in eap_identity_process() 143 static bool eap_identity_isDone(struct eap_sm *sm, void *priv) in eap_identity_isDone() 150 static bool eap_identity_isSuccess(struct eap_sm *sm, void *priv) in eap_identity_isSuccess()
|
H A D | eap_server_sim.c | 77 static void * eap_sim_init(struct eap_sm *sm) in eap_sim_init() 95 static void eap_sim_reset(struct eap_sm *sm, void *priv) in eap_sim_reset() 104 static struct wpabuf * eap_sim_build_start(struct eap_sm *sm, in eap_sim_build_start() 166 static int eap_sim_build_encr(struct eap_sm *sm, struct eap_sim_data *data, in eap_sim_build_encr() 243 static struct wpabuf * eap_sim_build_challenge(struct eap_sm *sm, in eap_sim_build_challenge() 273 static struct wpabuf * eap_sim_build_reauth(struct eap_sm *sm, in eap_sim_build_reauth() 320 static struct wpabuf * eap_sim_build_notification(struct eap_sm *sm, in eap_sim_build_notification() 359 static struct wpabuf * eap_sim_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_sim_buildReq() 381 static bool eap_sim_check(struct eap_sm *sm, void *priv, in eap_sim_check() 448 static void eap_sim_process_start(struct eap_sm *sm, in eap_sim_process_start() [all …]
|
H A D | eap_server_sake.c | 61 static void * eap_sake_init(struct eap_sm *sm) in eap_sake_init() 82 static void eap_sake_reset(struct eap_sm *sm, void *priv) in eap_sake_reset() 116 static struct wpabuf * eap_sake_build_identity(struct eap_sm *sm, in eap_sake_build_identity() 144 static struct wpabuf * eap_sake_build_challenge(struct eap_sm *sm, in eap_sake_build_challenge() 180 static struct wpabuf * eap_sake_build_confirm(struct eap_sm *sm, in eap_sake_build_confirm() 215 static struct wpabuf * eap_sake_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_sake_buildReq() 235 static bool eap_sake_check(struct eap_sm *sm, void *priv, in eap_sake_check() 287 static void eap_sake_process_identity(struct eap_sm *sm, in eap_sake_process_identity() 301 static void eap_sake_process_challenge(struct eap_sm *sm, in eap_sake_process_challenge() 372 static void eap_sake_process_confirm(struct eap_sm *sm, in eap_sake_process_confirm() [all …]
|
H A D | eap_server_psk.c | 33 static void * eap_psk_init(struct eap_sm *sm) in eap_psk_init() 46 static void eap_psk_reset(struct eap_sm *sm, void *priv) in eap_psk_reset() 54 static struct wpabuf * eap_psk_build_1(struct eap_sm *sm, in eap_psk_build_1() 89 static struct wpabuf * eap_psk_build_3(struct eap_sm *sm, in eap_psk_build_3() 156 static struct wpabuf * eap_psk_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_psk_buildReq() 174 static bool eap_psk_check(struct eap_sm *sm, void *priv, in eap_psk_check() 213 static void eap_psk_process_2(struct eap_sm *sm, in eap_psk_process_2() 328 static void eap_psk_process_4(struct eap_sm *sm, in eap_psk_process_4() 407 static void eap_psk_process(struct eap_sm *sm, void *priv, in eap_psk_process() 436 static bool eap_psk_isDone(struct eap_sm *sm, void *priv) in eap_psk_isDone() [all …]
|
H A D | eap_server_aka.c | 92 static int eap_aka_check_identity_reauth(struct eap_sm *sm, in eap_aka_check_identity_reauth() 155 static void eap_aka_check_identity(struct eap_sm *sm, in eap_aka_check_identity() 221 static void * eap_aka_init(struct eap_sm *sm) in eap_aka_init() 245 static void * eap_aka_prime_init(struct eap_sm *sm) in eap_aka_prime_init() 278 static void eap_aka_reset(struct eap_sm *sm, void *priv) in eap_aka_reset() 389 static struct wpabuf * eap_aka_build_identity(struct eap_sm *sm, in eap_aka_build_identity() 431 static int eap_aka_build_encr(struct eap_sm *sm, struct eap_aka_data *data, in eap_aka_build_encr() 512 static struct wpabuf * eap_aka_build_challenge(struct eap_sm *sm, in eap_aka_build_challenge() 588 static struct wpabuf * eap_aka_build_reauth(struct eap_sm *sm, in eap_aka_build_reauth() 645 static struct wpabuf * eap_aka_build_notification(struct eap_sm *sm, in eap_aka_build_notification() [all …]
|
H A D | eap_server_peap.c | 107 static void eap_peap_valid_session(struct eap_sm *sm, in eap_peap_valid_session() 136 static void eap_peap_req_success(struct eap_sm *sm, in eap_peap_req_success() 153 static void eap_peap_req_failure(struct eap_sm *sm, in eap_peap_req_failure() 171 static void * eap_peap_init(struct eap_sm *sm) in eap_peap_init() 199 static void eap_peap_reset(struct eap_sm *sm, void *priv) in eap_peap_reset() 214 static struct wpabuf * eap_peap_build_start(struct eap_sm *sm, in eap_peap_build_start() 236 static struct wpabuf * eap_peap_build_phase2_req(struct eap_sm *sm, in eap_peap_build_phase2_req() 272 static struct wpabuf * eap_peap_build_phase2_soh(struct eap_sm *sm, in eap_peap_build_phase2_soh() 327 static int eap_peap_derive_cmk(struct eap_sm *sm, struct eap_peap_data *data) in eap_peap_derive_cmk() 403 static struct wpabuf * eap_peap_build_phase2_tlv(struct eap_sm *sm, in eap_peap_build_phase2_tlv() [all …]
|
H A D | eap_server_ttls.c | 79 static void eap_ttls_valid_session(struct eap_sm *sm, in eap_ttls_valid_session() 331 static u8 * eap_ttls_implicit_challenge(struct eap_sm *sm, in eap_ttls_implicit_challenge() 339 static void * eap_ttls_init(struct eap_sm *sm) in eap_ttls_init() 359 static void eap_ttls_reset(struct eap_sm *sm, void *priv) in eap_ttls_reset() 372 static struct wpabuf * eap_ttls_build_start(struct eap_sm *sm, in eap_ttls_build_start() 395 struct eap_sm *sm, struct eap_ttls_data *data, u8 id) in eap_ttls_build_phase2_eap_req() 425 struct eap_sm *sm, struct eap_ttls_data *data) in eap_ttls_build_phase2_mschapv2() 466 static struct wpabuf * eap_ttls_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_ttls_buildReq() 513 static bool eap_ttls_check(struct eap_sm *sm, void *priv, in eap_ttls_check() 529 static void eap_ttls_process_phase2_pap(struct eap_sm *sm, in eap_ttls_process_phase2_pap() [all …]
|
/freebsd/contrib/wpa/src/pae/ |
H A D | ieee802_1x_cp.c | 96 static int changed_cipher(struct ieee802_1x_cp_sm *sm) in changed_cipher() 103 static int changed_connect(struct ieee802_1x_cp_sm *sm) in changed_connect() 452 struct ieee802_1x_cp_sm *sm; in ieee802_1x_cp_sm_init() local 508 static void ieee802_1x_cp_step_run(struct ieee802_1x_cp_sm *sm) in ieee802_1x_cp_step_run() 524 struct ieee802_1x_cp_sm *sm = eloop_ctx; in ieee802_1x_cp_step_cb() local 532 void ieee802_1x_cp_sm_deinit(struct ieee802_1x_cp_sm *sm) in ieee802_1x_cp_sm_deinit() 552 struct ieee802_1x_cp_sm *sm = cp_ctx; in ieee802_1x_cp_connect_pending() local 563 struct ieee802_1x_cp_sm *sm = (struct ieee802_1x_cp_sm *)cp_ctx; in ieee802_1x_cp_connect_unauthenticated() local 574 struct ieee802_1x_cp_sm *sm = cp_ctx; in ieee802_1x_cp_connect_authenticated() local 585 struct ieee802_1x_cp_sm *sm = cp_ctx; in ieee802_1x_cp_connect_secure() local [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | space_map.c | 86 space_map_iterate(space_map_t *sm, uint64_t end, sm_cb_t callback, void *arg) in space_map_iterate() 202 space_map_reversed_last_block_entries(space_map_t *sm, uint64_t *buf, in space_map_reversed_last_block_entries() 275 space_map_incremental_destroy(space_map_t *sm, sm_cb_t callback, void *arg, in space_map_incremental_destroy() 422 space_map_load_length(space_map_t *sm, zfs_range_tree_t *rt, maptype_t maptype, in space_map_load_length() 449 space_map_load(space_map_t *sm, zfs_range_tree_t *rt, maptype_t maptype) in space_map_load() 455 space_map_histogram_clear(space_map_t *sm) in space_map_histogram_clear() 465 space_map_histogram_verify(space_map_t *sm, zfs_range_tree_t *rt) in space_map_histogram_verify() 479 space_map_histogram_add(space_map_t *sm, zfs_range_tree_t *rt, dmu_tx_t *tx) in space_map_histogram_add() 529 space_map_write_intro_debug(space_map_t *sm, maptype_t maptype, dmu_tx_t *tx) in space_map_write_intro_debug() 552 space_map_write_seg(space_map_t *sm, uint64_t rstart, uint64_t rend, in space_map_write_seg() [all …]
|