/freebsd-10.2-release/contrib/wpa/src/eap_server/ |
H A D | eap_server_sim.c | 825 struct eap_method *eap; local 828 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, 830 if (eap == NULL) 833 eap->init = eap_sim_init; 834 eap->reset = eap_sim_reset; 835 eap->buildReq = eap_sim_buildReq; 836 eap->check = eap_sim_check; 837 eap->process = eap_sim_process; 838 eap->isDone = eap_sim_isDone; 839 eap [all...] |
H A D | eap_server_fast.c | 897 struct wpabuf *eap; local 898 eap = eap_fast_build_phase2_req(sm, data, id); 899 req = wpabuf_concat(req, eap); 1592 struct eap_method *eap; local 1595 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, 1597 if (eap == NULL) 1600 eap->init = eap_fast_init; 1601 eap->reset = eap_fast_reset; 1602 eap->buildReq = eap_fast_buildReq; 1603 eap [all...] |
H A D | eap_server_pwd.c | 503 * alloc an eap request and populate it with the data 1011 struct eap_method *eap; local 1024 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, 1027 if (eap == NULL) 1030 eap->init = eap_pwd_init; 1031 eap->reset = eap_pwd_reset; 1032 eap->buildReq = eap_pwd_build_req; 1033 eap->check = eap_pwd_check; 1034 eap->process = eap_pwd_process; 1035 eap [all...] |
H A D | eap_server_peap.c | 2 * hostapd / EAP-PEAP (draft-josefsson-pppext-eap-tls-eap-10.txt) 24 * 1 = draft-josefsson-ppext-eap-tls-eap-05.txt 25 * 2 = draft-josefsson-ppext-eap-tls-eap-10.txt 344 * (note: draft-josefsson-pppext-eap-tls-eap-10.txt includes a space 1363 struct eap_method *eap; local 1366 eap [all...] |
/freebsd-10.2-release/contrib/wpa/src/eap_peer/ |
H A D | eap_wsc.c | 545 struct eap_method *eap; local 548 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, 551 if (eap == NULL) 554 eap->init = eap_wsc_init; 555 eap->deinit = eap_wsc_deinit; 556 eap->process = eap_wsc_process; 558 ret = eap_peer_method_register(eap); 560 eap_peer_method_free(eap);
|
H A D | eap_tls_common.h | 63 * eap - EAP state machine allocated with eap_peer_sm_init() 65 struct eap_sm *eap; member in struct:eap_ssl_data
|
H A D | eap_pwd.c | 902 struct eap_method *eap; local 906 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, 908 if (eap == NULL) 911 eap->init = eap_pwd_init; 912 eap->deinit = eap_pwd_deinit; 913 eap->process = eap_pwd_process; 914 eap->isKeyAvailable = eap_pwd_key_available; 915 eap->getKey = eap_pwd_getkey; 916 eap->get_emsk = eap_pwd_get_emsk; 918 ret = eap_peer_method_register(eap); [all...] |
H A D | eap_ttls.c | 1617 struct eap_method *eap; local 1620 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, 1622 if (eap == NULL) 1625 eap->init = eap_ttls_init; 1626 eap->deinit = eap_ttls_deinit; 1627 eap->process = eap_ttls_process; 1628 eap->isKeyAvailable = eap_ttls_isKeyAvailable; 1629 eap->getKey = eap_ttls_getKey; 1630 eap->get_status = eap_ttls_get_status; 1631 eap [all...] |
H A D | eap_fast.c | 1686 struct eap_method *eap; local 1689 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, 1691 if (eap == NULL) 1694 eap->init = eap_fast_init; 1695 eap->deinit = eap_fast_deinit; 1696 eap->process = eap_fast_process; 1697 eap->isKeyAvailable = eap_fast_isKeyAvailable; 1698 eap->getKey = eap_fast_getKey; 1699 eap->get_status = eap_fast_get_status; 1701 eap [all...] |
/freebsd-10.2-release/contrib/wpa/src/eap_common/ |
H A D | eap_sake_common.h | 91 int peer, const u8 *eap, size_t eap_len,
|
H A D | eap_sake_common.c | 311 * @eap: EAP packet 313 * @mic_pos: MIC position in the EAP packet (must be [eap .. eap + eap_len]) 320 int peer, const u8 *eap, size_t eap_len, 364 os_memcpy(pos, eap, eap_len); 365 os_memset(pos + (mic_pos - eap), 0, EAP_SAKE_MIC_LEN); 316 eap_sake_compute_mic(const u8 *tek_auth, const u8 *rand_s, const u8 *rand_p, const u8 *serverid, size_t serverid_len, const u8 *peerid, size_t peerid_len, int peer, const u8 *eap, size_t eap_len, const u8 *mic_pos, u8 *mic) argument
|
H A D | eap_sim_common.c | 982 struct eap_hdr *eap; local 995 eap = wpabuf_put(msg->buf, sizeof(*eap)); 996 eap->code = code; 997 eap->identifier = id; 1012 struct eap_hdr *eap; local 1018 eap = wpabuf_mhead(msg->buf); 1019 eap->length = host_to_be16(wpabuf_len(msg->buf));
|
/freebsd-10.2-release/contrib/wpa/wpa_supplicant/ |
H A D | wps_supplicant.c | 21 #include "eap_peer/eap.h" 59 eap_is_wps_pin_enrollee(&wpa_s->current_ssid->eap)) { 272 if (ssid->eap.identity && 273 ssid->eap.identity_len == WSC_ID_REGISTRAR_LEN && 274 os_memcmp(ssid->eap.identity, WSC_ID_REGISTRAR, 278 os_free(ssid->eap.identity); 279 ssid->eap.identity = NULL; 280 ssid->eap.identity_len = 0; 281 os_free(ssid->eap.phase1); 282 ssid->eap [all...] |
H A D | wpa_supplicant.c | 19 #include "eap_peer/eap.h" 313 eapol_sm_notify_config(wpa_s->eapol, &ssid->eap, &eapol_conf); 3125 * Returns: Pointer to the eap mode or the string "UNKNOWN" if not found 3570 struct eap_peer_config *eap = &ssid->eap; local 3578 os_free(eap->identity); 3579 eap->identity = (u8 *) os_strdup(value); 3580 eap->identity_len = os_strlen(value); 3581 eap->pending_req_identity = 0; 3586 os_free(eap [all...] |
H A D | events.c | 23 #include "eap_peer/eap.h" 270 if (ssid->eap.pcsc == NULL || wpa_s->scard != NULL) 273 if (ssid->eap.eap_methods == NULL) { 277 struct eap_method_type *eap = ssid->eap.eap_methods; local 278 while (eap->vendor != EAP_VENDOR_IETF || 279 eap->method != EAP_TYPE_NONE) { 280 if (eap->vendor == EAP_VENDOR_IETF) { 281 if (eap->method == EAP_TYPE_SIM) 283 else if (eap [all...] |
H A D | preauth_test.c | 20 #include "eap_peer/eap.h" 338 if (rsn_preauth_init(wpa_s.wpa, bssid, &wpa_s.conf->ssid->eap))
|
/freebsd-10.2-release/contrib/wpa/src/radius/ |
H A D | radius_server.c | 15 #include "eap_server/eap.h" 62 struct eap_sm *eap; member in struct:radius_session 373 eap_server_sm_deinit(sess->eap); 514 sess->eap = eap_server_sm_init(sess, &radius_server_eapol_cb, 516 if (sess->eap == NULL) { 522 sess->eap_if = eap_get_interface(sess->eap); 692 struct wpabuf *eap = NULL; local 756 eap = radius_msg_get_eap(msg); 757 if (eap == NULL) { 765 RADIUS_DUMP("Received EAP data", wpabuf_head(eap), wpabuf_le [all...] |
H A D | radius.c | 712 struct wpabuf *eap; local 730 eap = wpabuf_alloc(len); 731 if (eap == NULL) 739 wpabuf_put_data(eap, attr + 1, flen); 743 return eap;
|
/freebsd-10.2-release/usr.sbin/mountd/ |
H A D | mountd.c | 2406 struct export_args ea, *eap; local 2417 eap = &nfsea.export; 2419 eap = &ea; 2427 bzero(eap, sizeof (struct export_args)); 2429 eap->ex_flags = exflags; 2430 eap->ex_anon = *anoncrp; 2431 eap->ex_indexfile = ep->ex_indexfile; 2436 eap->ex_numsecflavors = ep->ex_numsecflavors; 2437 for (i = 0; i < eap->ex_numsecflavors; i++) 2438 eap [all...] |
/freebsd-10.2-release/usr.bin/getent/ |
H A D | getent.c | 189 struct ether_addr ea, *eap; local 195 #define ETHERSPRINT printf("%-17s %s\n", ether_ntoa(eap), hp) 203 if ((eap = ether_aton(argv[i])) == NULL) { 204 eap = &ea; 206 if (ether_hostton(hp, eap) != 0) { 212 if (ether_ntohost(hp, eap) != 0) {
|
/freebsd-10.2-release/contrib/wpa/src/eapol_auth/ |
H A D | eapol_auth_sm_i.h | 168 struct eap_sm *eap; member in struct:eapol_state_machine
|
/freebsd-10.2-release/contrib/wpa/src/ap/ |
H A D | gas_serv.c | 254 struct hostapd_nai_realm_eap *eap = &realm->eap_method[i]; local 255 wpabuf_put_u8(buf, 2 + (3 * eap->num_auths)); 256 wpabuf_put_u8(buf, eap->eap_method); 257 wpabuf_put_u8(buf, eap->num_auths); 258 for (j = 0; j < eap->num_auths; j++) { 259 wpabuf_put_u8(buf, eap->auth_id[j]); 261 wpabuf_put_u8(buf, eap->auth_val[j]);
|
/freebsd-10.2-release/usr.sbin/tcpdump/tcpdump/ |
H A D | Makefile | 49 print-eap.c \
|
/freebsd-10.2-release/usr.sbin/wpa/wpa_supplicant/ |
H A D | Makefile | 74 eap.c \
|
/freebsd-10.2-release/contrib/wpa/hostapd/ |
H A D | config_file.c | 18 #include "eap_server/eap.h" 1503 struct hostapd_nai_realm_eap *eap; local 1510 eap = &realm->eap_method[realm->eap_method_count]; 1517 eap->eap_method = atoi(pos); 1523 if (eap->num_auths >= MAX_NAI_AUTH_TYPES) { 1527 eap->auth_id[eap->num_auths] = atoi(pos); 1532 eap->auth_val[eap->num_auths] = atoi(pos); 1537 eap [all...] |