Home
last modified time | relevance | path

Searched refs:auth_alg (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/contrib/wpa/src/ap/
H A Dap_mlme.c59 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 Dieee802_11.c357 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 Ddrv_callbacks.c128 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 Dap_drv_ops.c408 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 Dieee802_1x.c577 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 Dktls_test.c578 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 Dpasn_supplicant.c42 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 Dsme.c1170 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 Dwpa_priv.c272 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 Dconfig_ssid.h336 int auth_alg; member
H A Dwpa_supplicant.conf2103 auth_alg=SHARED
/freebsd/contrib/wpa/src/pasn/
H A Dpasn_responder.c198 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 Dpasn_initiator.c434 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 Dptksa_cache.h30 u16 auth_alg; member
49 u16 auth_alg);
H A Dprivsep_commands.h48 int auth_alg; member
70 int auth_alg; member
H A Dptksa_cache.c300 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 Dpmksa_cache.h57 u16 auth_alg; member
88 const u8 *cache_id, u16 auth_alg);
H A Dpmksa_cache.c236 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 Ddriver_privsep.c263 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 Ddriver_wext.c39 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 Ddriver_bsd.c1251 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 Dprint-dhcp6.c290 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 Dprint-802_11.c271 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 Dnan_pairing.c1218 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 Dparse.y301 : F_ENC enc_alg F_AUTH auth_alg
306 : F_AUTH auth_alg
441 auth_alg

123