Lines Matching refs:ver

236                         int ver, const u8 *dest, u16 proto,  in wpa_eapol_key_send()  argument
255 wpa_eapol_key_mic(kck, kck_len, sm->key_mgmt, ver, msg, msg_len, in wpa_eapol_key_send()
259 ver, sm->key_mgmt); in wpa_eapol_key_send()
285 int key_info, ver; in wpa_sm_key_request() local
289 ver = WPA_KEY_INFO_TYPE_AKM_DEFINED; in wpa_sm_key_request()
291 ver = WPA_KEY_INFO_TYPE_AES_128_CMAC; in wpa_sm_key_request()
293 ver = WPA_KEY_INFO_TYPE_HMAC_SHA1_AES; in wpa_sm_key_request()
295 ver = 0; in wpa_sm_key_request()
297 ver = WPA_KEY_INFO_TYPE_HMAC_MD5_RC4; in wpa_sm_key_request()
316 key_info = WPA_KEY_INFO_REQUEST | ver; in wpa_sm_key_request()
346 wpa_eapol_key_send(sm, sm->ptk.kck, sm->ptk.kck_len, ver, bssid, in wpa_sm_key_request()
547 int ver, const u8 *nonce, in wpa_supplicant_send_2_of_4() argument
616 ver | WPA_KEY_INFO_KEY_TYPE | WPA_KEY_INFO_MIC); in wpa_supplicant_send_2_of_4()
639 wpa_eapol_key_send(sm, ptk->kck, ptk->kck_len, ver, dst, ETH_P_EAPOL, in wpa_supplicant_send_2_of_4()
662 u16 ver, const u8 *key_data, in wpa_supplicant_process_1_of_4() argument
748 if (wpa_supplicant_send_2_of_4(sm, sm->bssid, key, ver, sm->snonce, in wpa_supplicant_process_1_of_4()
1216 u16 ver, u16 key_info, in wpa_supplicant_send_4_of_4() argument
1240 key_info |= ver | WPA_KEY_INFO_KEY_TYPE | WPA_KEY_INFO_MIC; in wpa_supplicant_send_4_of_4()
1256 wpa_eapol_key_send(sm, ptk->kck, ptk->kck_len, ver, dst, ETH_P_EAPOL, in wpa_supplicant_send_4_of_4()
1283 u16 ver, const u8 *key_data, in wpa_supplicant_process_3_of_4() argument
1364 if (wpa_supplicant_send_4_of_4(sm, sm->bssid, key, ver, key_info, in wpa_supplicant_process_3_of_4()
1517 u16 ver, struct wpa_gtk_data *gd) in wpa_supplicant_process_1_of_2_wpa() argument
1524 if (ver == WPA_KEY_INFO_TYPE_HMAC_SHA1_AES) { in wpa_supplicant_process_1_of_2_wpa()
1540 if (ver == WPA_KEY_INFO_TYPE_HMAC_MD5_RC4 && sm->ptk.kek_len == 16) { in wpa_supplicant_process_1_of_2_wpa()
1554 } else if (ver == WPA_KEY_INFO_TYPE_HMAC_SHA1_AES) { in wpa_supplicant_process_1_of_2_wpa()
1575 ver); in wpa_supplicant_process_1_of_2_wpa()
1586 int ver, u16 key_info) in wpa_supplicant_send_2_of_2() argument
1608 key_info |= ver | WPA_KEY_INFO_MIC | WPA_KEY_INFO_SECURE; in wpa_supplicant_send_2_of_2()
1625 wpa_eapol_key_send(sm, sm->ptk.kck, sm->ptk.kck_len, ver, sm->bssid, ETH_P_EAPOL, in wpa_supplicant_send_2_of_2()
1636 size_t key_data_len, u16 ver) in wpa_supplicant_process_1_of_2() argument
1653 key_data_len, key_info, ver, gd); in wpa_supplicant_process_1_of_2()
1673 if (wpa_supplicant_send_2_of_2(sm, key, ver, key_info)) in wpa_supplicant_process_1_of_2()
1697 u16 ver, in wpa_supplicant_verify_eapol_key_mic() argument
1708 ver, buf, len, key->key_mic); in wpa_supplicant_verify_eapol_key_mic()
1723 ver, buf, len, key->key_mic); in wpa_supplicant_verify_eapol_key_mic()
1750 struct wpa_eapol_key *key, u16 ver, in wpa_supplicant_decrypt_key_data() argument
1763 if (ver == WPA_KEY_INFO_TYPE_HMAC_MD5_RC4 && sm->ptk.kek_len == 16) { in wpa_supplicant_decrypt_key_data()
1771 } else if (ver == WPA_KEY_INFO_TYPE_HMAC_SHA1_AES || in wpa_supplicant_decrypt_key_data()
1772 ver == WPA_KEY_INFO_TYPE_AES_128_CMAC || in wpa_supplicant_decrypt_key_data()
1802 ver); in wpa_supplicant_decrypt_key_data()
1870 u16 key_info, ver; in wpa_sm_rx_eapol() local
1935 ver = key_info & WPA_KEY_INFO_TYPE_MASK; in wpa_sm_rx_eapol()
1937 if (ver != WPA_KEY_INFO_TYPE_HMAC_MD5_RC4 && in wpa_sm_rx_eapol()
1939 ver != WPA_KEY_INFO_TYPE_AES_128_CMAC && in wpa_sm_rx_eapol()
1941 ver != WPA_KEY_INFO_TYPE_HMAC_SHA1_AES && in wpa_sm_rx_eapol()
1944 "version %d.", ver); in wpa_sm_rx_eapol()
1948 ver != WPA_KEY_INFO_TYPE_AKM_DEFINED) { in wpa_sm_rx_eapol()
1951 ver); in wpa_sm_rx_eapol()
1957 if (ver != WPA_KEY_INFO_TYPE_AES_128_CMAC && in wpa_sm_rx_eapol()
1966 ver != WPA_KEY_INFO_TYPE_HMAC_SHA1_AES) { in wpa_sm_rx_eapol()
1968 "descriptor version (%d) is not 2.", ver); in wpa_sm_rx_eapol()
1978 } else if (ver == WPA_KEY_INFO_TYPE_AES_128_CMAC) { in wpa_sm_rx_eapol()
1988 ver != WPA_KEY_INFO_TYPE_HMAC_SHA1_AES) { in wpa_sm_rx_eapol()
1991 "descriptor version (%d) is not 2", ver); in wpa_sm_rx_eapol()
2015 wpa_supplicant_verify_eapol_key_mic(sm, key192, ver, tmp, data_len)) in wpa_sm_rx_eapol()
2048 if (wpa_supplicant_decrypt_key_data(sm, key, ver, key_data, in wpa_sm_rx_eapol()
2062 wpa_supplicant_process_3_of_4(sm, key, ver, key_data, in wpa_sm_rx_eapol()
2073 ver, key_data, in wpa_sm_rx_eapol()
2081 ver); in wpa_sm_rx_eapol()