Lines Matching refs:mic
55 u8 mic[TDLS_MIC_LEN]; member
457 const u8 *ftie, u8 *mic) in wpa_tdls_ftie_mic() argument
493 os_memset(_ftie->mic, 0, TDLS_MIC_LEN); in wpa_tdls_ftie_mic()
498 ret = omac1_aes_128(kck, buf, pos - buf, mic); in wpa_tdls_ftie_mic()
500 wpa_hexdump(MSG_DEBUG, "TDLS: FTIE MIC", mic, 16); in wpa_tdls_ftie_mic()
519 const u8 *ftie, u8 *mic) in wpa_tdls_key_mic_teardown() argument
552 os_memset(_ftie->mic, 0, TDLS_MIC_LEN); in wpa_tdls_key_mic_teardown()
557 ret = omac1_aes_128(kck, buf, pos - buf, mic); in wpa_tdls_key_mic_teardown()
559 wpa_hexdump(MSG_DEBUG, "TDLS: FTIE MIC", mic, 16); in wpa_tdls_key_mic_teardown()
569 u8 mic[16]; in wpa_supplicant_verify_tdls_mic() local
574 mic); in wpa_supplicant_verify_tdls_mic()
575 if (os_memcmp_const(mic, ftie->mic, 16) != 0) { in wpa_supplicant_verify_tdls_mic()
579 ftie->mic, 16); in wpa_supplicant_verify_tdls_mic()
581 mic, 16); in wpa_supplicant_verify_tdls_mic()
597 u8 mic[16]; in wpa_supplicant_verify_tdls_mic_teardown() local
601 dtoken, lnkid, (u8 *) ftie, mic); in wpa_supplicant_verify_tdls_mic_teardown()
602 if (os_memcmp_const(mic, ftie->mic, 16) != 0) { in wpa_supplicant_verify_tdls_mic_teardown()
810 ftie->mic); in wpa_tdls_send_teardown()
1299 (u8 *) &timeoutie, (u8 *) ftie, ftie->mic); in wpa_tdls_send_tpk_m2()
1303 ftie->mic[0] ^= 0x01; in wpa_tdls_send_tpk_m2()
1389 (u8 *) &timeoutie, (u8 *) ftie, ftie->mic); in wpa_tdls_send_tpk_m3()
1393 ftie->mic[0] ^= 0x01; in wpa_tdls_send_tpk_m3()