Home
last modified time | relevance | path

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

123

/freebsd/tests/sys/kern/
H A Dktls_test.c546 int auth_alg, int minor, uint64_t seqno, struct tls_enable *en) in build_tls_enable() argument
572 switch (auth_alg) { in build_tls_enable()
597 en->auth_algorithm = auth_alg; in build_tls_enable()
1978 auth_alg, minor, name, len) \ argument
1987 build_tls_enable(tc, cipher_alg, key_size, auth_alg, minor, \
1994 auth_alg, minor, name) \ argument
1998 auth_alg, minor, name, type, len) \ argument
2007 build_tls_enable(tc, cipher_alg, key_size, auth_alg, minor, \
2014 auth_alg, minor, name) \ argument
2018 key_size, auth_alg, mino argument
2034 ADD_TRANSMIT_EMPTY_FRAGMENT_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2037 GEN_TRANSMIT_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2046 ADD_TRANSMIT_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2072 GEN_TRANSMIT_PADDING_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2107 ADD_TRANSMIT_PADDING_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2173 GEN_INVALID_TRANSMIT_TEST(name,cipher_alg,key_size,auth_alg,minor) global() argument
2189 ADD_INVALID_TRANSMIT_TEST(name,cipher_alg,key_size,auth_alg,minor) global() argument
2223 GEN_RECEIVE_APP_DATA_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor,name,len,padding) global() argument
2239 ADD_RECEIVE_APP_DATA_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor,name) global() argument
2243 GEN_RECEIVE_BAD_DATA_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor,len) global() argument
2259 ADD_RECEIVE_BAD_DATA_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2263 GEN_RECEIVE_BAD_MAC_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor,len) global() argument
2279 ADD_RECEIVE_BAD_MAC_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2283 GEN_RECEIVE_TRUNCATED_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor,len) global() argument
2299 ADD_RECEIVE_TRUNCATED_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2303 GEN_RECEIVE_BAD_MAJOR_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor,len) global() argument
2319 ADD_RECEIVE_BAD_MAJOR_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2323 GEN_RECEIVE_BAD_MINOR_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor,len) global() argument
2339 ADD_RECEIVE_BAD_MINOR_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2343 GEN_RECEIVE_BAD_SIZE_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor,name,len) global() argument
2359 ADD_RECEIVE_BAD_SIZE_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor,name) global() argument
2362 GEN_RECEIVE_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2385 ADD_RECEIVE_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2433 GEN_RECEIVE_MTE_PADDING_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2472 ADD_RECEIVE_MTE_PADDING_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2511 GEN_RECEIVE_BAD_PADDING_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor,len) global() argument
2527 ADD_RECEIVE_BAD_PADDING_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2531 GEN_RECEIVE_MTE_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2541 ADD_RECEIVE_MTE_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2568 GEN_RECEIVE_BAD_IV_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2584 ADD_RECEIVE_BAD_IV_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2588 GEN_RECEIVE_EXPLICIT_IV_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2596 ADD_RECEIVE_EXPLICIT_IV_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2611 GEN_RECEIVE_BAD_TYPE_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor,len) global() argument
2627 ADD_RECEIVE_BAD_TYPE_TEST(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2631 GEN_RECEIVE_TLS13_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2640 ADD_RECEIVE_TLS13_TESTS(cipher_name,cipher_alg,key_size,auth_alg,minor) global() argument
2669 GEN_INVALID_RECEIVE_TEST(name,cipher_alg,key_size,auth_alg,minor) global() argument
2685 ADD_INVALID_RECEIVE_TEST(name,cipher_alg,key_size,auth_alg,minor) global() argument
2709 GEN_UNSUPPORTED_RECEIVE_TEST(name,cipher_alg,key_size,auth_alg,minor) global() argument
2725 ADD_UNSUPPORTED_RECEIVE_TEST(name,cipher_alg,key_size,auth_alg,minor) global() argument
[all...]
/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()
140 if (sta->auth_alg != WLAN_AUTH_FT && in mlme_reassociate_indication()
[all …]
H A Dieee802_11.c408 u16 auth_alg, u16 auth_transaction, u16 resp, in send_auth_reply() argument
442 reply->u.auth.auth_alg = host_to_le16(auth_alg); in send_auth_reply()
459 MAC2STR(dst), auth_alg, auth_transaction, in send_auth_reply()
464 auth_alg == WLAN_AUTH_SAE) { in send_auth_reply()
966 sta->auth_alg = WLAN_AUTH_SAE; in sae_accept_sta()
1816 const u8 *pos, size_t len, u16 auth_alg, in handle_auth_fils() argument
1839 if (auth_alg == WLAN_AUTH_FILS_SK_PFS) { in handle_auth_fils()
2270 u16 auth_alg; in handle_auth_fils_finish() local
2272 auth_alg = (pub || in handle_auth_fils_finish()
2275 send_auth_reply(hapd, sta, sta->addr, auth_alg, 2, resp, in handle_auth_fils_finish()
[all …]
H A Ddrv_callbacks.c123 if (!sta->sa_query_timed_out && (sta->auth_alg != WLAN_AUTH_FT)) { in check_sa_query_need()
602 if (sta->auth_alg == WLAN_AUTH_FT) { in hostapd_notif_assoc()
618 sta->auth_alg == WLAN_AUTH_SAE && in hostapd_notif_assoc()
698 sta->auth_alg, req_ies, req_ies_len, in hostapd_notif_assoc()
707 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_notif_assoc()
708 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_notif_assoc()
709 sta->auth_alg == WLAN_AUTH_FILS_PK) { in hostapd_notif_assoc()
849 if (sta->auth_alg == WLAN_AUTH_FT || in hostapd_notif_assoc()
850 sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_notif_assoc()
851 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_notif_assoc()
[all …]
H A Dap_drv_ops.c401 u16 auth_alg) in hostapd_add_sta_node() argument
405 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node()
431 if (sta->auth_alg == WLAN_AUTH_FILS_SK || in hostapd_sta_auth()
432 sta->auth_alg == WLAN_AUTH_FILS_SK_PFS || in hostapd_sta_auth()
433 sta->auth_alg == WLAN_AUTH_FILS_PK) { in hostapd_sta_auth()
H A Dieee802_11_eht.c950 u16 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in auth_skip_fixed_fields() local
959 switch (auth_alg) { in auth_skip_fixed_fields()
995 auth_alg); in auth_skip_fixed_fields()
H A Dwpa_auth_ft.c2559 size_t max_len, int auth_alg, in wpa_sm_write_assoc_resp_ies() argument
2589 if (auth_alg == WLAN_AUTH_FT && in wpa_sm_write_assoc_resp_ies()
2614 if (auth_alg == WLAN_AUTH_FT || in wpa_sm_write_assoc_resp_ies()
2615 ((auth_alg == WLAN_AUTH_FILS_SK || in wpa_sm_write_assoc_resp_ies()
2616 auth_alg == WLAN_AUTH_FILS_SK_PFS || in wpa_sm_write_assoc_resp_ies()
2617 auth_alg == WLAN_AUTH_FILS_PK) && in wpa_sm_write_assoc_resp_ies()
2650 if (auth_alg == WLAN_AUTH_FT) { in wpa_sm_write_assoc_resp_ies()
2750 rsnxe_used = (auth_alg == WLAN_AUTH_FT) && in wpa_sm_write_assoc_resp_ies()
2804 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
2812 if (auth_alg == WLAN_AUTH_FT) in wpa_sm_write_assoc_resp_ies()
[all …]
H A Dwpa_auth_i.h25 u16 auth_alg; member
H A Dwpa_auth_ie.c979 (sm->auth_alg == WLAN_AUTH_FILS_SK || in wpa_validate_wpa_ie()
980 sm->auth_alg == WLAN_AUTH_FILS_SK_PFS || in wpa_validate_wpa_ie()
981 sm->auth_alg == WLAN_AUTH_FILS_PK) && in wpa_validate_wpa_ie()
H A Dwpa_auth.h520 size_t max_len, int auth_alg,
607 void wpa_auth_set_auth_alg(struct wpa_state_machine *sm, u16 auth_alg);
/freebsd/contrib/wpa/src/common/
H A Dprivsep_commands.h48 int auth_alg; member
70 int auth_alg; member
/freebsd/contrib/wpa/wpa_supplicant/
H A Dsme.c622 params.auth_alg = WPA_AUTH_ALG_OPEN; in sme_send_authentication()
627 params.auth_alg = WPA_AUTH_ALG_LEAP; in sme_send_authentication()
629 params.auth_alg |= WPA_AUTH_ALG_LEAP; in sme_send_authentication()
634 params.auth_alg); in sme_send_authentication()
635 if (ssid->auth_alg) { in sme_send_authentication()
636 params.auth_alg = ssid->auth_alg; in sme_send_authentication()
638 "0x%x", params.auth_alg); in sme_send_authentication()
663 params.auth_alg = WPA_AUTH_ALG_SAE; in sme_send_authentication()
830 params.auth_alg = WPA_AUTH_ALG_FT; in sme_send_authentication()
1016 if (!skip_auth && params.auth_alg == WPA_AUTH_ALG_SAE && in sme_send_authentication()
[all …]
H A Dconfig_ssid.h313 int auth_alg; member
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 Dwpa_supplicant.conf2007 auth_alg=SHARED
H A Dwps_supplicant.c314 if (ssid->auth_alg != new_ssid->auth_alg || in wpas_wps_remove_dup_network()
524 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
539 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
544 ssid->auth_alg = WPA_AUTH_ALG_OPEN; in wpa_supplicant_wps_cred()
552 ssid->auth_alg = 0; in wpa_supplicant_wps_cred()
H A Dibss_rsn.c517 auth.u.auth.auth_alg = host_to_le16(WLAN_AUTH_OPEN); in ibss_rsn_send_auth()
931 if (le_to_host16(header->u.auth.auth_alg) != WLAN_AUTH_OPEN || in ibss_rsn_handle_auth()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_privsep.c260 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 Ddriver_wext.c39 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg);
2092 if (params->auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_auth_alg_fallback()
2094 if (params->auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_auth_alg_fallback()
2133 if (wpa_driver_wext_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_wext_associate()
2230 static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg) in wpa_driver_wext_set_auth_alg() argument
2235 if (auth_alg & WPA_AUTH_ALG_OPEN) in wpa_driver_wext_set_auth_alg()
2237 if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_wext_set_auth_alg()
2239 if (auth_alg & WPA_AUTH_ALG_LEAP) in wpa_driver_wext_set_auth_alg()
H A Ddriver_bsd.c1230 wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg) in wpa_driver_bsd_set_auth_alg() argument
1234 if ((auth_alg & WPA_AUTH_ALG_OPEN) && in wpa_driver_bsd_set_auth_alg()
1235 (auth_alg & WPA_AUTH_ALG_SHARED)) in wpa_driver_bsd_set_auth_alg()
1237 else if (auth_alg & WPA_AUTH_ALG_SHARED) in wpa_driver_bsd_set_auth_alg()
1335 if (wpa_driver_bsd_set_auth_alg(drv, params->auth_alg) < 0) in wpa_driver_bsd_associate()
H A Ddriver_atheros.c931 if (le_to_host16(mgmt->u.auth.auth_alg) == WLAN_AUTH_SAE) { in atheros_raw_receive()
939 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in atheros_raw_receive()
2019 static int atheros_add_sta_node(void *priv, const u8 *addr, u16 auth_alg) in atheros_add_sta_node() argument
2028 addnode->auth_alg = auth_alg; in atheros_add_sta_node()
/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/sbin/setkey/
H A Dparse.y301 : F_ENC enc_alg F_AUTH auth_alg
306 : F_AUTH auth_alg
441 auth_alg
/freebsd/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5_ifc_fpga.h400 u8 auth_alg[0x20]; member

123