Lines Matching refs:eap
2 * hostapd / EAP-SAKE (RFC 4763) server
54 wpa_printf(MSG_DEBUG, "EAP-SAKE: %s -> %s",
71 wpa_printf(MSG_ERROR, "EAP-SAKE: Failed to get random data");
75 wpa_printf(MSG_DEBUG, "EAP-SAKE: Initialized Session ID %d",
102 wpa_printf(MSG_ERROR, "EAP-SAKE: Failed to allocate memory "
123 wpa_printf(MSG_DEBUG, "EAP-SAKE: Request/Identity");
133 wpa_printf(MSG_DEBUG, "EAP-SAKE: * AT_PERM_ID_REQ");
136 wpa_printf(MSG_DEBUG, "EAP-SAKE: * AT_SERVERID");
151 wpa_printf(MSG_DEBUG, "EAP-SAKE: Request/Challenge");
154 wpa_printf(MSG_ERROR, "EAP-SAKE: Failed to get random data");
158 wpa_hexdump(MSG_MSGDUMP, "EAP-SAKE: RAND_S (server rand)",
168 wpa_printf(MSG_DEBUG, "EAP-SAKE: * AT_RAND_S");
172 wpa_printf(MSG_DEBUG, "EAP-SAKE: * AT_SERVERID");
187 wpa_printf(MSG_DEBUG, "EAP-SAKE: Request/Confirm");
196 wpa_printf(MSG_DEBUG, "EAP-SAKE: * AT_MIC_S");
205 wpa_printf(MSG_INFO, "EAP-SAKE: Failed to compute MIC");
227 wpa_printf(MSG_DEBUG, "EAP-SAKE: Unknown state %d in buildReq",
246 wpa_printf(MSG_INFO, "EAP-SAKE: Invalid frame");
256 wpa_printf(MSG_INFO, "EAP-SAKE: Unknown version %d", version);
261 wpa_printf(MSG_INFO, "EAP-SAKE: Session ID mismatch (%d,%d)",
266 wpa_printf(MSG_DEBUG, "EAP-SAKE: Received frame: subtype=%d", subtype);
280 wpa_printf(MSG_INFO, "EAP-SAKE: Unexpected subtype=%d in state=%d",
295 wpa_printf(MSG_DEBUG, "EAP-SAKE: Received Response/Identity");
312 wpa_printf(MSG_DEBUG, "EAP-SAKE: Received Response/Challenge");
318 wpa_printf(MSG_INFO, "EAP-SAKE: Response/Challenge did not "
338 wpa_printf(MSG_INFO, "EAP-SAKE: Plaintext password with "
355 wpa_printf(MSG_INFO, "EAP-SAKE: Incorrect AT_MIC_P");
375 wpa_printf(MSG_DEBUG, "EAP-SAKE: Received Response/Confirm");
381 wpa_printf(MSG_INFO, "EAP-SAKE: Response/Confirm did not "
392 wpa_printf(MSG_INFO, "EAP-SAKE: Incorrect AT_MIC_P");
404 wpa_printf(MSG_DEBUG, "EAP-SAKE: Received Response/Auth-Reject");
427 wpa_hexdump(MSG_DEBUG, "EAP-SAKE: Received attributes",
500 struct eap_method *eap;
503 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION,
505 if (eap == NULL)
508 eap->init = eap_sake_init;
509 eap->reset = eap_sake_reset;
510 eap->buildReq = eap_sake_buildReq;
511 eap->check = eap_sake_check;
512 eap->process = eap_sake_process;
513 eap->isDone = eap_sake_isDone;
514 eap->getKey = eap_sake_getKey;
515 eap->isSuccess = eap_sake_isSuccess;
516 eap->get_emsk = eap_sake_get_emsk;
518 ret = eap_server_method_register(eap);
520 eap_server_method_free(eap);