Lines Matching defs:miclen
159 size_t len, miclen;
165 miclen = eap_gpsk_mic_len(data->vendor, data->specifier);
167 sizeof(struct eap_gpsk_csuite) + 2 + miclen;
191 pos = wpabuf_put(req, miclen);
257 size_t i, miclen;
433 miclen = eap_gpsk_mic_len(data->vendor, data->specifier);
434 if (end - pos < (int) miclen) {
436 "(left=%lu miclen=%lu)",
438 (unsigned long) miclen);
449 if (os_memcmp(mic, pos, miclen) != 0) {
451 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Received MIC", pos, miclen);
452 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen);
456 pos += miclen;
474 size_t miclen;
502 miclen = eap_gpsk_mic_len(data->vendor, data->specifier);
503 if (end - pos < (int) miclen) {
505 "(left=%lu miclen=%lu)",
507 (unsigned long) miclen);
518 if (os_memcmp(mic, pos, miclen) != 0) {
520 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Received MIC", pos, miclen);
521 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Computed MIC", mic, miclen);
525 pos += miclen;