Searched refs:mic_pos (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/rsn_supp/ |
D | peerkey.c | 922 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/ |
D | eap_sake_common.c | 321 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()
|
D | eap_sake_common.h | 92 const u8 *mic_pos, u8 *mic);
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth.c | 1650 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()
|