| /freebsd/contrib/wpa/src/ap/ |
| H A D | ap_mlme.c | 59 MAC2STR(sta->addr), mlme_auth_alg_str(sta->auth_alg)); in mlme_authenticate_indication() 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() 116 sta->auth_alg != WLAN_AUTH_EPPKE && in mlme_associate_indication() [all …]
|
| H A D | ieee802_11.c | 357 u16 auth_alg, u16 auth_transaction, u16 resp, in send_auth_reply() argument 386 if (auth_alg == WLAN_AUTH_802_1X && in send_auth_reply() 409 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply() 426 MAC2STR(dst), auth_alg, auth_transaction, in send_auth_reply() 431 auth_alg == WLAN_AUTH_SAE) { in send_auth_reply() 462 if (auth_alg == WLAN_AUTH_802_1X && in send_auth_reply() 499 frame = (const u8 *) &reply->u.auth.auth_alg; in send_auth_reply() 1337 sta->auth_alg = WLAN_AUTH_SAE; in sae_accept_sta() 2689 const u8 *pos, size_t len, u16 auth_alg, in handle_auth_802_1x() argument 2840 sta->auth_alg = WLAN_AUTH_802_1X; in handle_auth_802_1x() [all …]
|
| H A D | drv_callbacks.c | 128 if (!sta->sa_query_timed_out && (sta->auth_alg != WLAN_AUTH_FT)) { in check_sa_query_need() 636 wpa_auth_set_auth_alg(sta->wpa_sm, sta->auth_alg); in hostapd_notif_assoc() 729 if (sta->auth_alg == WLAN_AUTH_FT) { in hostapd_notif_assoc() 745 sta->auth_alg == WLAN_AUTH_SAE && in hostapd_notif_assoc() 815 sta->auth_alg, req_ies, req_ies_len, in hostapd_notif_assoc() 824 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_notif_assoc() 825 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_notif_assoc() 826 sta->auth_alg == WLAN_AUTH_FILS_PK) { in hostapd_notif_assoc() 969 if (sta->auth_alg == WLAN_AUTH_FT || in hostapd_notif_assoc() 970 sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_notif_assoc() [all …]
|
| H A D | ap_drv_ops.c | 408 u16 auth_alg) in hostapd_add_sta_node() argument 412 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node() 438 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_sta_auth() 439 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_sta_auth() 440 sta->auth_alg == WLAN_AUTH_FILS_PK) { in hostapd_sta_auth()
|
| H A D | ieee802_1x.c | 577 sta->auth_alg == WLAN_AUTH_FT) && in add_common_radius_sta_attr() 1265 sta->auth_alg == WLAN_AUTH_FT)) { in ieee802_1x_receive() 1380 if (sta->auth_alg == WLAN_AUTH_802_1X) { in ieee802_1x_new_station() 1437 if (sta->auth_alg == WLAN_AUTH_FT) { in ieee802_1x_new_station() 1458 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in ieee802_1x_new_station() 1459 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in ieee802_1x_new_station() 1460 sta->auth_alg == WLAN_AUTH_FILS_PK) { in ieee802_1x_new_station()
|
| /freebsd/tests/sys/kern/ |
| H A D | ktls_test.c | 578 int auth_alg, int minor, uint64_t seqno, struct tls_enable *en) in build_tls_enable() argument 604 switch (auth_alg) { in build_tls_enable() 629 en->auth_algorithm = auth_alg; in build_tls_enable() 2059 auth_alg, minor, name, len) \ argument 2068 build_tls_enable(tc, cipher_alg, key_size, auth_alg, minor, \ 2075 auth_alg, minor, name) \ argument 2079 auth_alg, minor, name, type, len) \ argument 2088 build_tls_enable(tc, cipher_alg, key_size, auth_alg, minor, \ 2095 auth_alg, minor, name) \ argument 2099 key_size, auth_alg, minor) \ argument [all …]
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | pasn_supplicant.c | 42 unsigned int auth_alg; member 710 int cipher, int auth_alg, in wpas_pasn_allowed() argument 719 if (auth_alg != WLAN_AUTH_EPPKE && in wpas_pasn_allowed() 726 if (auth_alg == WLAN_AUTH_EPPKE) { in wpas_pasn_allowed() 771 if (auth_alg == WLAN_AUTH_EPPKE) { in wpas_pasn_allowed() 861 awork->cipher, awork->auth_alg, in wpas_pasn_auth_start_cb() 934 if (awork->auth_alg == WLAN_AUTH_EPPKE) { in wpas_pasn_auth_start_cb() 1007 if (awork->auth_alg == WLAN_AUTH_EPPKE) in wpas_pasn_auth_start_cb() 1011 if (awork->auth_alg != WLAN_AUTH_EPPKE) in wpas_pasn_auth_start_cb() 1068 pasn->auth_alg = awork->auth_alg; in wpas_pasn_auth_start_cb() [all …]
|
| H A D | sme.c | 1170 pasn->auth_alg = WLAN_AUTH_EPPKE; in wpas_eppke_initialize() 1270 params.auth_alg = WPA_AUTH_ALG_OPEN; in sme_send_authentication() 1275 params.auth_alg = WPA_AUTH_ALG_LEAP; in sme_send_authentication() 1277 params.auth_alg |= WPA_AUTH_ALG_LEAP; in sme_send_authentication() 1282 params.auth_alg); in sme_send_authentication() 1283 if (ssid->auth_alg) { in sme_send_authentication() 1284 params.auth_alg = ssid->auth_alg; in sme_send_authentication() 1286 "0x%x", params.auth_alg); in sme_send_authentication() 1316 params.auth_alg = WPA_AUTH_ALG_EPPKE; in sme_send_authentication() 1324 params.auth_alg = WPA_AUTH_ALG_SAE; in sme_send_authentication() [all …]
|
| H A D | wpa_priv.c | 272 params.auth_alg = auth->auth_alg; in wpa_priv_cmd_authenticate() 336 params.auth_alg = assoc->auth_alg; in wpa_priv_cmd_associate()
|
| H A D | config_ssid.h | 336 int auth_alg; member
|
| H A D | wpa_supplicant.conf | 2103 auth_alg=SHARED
|
| /freebsd/contrib/wpa/src/pasn/ |
| H A D | pasn_responder.c | 198 if (pasn->auth_alg == WLAN_AUTH_EPPKE && pasn->is_ml_peer) in pasn_wd_handle_sae_commit() 277 if (pasn->auth_alg == WLAN_AUTH_EPPKE) in pasn_wd_handle_sae_confirm() 484 if (pasn->auth_alg == WLAN_AUTH_EPPKE && pasn->is_ml_peer) in pasn_derive_keys() 500 pasn->auth_alg == WLAN_AUTH_EPPKE); in pasn_derive_keys() 538 pasn->auth_alg == WLAN_AUTH_EPPKE); in handle_auth_pasn_comeback() 596 status, pasn->auth_alg == WLAN_AUTH_EPPKE); in handle_auth_pasn_resp() 637 } else if (pasn->auth_alg == WLAN_AUTH_EPPKE) { in handle_auth_pasn_resp() 696 if (pasn->auth_alg == WLAN_AUTH_EPPKE && pasn->is_ml_peer) { in handle_auth_pasn_resp() 759 if (pasn->auth_alg == WLAN_AUTH_EPPKE && pasn->is_ml_peer) in handle_auth_pasn_resp() 817 mgmt->u.auth.auth_alg == WLAN_AUTH_EPPKE && in pasn_resp_find_pmksa() [all …]
|
| H A D | pasn_initiator.c | 434 pasn->auth_alg == WLAN_AUTH_EPPKE); in wpas_pasn_wd_fils_rx() 511 pasn->akmp, NULL, pasn->auth_alg); in wpas_pasn_wd_fils_rx() 601 if (pasn->auth_alg == WLAN_AUTH_EPPKE && pasn->is_ml_peer) { in wpas_pasn_add_mle() 614 static u8 * pasn_prepend_auth_alg(u16 auth_alg, const u8 *buf, size_t len) in pasn_prepend_auth_alg() argument 621 WPA_PUT_LE16(new_buf, auth_alg); in pasn_prepend_auth_alg() 663 pasn->auth_alg == WLAN_AUTH_EPPKE); in wpas_pasn_build_auth_1() 725 copy = pasn_prepend_auth_alg(pasn->auth_alg, in wpas_pasn_build_auth_1() 789 pasn->auth_alg == WLAN_AUTH_EPPKE); in wpas_pasn_build_auth_3() 827 copy = pasn_prepend_auth_alg(pasn->auth_alg, in wpas_pasn_build_auth_3() 1040 pasn->auth_alg); in wpas_pasn_set_pmk() [all …]
|
| /freebsd/contrib/wpa/src/common/ |
| H A D | ptksa_cache.h | 30 u16 auth_alg; member 49 u16 auth_alg);
|
| H A D | privsep_commands.h | 48 int auth_alg; member 70 int auth_alg; member
|
| H A D | ptksa_cache.c | 300 void *ctx, u32 akmp, u16 auth_alg) in ptksa_cache_add() argument 326 entry->auth_alg = auth_alg; in ptksa_cache_add() 396 u16 auth_alg) in ptksa_cache_add() argument
|
| /freebsd/contrib/wpa/src/rsn_supp/ |
| H A D | pmksa_cache.h | 57 u16 auth_alg; member 88 const u8 *cache_id, u16 auth_alg);
|
| H A D | pmksa_cache.c | 236 const u8 *cache_id, u16 auth_alg) in pmksa_cache_add() argument 278 entry->auth_alg = auth_alg; in pmksa_cache_add() 564 old_entry->auth_alg); in pmksa_cache_clone_entry() 938 const u8 *cache_id, u16 auth_alg) in pmksa_cache_add() argument
|
| /freebsd/contrib/wpa/src/drivers/ |
| H A D | driver_privsep.c | 263 params->auth_alg, params->local_state_change, params->p2p); in wpa_driver_privsep_authenticate() 274 data->auth_alg = params->auth_alg; in wpa_driver_privsep_authenticate() 313 params->auth_alg, params->mode); in wpa_driver_privsep_associate() 330 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); 2001 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_auth_alg_fallback() 2003 if (params->auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_auth_alg_fallback() 2042 if (wpa_driver_wext_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_wext_associate() 2142 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg) in wpa_driver_wext_set_auth_alg() argument 2147 if (auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_set_auth_alg() 2149 if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_set_auth_alg() 2151 if (auth_alg & WPA_AUTH_ALG_LEAP) in wpa_driver_wext_set_auth_alg()
|
| H A D | driver_bsd.c | 1251 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) in wpa_driver_bsd_set_auth_alg() argument 1255 if ((auth_alg & WPA_AUTH_ALG_OPEN) && in wpa_driver_bsd_set_auth_alg() 1256 (auth_alg & WPA_AUTH_ALG_SHARED)) in wpa_driver_bsd_set_auth_alg() 1258 else if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_bsd_set_auth_alg() 1356 if (wpa_driver_bsd_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_bsd_associate()
|
| /freebsd/contrib/tcpdump/ |
| H A D | print-dhcp6.c | 290 uint8_t auth_alg; in dhcp6opt_print() local 471 auth_alg = GET_U_1(tp); in dhcp6opt_print() 472 switch (auth_alg) { in dhcp6opt_print() 478 ND_PRINT(", alg: %u", auth_alg); in dhcp6opt_print()
|
| H A D | print-802_11.c | 271 uint16_t auth_alg; member 1605 pbody.auth_alg = GET_LE_U_2(p); in handle_auth() 1617 if ((pbody.auth_alg == 1) && in handle_auth() 1621 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth() 1622 ? auth_alg_text[pbody.auth_alg] in handle_auth() 1632 (pbody.auth_alg < NUM_AUTH_ALGS) in handle_auth() 1633 ? auth_alg_text[pbody.auth_alg] in handle_auth()
|
| /freebsd/contrib/wpa/src/nan/ |
| H A D | nan_pairing.c | 1218 u16 auth_alg, auth_transaction, status_code; in nan_pairing_auth_rx() local 1231 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in nan_pairing_auth_rx() 1235 if (auth_alg != WLAN_AUTH_PASN) { in nan_pairing_auth_rx() 1238 auth_alg); in nan_pairing_auth_rx()
|
| /freebsd/sbin/setkey/ |
| H A D | parse.y | 301 : F_ENC enc_alg F_AUTH auth_alg 306 : F_AUTH auth_alg 441 auth_alg
|