Lines Matching defs:mic
245 u8 mic[EAP_GPSK_MAX_MIC_LEN];
422 wpa_printf(MSG_DEBUG, "EAP-GPSK: Message too short for MIC "
430 data->specifier, payload, pos - payload, mic)
432 wpa_printf(MSG_DEBUG, "EAP-GPSK: Failed to compute MIC");
436 if (os_memcmp_const(mic, pos, miclen) != 0) {
437 wpa_printf(MSG_INFO, "EAP-GPSK: Incorrect MIC in GPSK-2");
438 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Received MIC", pos, miclen);
439 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen);
462 u8 mic[EAP_GPSK_MAX_MIC_LEN];
491 wpa_printf(MSG_DEBUG, "EAP-GPSK: Message too short for MIC "
499 data->specifier, payload, pos - payload, mic)
501 wpa_printf(MSG_DEBUG, "EAP-GPSK: Failed to compute MIC");
505 if (os_memcmp_const(mic, pos, miclen) != 0) {
506 wpa_printf(MSG_INFO, "EAP-GPSK: Incorrect MIC in GPSK-4");
507 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Received MIC", pos, miclen);
508 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen);