Home
last modified time | relevance | path

Searched refs:mic_len (Results 1 – 7 of 7) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dpeerkey.c70 size_t kde_len, mic_len = 16; in wpa_supplicant_send_smk_error() local
78 NULL, sizeof(*err) + mic_len + 2 + kde_len, in wpa_supplicant_send_smk_error()
94 WPA_PUT_BE16(mic + mic_len, (u16) kde_len); in wpa_supplicant_send_smk_error()
95 pos = mic + mic_len + 2; in wpa_supplicant_send_smk_error()
131 size_t kde_len, mic_len = 16; in wpa_supplicant_send_smk_m3() local
140 NULL, sizeof(*reply) + mic_len + 2 + kde_len, in wpa_supplicant_send_smk_m3()
156 WPA_PUT_BE16(mic + mic_len, (u16) kde_len); in wpa_supplicant_send_smk_m3()
157 pos = mic + mic_len + 2; in wpa_supplicant_send_smk_m3()
326 size_t kde_len, mic_len = 16; in wpa_supplicant_send_stk_1_of_4() local
332 sizeof(*msg) + mic_len + 2 + kde_len, &mlen, in wpa_supplicant_send_stk_1_of_4()
[all …]
Dwpa.c51 size_t mic_len = wpa_mic_len(sm->key_mgmt); in wpa_eapol_key_send() local
71 if (mic_len) { in wpa_eapol_key_send()
87 key_mic, mic_len); in wpa_eapol_key_send()
174 size_t mic_len, hdrlen, rlen; in wpa_sm_key_request() local
196 mic_len = wpa_mic_len(sm->key_mgmt); in wpa_sm_key_request()
197 hdrlen = sizeof(*reply) + mic_len + 2; in wpa_sm_key_request()
209 if (sm->ptk_set && mic_len) in wpa_sm_key_request()
222 WPA_PUT_BE16(mic + mic_len, 0); in wpa_sm_key_request()
416 size_t mic_len, hdrlen, rlen; in wpa_supplicant_send_2_of_4() local
460 mic_len = wpa_mic_len(sm->key_mgmt); in wpa_supplicant_send_2_of_4()
[all …]
/external/wpa_supplicant_8/src/ap/
Dwpa_auth.c902 size_t keyhdrlen, mic_len; in wpa_receive() local
909 mic_len = wpa_mic_len(sm->wpa_key_mgmt); in wpa_receive()
910 keyhdrlen = sizeof(*key) + mic_len + 2; in wpa_receive()
921 key_data = mic + mic_len + 2; in wpa_receive()
922 key_data_length = WPA_GET_BE16(mic + mic_len); in wpa_receive()
926 (unsigned int) mic_len, key_data_length); in wpa_receive()
931 mic, mic_len); in wpa_receive()
991 (mic_len == 0 && (key_info & WPA_KEY_INFO_ENCR_KEY_DATA) && in wpa_receive()
1120 if (sm->wpa == WPA_VERSION_WPA2 && mic_len == 0 && in wpa_receive()
1232 if (mic_len && in wpa_receive()
[all …]
Dwpa_auth_ft.c1095 size_t mic_len = 16; in wpa_ft_validate_reassoc() local
1221 if (os_memcmp_const(mic, ftie->mic, mic_len) != 0) { in wpa_ft_validate_reassoc()
1226 ftie->mic, mic_len); in wpa_ft_validate_reassoc()
1227 wpa_hexdump(MSG_MSGDUMP, "FT: Calculated MIC", mic, mic_len); in wpa_ft_validate_reassoc()
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.h109 u8 mic_len; member
Dieee802_11_common.c442 elems->mic_len = elen; in ieee802_11_parse_elems()
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh_rsn.c647 if (!elems->mic || elems->mic_len < AES_BLOCK_SIZE) { in mesh_rsn_process_ampe()
652 ampe_buf = (u8 *) elems->mic + elems->mic_len; in mesh_rsn_process_ampe()