Lines Matching refs:pax
2 * hostapd / EAP-PAX (RFC 4746) server
75 struct eap_pax_hdr *pax;
78 wpa_printf(MSG_DEBUG, "EAP-PAX: PAX_STD-1 (sending)");
81 wpa_printf(MSG_ERROR, "EAP-PAX: Failed to get random data");
87 sizeof(*pax) + 2 + EAP_PAX_RAND_LEN +
90 wpa_printf(MSG_ERROR, "EAP-PAX: Failed to allocate memory "
96 pax = wpabuf_put(req, sizeof(*pax));
97 pax->op_code = EAP_PAX_OP_STD_1;
98 pax->flags = 0;
99 pax->mac_id = data->mac_id;
100 pax->dh_group_id = EAP_PAX_DH_GROUP_NONE;
101 pax->public_key_id = EAP_PAX_PUBLIC_KEY_NONE;
105 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: A = X (server rand)",
112 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", pos, EAP_PAX_ICV_LEN);
122 struct eap_pax_hdr *pax;
125 wpa_printf(MSG_DEBUG, "EAP-PAX: PAX_STD-3 (sending)");
128 sizeof(*pax) + 2 + EAP_PAX_MAC_LEN +
131 wpa_printf(MSG_ERROR, "EAP-PAX: Failed to allocate memory "
137 pax = wpabuf_put(req, sizeof(*pax));
138 pax->op_code = EAP_PAX_OP_STD_3;
139 pax->flags = 0;
140 pax->mac_id = data->mac_id;
141 pax->dh_group_id = EAP_PAX_DH_GROUP_NONE;
142 pax->public_key_id = EAP_PAX_PUBLIC_KEY_NONE;
149 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: MAC_CK(B, CID)",
159 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", pos, EAP_PAX_ICV_LEN);
175 wpa_printf(MSG_DEBUG, "EAP-PAX: Unknown state %d in buildReq",
194 wpa_printf(MSG_INFO, "EAP-PAX: Invalid frame");
201 wpa_printf(MSG_DEBUG, "EAP-PAX: received frame: op_code 0x%x "
206 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: received payload",
211 wpa_printf(MSG_DEBUG, "EAP-PAX: Expected PAX_STD-2 - "
218 wpa_printf(MSG_DEBUG, "EAP-PAX: Expected PAX-ACK - "
225 wpa_printf(MSG_DEBUG, "EAP-PAX: Unknown op_code 0x%x",
230 wpa_printf(MSG_DEBUG, "EAP-PAX: Expected MAC ID 0x%x, "
236 wpa_printf(MSG_INFO, "EAP-PAX: Expected DH Group ID 0x%x, "
243 wpa_printf(MSG_INFO, "EAP-PAX: Expected Public Key ID 0x%x, "
251 wpa_printf(MSG_INFO, "EAP-PAX: fragmentation not supported");
256 wpa_printf(MSG_INFO, "EAP-PAX: Unexpected CE flag");
262 wpa_printf(MSG_INFO, "EAP-PAX: No ICV in the packet");
266 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", icv, EAP_PAX_ICV_LEN);
272 wpa_printf(MSG_INFO, "EAP-PAX: Invalid ICV");
273 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: Expected ICV",
296 wpa_printf(MSG_DEBUG, "EAP-PAX: Received PAX_STD-2");
308 wpa_printf(MSG_INFO, "EAP-PAX: Too short PAX_STD-2 (B)");
314 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: Y (client rand)",
320 wpa_printf(MSG_INFO, "EAP-PAX: Too short PAX_STD-2 (CID)");
327 wpa_printf(MSG_INFO, "EAP-PAX: Failed to allocate memory for "
334 wpa_hexdump_ascii(MSG_MSGDUMP, "EAP-PAX: CID",
339 wpa_printf(MSG_INFO, "EAP-PAX: Too short PAX_STD-2 (MAC_CK)");
344 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: MAC_CK(A, B, CID)",
348 wpa_hexdump_ascii(MSG_DEBUG, "EAP-PAX: unknown CID",
368 "EAP-PAX: EAP-PAX not enabled for CID",
376 wpa_hexdump_ascii(MSG_DEBUG, "EAP-PAX: invalid password in "
387 wpa_printf(MSG_INFO, "EAP-PAX: Failed to complete initial "
399 wpa_printf(MSG_INFO, "EAP-PAX: Invalid MAC_CK(A, B, CID) in "
401 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: Expected MAC_CK(A, B, CID)",
411 wpa_printf(MSG_INFO, "EAP-PAX: Too short ICV (%lu) in "
415 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", pos, EAP_PAX_ICV_LEN);
421 wpa_printf(MSG_INFO, "EAP-PAX: Invalid ICV in PAX_STD-2");
422 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: Expected ICV",
430 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ignored extra payload",
445 wpa_printf(MSG_DEBUG, "EAP-PAX: Received PAX-ACK - authentication "
460 wpa_printf(MSG_INFO, "EAP-PAX: Plaintext password not "
546 EAP_VENDOR_IETF, EAP_TYPE_PAX, "PAX");