Lines Matching defs:mic
196 * @mic: Pointer to the buffer to which the EAPOL-Key MIC is written
209 const u8 *buf, size_t len, u8 *mic)
223 return hmac_md5(key, key_len, buf, len, mic);
229 os_memcpy(mic, hash, MD5_MAC_LEN);
233 return omac1_aes_128(key, buf, len, mic);
241 return omac1_aes_128(key, buf, len, mic);
266 os_memcpy(mic, hash, key_len);
273 return omac1_aes_128(key, buf, len, mic);
281 os_memcpy(mic, hash, MD5_MAC_LEN);
290 os_memcpy(mic, hash, 24);
313 os_memcpy(mic, hash, key_len);
336 os_memcpy(mic, hash, key_len);
348 os_memcpy(mic, hash, 24);
902 u8 *mic)
998 os_memcpy(mic, hash, 32);
1008 os_memcpy(mic, hash, 24);
1017 os_memcpy(mic, hash, 16);
1021 omac1_aes_128_vector(kck, num_elem, addr, len, mic) == 0)
1644 * @mic: Buffer to hold the MIC on success. Should be big enough to handle the
1651 const u8 *frame, size_t frame_len, u8 *mic)
1695 os_memcpy(mic, hash, 24);
1696 wpa_hexdump_key(MSG_DEBUG, "PASN: MIC: mic: ", mic, 24);
1703 os_memcpy(mic, hash, 16);
1704 wpa_hexdump_key(MSG_DEBUG, "PASN: MIC: mic: ", mic, 16);