Searched refs:mic_len (Results 1 – 7 of 7) sorted by relevance
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa.c | 55 size_t mic_len = wpa_mic_len(sm->key_mgmt, sm->pmk_len); in wpa_eapol_key_send() local 59 MAC2STR(dest), ver, (int) mic_len, sm->key_mgmt); in wpa_eapol_key_send() 78 if (mic_len) { in wpa_eapol_key_send() 94 key_mic, mic_len); in wpa_eapol_key_send() 181 size_t mic_len, hdrlen, rlen; in wpa_sm_key_request() local 202 mic_len = wpa_mic_len(sm->key_mgmt, sm->pmk_len); in wpa_sm_key_request() 203 hdrlen = sizeof(*reply) + mic_len + 2; in wpa_sm_key_request() 215 if (sm->ptk_set && mic_len) in wpa_sm_key_request() 228 WPA_PUT_BE16(mic + mic_len, 0); in wpa_sm_key_request() 449 size_t mic_len, hdrlen, rlen; in wpa_supplicant_send_2_of_4() local [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth.c | 941 size_t keyhdrlen, mic_len; in wpa_receive() local 948 mic_len = wpa_mic_len(sm->wpa_key_mgmt, sm->pmk_len); in wpa_receive() 949 keyhdrlen = sizeof(*key) + mic_len + 2; in wpa_receive() 960 key_data = mic + mic_len + 2; in wpa_receive() 961 key_data_length = WPA_GET_BE16(mic + mic_len); in wpa_receive() 965 (unsigned int) mic_len, key_data_length); in wpa_receive() 970 mic, mic_len); in wpa_receive() 1023 (mic_len == 0 && (key_info & WPA_KEY_INFO_ENCR_KEY_DATA) && in wpa_receive() 1148 if (sm->wpa == WPA_VERSION_WPA2 && mic_len == 0 && in wpa_receive() 1239 if (mic_len && in wpa_receive() [all …]
|
D | wpa_auth_ft.c | 3107 size_t mic_len = 16; in wpa_ft_validate_reassoc() local 3268 if (os_memcmp_const(mic, fte_mic, mic_len) != 0) { in wpa_ft_validate_reassoc() 3273 fte_mic, mic_len); in wpa_ft_validate_reassoc() 3274 wpa_hexdump(MSG_MSGDUMP, "FT: Calculated MIC", mic, mic_len); in wpa_ft_validate_reassoc()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.c | 765 size_t mic_len, fte_fixed_len; in wpa_ft_mic() local 768 mic_len = 16; in wpa_ft_mic() 771 mic_len = 24; in wpa_ft_mic() 779 fte_fixed_len = sizeof(struct rsn_ftie) - 16 + mic_len; in wpa_ft_mic() 813 os_memset(zero_mic, 0, mic_len); in wpa_ft_mic() 815 len[num_elem] = mic_len; in wpa_ft_mic() 819 addr[num_elem] = ftie + 2 + 2 + mic_len; in wpa_ft_mic() 820 len[num_elem] = ftie_len - (2 + 2 + mic_len); in wpa_ft_mic()
|
D | ieee802_11_common.h | 125 u8 mic_len; member
|
D | ieee802_11_common.c | 462 elems->mic_len = elen; in ieee802_11_parse_elems()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_rsn.c | 668 if (!elems->mic || elems->mic_len < AES_BLOCK_SIZE) { in mesh_rsn_process_ampe() 673 ampe_buf = (u8 *) elems->mic + elems->mic_len; in mesh_rsn_process_ampe()
|