| /freebsd-13.1/contrib/wpa/src/ap/ |
| H A D | ap_mlme.c | 60 if (sta->auth_alg != WLAN_AUTH_FT && in mlme_authenticate_indication() 61 sta->auth_alg != WLAN_AUTH_FILS_SK && in mlme_authenticate_indication() 62 sta->auth_alg != WLAN_AUTH_FILS_SK_PFS && in mlme_authenticate_indication() 63 sta->auth_alg != WLAN_AUTH_FILS_PK && in mlme_authenticate_indication() 112 if (sta->auth_alg != WLAN_AUTH_FT && in mlme_associate_indication() 113 sta->auth_alg != WLAN_AUTH_FILS_SK && in mlme_associate_indication() 114 sta->auth_alg != WLAN_AUTH_FILS_SK_PFS && in mlme_associate_indication() 115 sta->auth_alg != WLAN_AUTH_FILS_PK) in mlme_associate_indication() 140 if (sta->auth_alg != WLAN_AUTH_FT && in mlme_reassociate_indication() 141 sta->auth_alg != WLAN_AUTH_FILS_SK && in mlme_reassociate_indication() [all …]
|
| H A D | ieee802_11.c | 390 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply() 404 auth_alg == WLAN_AUTH_SAE) { in send_auth_reply() 967 sta->auth_alg = WLAN_AUTH_SAE; in sae_accept_sta() 2228 u16 auth_alg; in handle_auth_fils_finish() local 2230 auth_alg = (pub || in handle_auth_fils_finish() 3580 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in handle_auth() 3605 auth_alg); in handle_auth() 3643 auth_alg); in handle_auth() 3856 switch (auth_alg) { in handle_auth() 6345 auth_alg = 0; in handle_auth_cb() [all …]
|
| H A D | drv_callbacks.c | 444 if (sta->auth_alg == WLAN_AUTH_FT) { in hostapd_notif_assoc() 460 sta->auth_alg == WLAN_AUTH_SAE && in hostapd_notif_assoc() 540 sta->auth_alg, req_ies, req_ies_len, in hostapd_notif_assoc() 549 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_notif_assoc() 551 sta->auth_alg == WLAN_AUTH_FILS_PK) { in hostapd_notif_assoc() 690 if (sta->auth_alg == WLAN_AUTH_FT || in hostapd_notif_assoc() 693 sta->auth_alg == WLAN_AUTH_FILS_PK) in hostapd_notif_assoc() 712 sta->auth_alg == WLAN_AUTH_FILS_PK) in hostapd_notif_assoc() 1229 sta->auth_alg = WLAN_AUTH_FILS_SK; in hostapd_notify_auth_fils_finish() 1265 sta->auth_alg = WLAN_AUTH_FT; in hostapd_notif_auth() [all …]
|
| H A D | ap_drv_ops.c | 282 sta->auth_alg == WLAN_AUTH_FT) && in hostapd_set_sta_flags() 351 u16 auth_alg) in hostapd_add_sta_node() argument 355 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node() 381 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_sta_auth() 382 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_sta_auth() 383 sta->auth_alg == WLAN_AUTH_FILS_PK) { in hostapd_sta_auth()
|
| H A D | wpa_auth.h | 456 size_t max_len, int auth_alg, 542 void wpa_auth_set_auth_alg(struct wpa_state_machine *sm, u16 auth_alg);
|
| H A D | wpa_auth_i.h | 25 u16 auth_alg; member
|
| H A D | wpa_auth_ft.c | 2506 size_t max_len, int auth_alg, in wpa_sm_write_assoc_resp_ies() argument 2537 if (auth_alg == WLAN_AUTH_FT && in wpa_sm_write_assoc_resp_ies() 2562 if (auth_alg == WLAN_AUTH_FT || in wpa_sm_write_assoc_resp_ies() 2563 ((auth_alg == WLAN_AUTH_FILS_SK || in wpa_sm_write_assoc_resp_ies() 2564 auth_alg == WLAN_AUTH_FILS_SK_PFS || in wpa_sm_write_assoc_resp_ies() 2565 auth_alg == WLAN_AUTH_FILS_PK) && in wpa_sm_write_assoc_resp_ies() 2598 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies() 2729 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies() 2737 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies() 2755 if (auth_alg == WLAN_AUTH_FT && in wpa_sm_write_assoc_resp_ies() [all …]
|
| H A D | wpa_auth_ie.c | 925 (sm->auth_alg == WLAN_AUTH_FILS_SK || in wpa_validate_wpa_ie() 926 sm->auth_alg == WLAN_AUTH_FILS_SK_PFS || in wpa_validate_wpa_ie() 927 sm->auth_alg == WLAN_AUTH_FILS_PK) && in wpa_validate_wpa_ie()
|
| H A D | sta_info.h | 167 u16 auth_alg; member
|
| /freebsd-13.1/tests/sys/kern/ |
| H A D | ktls_test.c | 415 switch (auth_alg) { in build_tls_enable() 435 en->auth_algorithm = auth_alg; in build_tls_enable() 1314 auth_alg, minor, name) \ argument 1334 auth_alg, minor, name) \ argument 1371 auth_alg, minor, long) \ 1373 auth_alg, minor, control) 1392 auth_alg, minor) \ argument 1427 auth_alg, minor) \ argument 1575 auth_alg, minor, long) 1652 auth_alg, minor) \ argument [all …]
|
| /freebsd-13.1/contrib/wpa/wpa_supplicant/ |
| H A D | sme.c | 375 params.auth_alg = WPA_AUTH_ALG_OPEN; in sme_send_authentication() 387 params.auth_alg); in sme_send_authentication() 388 if (ssid->auth_alg) { in sme_send_authentication() 389 params.auth_alg = ssid->auth_alg; in sme_send_authentication() 391 "0x%x", params.auth_alg); in sme_send_authentication() 573 params.auth_alg = WPA_AUTH_ALG_FT; in sme_send_authentication() 848 int auth_alg; in sme_send_authentication() local 857 auth_alg = ssid->fils_dh_group ? in sme_send_authentication() 859 params.auth_alg = auth_alg; in sme_send_authentication() 862 wpa_s->sme.auth_alg = auth_alg; in sme_send_authentication() [all …]
|
| H A D | config_ssid.h | 290 int auth_alg; member
|
| H A D | wpa_priv.c | 269 params.auth_alg = auth->auth_alg; in wpa_priv_cmd_authenticate() 333 params.auth_alg = assoc->auth_alg; in wpa_priv_cmd_associate()
|
| H A D | wpa_supplicant.conf | 1918 auth_alg=SHARED
|
| H A D | wps_supplicant.c | 304 if (ssid->auth_alg != new_ssid->auth_alg || in wpas_wps_remove_dup_network() 516 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred() 531 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred() 536 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred() 544 ssid->auth_alg = 0; in wpa_supplicant_wps_cred()
|
| H A D | ibss_rsn.c | 516 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN); in ibss_rsn_send_auth() 927 if (le_to_host16(header->u.auth.auth_alg) != WLAN_AUTH_OPEN || in ibss_rsn_handle_auth()
|
| /freebsd-13.1/contrib/wpa/src/common/ |
| H A D | privsep_commands.h | 48 int auth_alg; member 70 int auth_alg; member
|
| /freebsd-13.1/contrib/wpa/src/drivers/ |
| H A D | driver_privsep.c | 260 params->auth_alg, params->local_state_change, params->p2p); in wpa_driver_privsep_authenticate() 271 data->auth_alg = params->auth_alg; in wpa_driver_privsep_authenticate() 310 params->auth_alg, params->mode); in wpa_driver_privsep_associate() 327 data->auth_alg = params->auth_alg; in wpa_driver_privsep_associate()
|
| H A D | driver_wext.c | 39 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg); 2091 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_auth_alg_fallback() 2093 if (params->auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_auth_alg_fallback() 2132 if (wpa_driver_wext_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_wext_associate() 2229 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg) in wpa_driver_wext_set_auth_alg() argument 2234 if (auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_set_auth_alg() 2236 if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_set_auth_alg() 2238 if (auth_alg & WPA_AUTH_ALG_LEAP) in wpa_driver_wext_set_auth_alg()
|
| H A D | driver_bsd.c | 1180 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) in wpa_driver_bsd_set_auth_alg() argument 1184 if ((auth_alg & WPA_AUTH_ALG_OPEN) && in wpa_driver_bsd_set_auth_alg() 1185 (auth_alg & WPA_AUTH_ALG_SHARED)) in wpa_driver_bsd_set_auth_alg() 1187 else if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_bsd_set_auth_alg() 1254 if (wpa_driver_bsd_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_bsd_associate()
|
| H A D | driver_nl80211.h | 214 int auth_alg; member
|
| H A D | driver_atheros.c | 930 if (le_to_host16(mgmt->u.auth.auth_alg) == WLAN_AUTH_SAE) { in atheros_raw_receive() 938 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in atheros_raw_receive() 2018 static int atheros_add_sta_node(void *priv, const u8 *addr, u16 auth_alg) in atheros_add_sta_node() argument 2027 addnode->auth_alg = auth_alg; in atheros_add_sta_node()
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | print-802_11.c | 280 uint16_t auth_alg; member 1454 pbody.auth_alg = EXTRACT_LE_16BITS(p); in handle_auth() 1466 if ((pbody.auth_alg == 1) && in handle_auth() 1470 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth() 1471 ? auth_alg_text[pbody.auth_alg] in handle_auth() 1481 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth() 1482 ? auth_alg_text[pbody.auth_alg] in handle_auth()
|
| /freebsd-13.1/sbin/setkey/ |
| H A D | parse.y | 293 : F_ENC enc_alg F_AUTH auth_alg 298 : F_AUTH auth_alg 433 auth_alg
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_fpga/ |
| H A D | mlx5_ifc_fpga.h | 402 u8 auth_alg[0x20]; member
|