Home
last modified time | relevance | path

Searched refs:mic_pos (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dpeerkey.c922 u8 mic[WPA_EAPOL_KEY_MIC_MAX_LEN], *mic_pos; in peerkey_verify_eapol_key_mic() local
934 mic_pos = (u8 *) (key + 1); in peerkey_verify_eapol_key_mic()
935 os_memcpy(mic, mic_pos, mic_len); in peerkey_verify_eapol_key_mic()
937 os_memset(mic_pos, 0, mic_len); in peerkey_verify_eapol_key_mic()
939 sm->key_mgmt, ver, buf, len, mic_pos); in peerkey_verify_eapol_key_mic()
940 if (os_memcmp_const(mic, mic_pos, mic_len) != 0) { in peerkey_verify_eapol_key_mic()
954 os_memset(mic_pos, 0, mic_len); in peerkey_verify_eapol_key_mic()
956 sm->key_mgmt, ver, buf, len, mic_pos); in peerkey_verify_eapol_key_mic()
957 if (os_memcmp_const(mic, mic_pos, mic_len) != 0) { in peerkey_verify_eapol_key_mic()
/external/wpa_supplicant_8/src/eap_common/
Deap_sake_common.c321 const u8 *mic_pos, u8 *mic) in eap_sake_compute_mic() argument
365 os_memset(pos + (mic_pos - eap), 0, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
Deap_sake_common.h92 const u8 *mic_pos, u8 *mic);
/external/wpa_supplicant_8/src/ap/
Dwpa_auth.c1650 u8 mic[WPA_EAPOL_KEY_MIC_MAX_LEN], *mic_pos; in wpa_verify_key_mic() local
1658 mic_pos = (u8 *) (key + 1); in wpa_verify_key_mic()
1660 os_memcpy(mic, mic_pos, mic_len); in wpa_verify_key_mic()
1661 os_memset(mic_pos, 0, mic_len); in wpa_verify_key_mic()
1664 data, data_len, mic_pos) || in wpa_verify_key_mic()
1665 os_memcmp_const(mic, mic_pos, mic_len) != 0) in wpa_verify_key_mic()
1667 os_memcpy(mic_pos, mic, mic_len); in wpa_verify_key_mic()