/external/tcpdump/ |
print-eap.c | 25 "@(#) $Header: /tcpdump/master/tcpdump/print-eap.c,v 1.3 2004/04/23 19:03:39 mcr Exp $"; 57 const struct eap_packet_t *eap; local 59 eap = (const struct eap_packet_t *)cp; 60 ND_TCHECK(eap->data); 62 ND_PRINT((ndo, "EAP code=%u id=%u length=%u ", 63 eap->code, eap->id, (eap->length[0]<<8) + eap->length[1]));
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_common.c | 2 * EAP common peer/server definitions 22 * eap_hdr_validate - Validate EAP header 23 * @vendor: Expected EAP Vendor-Id (0 = IETF) 24 * @eap_type: Expected EAP type number 25 * @msg: EAP frame (starting with EAP header) 27 * Returns: Pointer to EAP payload (after type field), or %NULL on failure 29 * This is a helper function for EAP method implementations. This is usually 31 * that the received EAP request packet has a valid header. This function is 32 * able to process both legacy and expanded EAP headers and in most cases, th 163 const struct eap_hdr *eap; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_md5.c | 2 * EAP peer method: EAP-MD5 (RFC 3748 and RFC 1994) 46 wpa_printf(MSG_INFO, "EAP-MD5: Password not configured"); 54 wpa_printf(MSG_INFO, "EAP-MD5: Invalid frame (pos=%p len=%lu)", 66 wpa_printf(MSG_INFO, "EAP-MD5: Invalid challenge " 74 wpa_hexdump(MSG_MSGDUMP, "EAP-MD5: Challenge", 77 wpa_printf(MSG_DEBUG, "EAP-MD5: Generating Challenge Response"); 96 wpa_hexdump(MSG_MSGDUMP, "EAP-MD5: Response", rpos, CHAP_MD5_LEN); 104 struct eap_method *eap; local 107 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION [all...] |
eap_otp.c | 2 * EAP peer method: EAP-OTP (RFC 3748) 48 wpa_hexdump_ascii(MSG_MSGDUMP, "EAP-OTP: Request message", 60 wpa_printf(MSG_INFO, "EAP-OTP: Password not configured"); 77 wpa_hexdump_ascii_key(MSG_MSGDUMP, "EAP-OTP: Response", 81 wpa_printf(MSG_DEBUG, "EAP-OTP: Forgetting used password"); 91 struct eap_method *eap; local 94 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, 96 if (eap == NULL) 99 eap->init = eap_otp_init [all...] |
eap_gtc.c | 2 * EAP peer method: EAP-GTC (RFC 3748) 35 wpa_printf(MSG_DEBUG, "EAP-GTC: EAP-FAST tunnel - use prefix " 68 wpa_hexdump_ascii(MSG_MSGDUMP, "EAP-GTC: Request message", pos, len); 71 wpa_printf(MSG_DEBUG, "EAP-GTC: Challenge did not start with " 76 * error case which seems to use EAP-MSCHAPv2 like error 77 * reporting with EAP-GTC inside EAP-FAST tunnel. */ 92 wpa_printf(MSG_INFO, "EAP-GTC: Password not configured") 135 struct eap_method *eap; local [all...] |
eap_tls_common.h | 2 * EAP peer: EAP-TLS/PEAP/TTLS/FAST common functions 19 * struct eap_ssl_data - TLS data for EAP methods 68 * phase2 - Whether this TLS connection is used in EAP phase 2 (tunnel) 84 * eap - Pointer to EAP state machine allocated with eap_peer_sm_init() 86 struct eap_sm *eap; member in struct:eap_ssl_data 90 /* EAP TLS Flags */
|
eap_methods.c | 2 * EAP peer: Method registration 29 * eap_peer_get_eap_method - Get EAP method based on type number 30 * @vendor: EAP Vendor-Id (0 = IETF) 31 * @method: EAP type number 32 * Returns: Pointer to EAP method or %NULL if not found 46 * eap_peer_get_type - Get EAP type for the given EAP method name 47 * @name: EAP method name, e.g., TLS 48 * @vendor: Buffer for returning EAP Vendor-Id 49 * Returns: EAP method type or %EAP_TYPE_NONE if not foun 286 struct eap_method *eap; local [all...] |
eap_tls.c | 2 * EAP peer method: EAP-TLS (RFC 2716) 41 wpa_printf(MSG_INFO, "EAP-TLS: Private key not configured"); 50 wpa_printf(MSG_INFO, "EAP-TLS: Failed to initialize SSL."); 53 wpa_printf(MSG_DEBUG, "EAP-TLS: Requesting Smartcard " 59 wpa_printf(MSG_DEBUG, "EAP-TLS: Requesting private " 87 wpa_printf(MSG_DEBUG, "EAP-TLS: TLS processing failed"); 121 wpa_printf(MSG_DEBUG, "EAP-TLS: Done"); 128 "client EAP encryption", 132 wpa_hexdump_key(MSG_DEBUG, "EAP-TLS: Derived key" 266 struct eap_method *eap; local [all...] |
eap_vendor_test.c | 2 * EAP peer method: Test method for vendor specific (expanded) EAP type 14 * This file implements a vendor specific test method using EAP expanded types. 63 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: Ready to re-process pending " 86 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: Unexpected message " 93 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: Unexpected message " 100 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: Unexpected message " 110 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: Testing " 122 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: Generating Response"); 176 struct eap_method *eap; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_methods.c | 2 * hostapd / EAP method registration 26 * eap_server_get_eap_method - Get EAP method based on type number 27 * @vendor: EAP Vendor-Id (0 = IETF) 28 * @method: EAP type number 29 * Returns: Pointer to EAP method or %NULL if not found 43 * eap_server_get_type - Get EAP type for the given EAP method name 44 * @name: EAP method name, e.g., TLS 45 * @vendor: Buffer for returning EAP Vendor-Id 46 * Returns: EAP method type or %EAP_TYPE_NONE if not foun 80 struct eap_method *eap; local [all...] |
eap_tls_common.h | 2 * hostapd / EAP-TLS/PEAP/TTLS/FAST common functions 25 struct eap_sm *eap; member in struct:eap_ssl_data 35 /* EAP TLS Flags */
|
eap_gtc.c | 2 * hostapd / EAP-GTC (RFC 3748) 39 wpa_printf(MSG_DEBUG, "EAP-GTC: EAP-FAST tunnel - use prefix " 69 wpa_printf(MSG_ERROR, "EAP-GTC: Failed to allocate memory for " 91 wpa_printf(MSG_INFO, "EAP-GTC: Invalid frame"); 110 wpa_hexdump_ascii_key(MSG_MSGDUMP, "EAP-GTC: Response", pos, rlen); 117 wpa_printf(MSG_DEBUG, "EAP-GTC: Too short response " 118 "for EAP-FAST prefix"); 129 wpa_printf(MSG_DEBUG, "EAP-GTC: No password in " 130 "response to EAP-FAST prefix") 210 struct eap_method *eap; local [all...] |
eap_identity.c | 2 * hostapd / EAP-Identity 76 wpa_printf(MSG_ERROR, "EAP-Identity: Failed to allocate " 97 wpa_printf(MSG_INFO, "EAP-Identity: Invalid frame"); 114 wpa_printf(MSG_DEBUG, "EAP-Identity: failed to pick " 127 wpa_hexdump_ascii(MSG_DEBUG, "EAP-Identity: Peer identity", pos, len); 158 struct eap_method *eap; local 161 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, 164 if (eap == NULL) 167 eap->init = eap_identity_init; 168 eap->initPickUp = eap_identity_initPickUp [all...] |
eap_md5.c | 2 * hostapd / EAP-MD5 server 56 wpa_printf(MSG_ERROR, "EAP-MD5: Failed to get random data"); 64 wpa_printf(MSG_ERROR, "EAP-MD5: Failed to allocate memory for " 72 wpa_hexdump(MSG_MSGDUMP, "EAP-MD5: Challenge", data->challenge, 89 wpa_printf(MSG_INFO, "EAP-MD5: Invalid frame"); 93 wpa_printf(MSG_INFO, "EAP-MD5: Invalid response " 113 wpa_printf(MSG_INFO, "EAP-MD5: Plaintext password not " 124 wpa_hexdump(MSG_MSGDUMP, "EAP-MD5: Response", pos, CHAP_MD5_LEN); 131 wpa_printf(MSG_DEBUG, "EAP-MD5: Done - Success"); 134 wpa_printf(MSG_DEBUG, "EAP-MD5: Done - Failure") 156 struct eap_method *eap; local [all...] |
eap_vendor_test.c | 2 * hostapd / Test method for vendor specific (expanded) EAP type 50 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: %s -> %s", 86 wpa_printf(MSG_ERROR, "EAP-VENDOR-TEST: Failed to allocate " 105 wpa_printf(MSG_INFO, "EAP-VENDOR-TEST: Invalid frame"); 176 struct eap_method *eap; local 179 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, 182 if (eap == NULL) 185 eap->init = eap_vendor_test_init; 186 eap->reset = eap_vendor_test_reset; 187 eap->buildReq = eap_vendor_test_buildReq [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_common.c | 2 * EAP common peer/server definitions 16 * eap_hdr_len_valid - Validate EAP header length field 17 * @msg: EAP frame (starting with EAP header) 21 * This is a helper function that does minimal validation of EAP messages. The 36 wpa_printf(MSG_INFO, "EAP: Too short EAP frame"); 42 wpa_printf(MSG_INFO, "EAP: Invalid EAP length"); 51 * eap_hdr_validate - Validate EAP heade 184 const struct eap_hdr *eap; local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_md5.c | 2 * EAP peer method: EAP-MD5 (RFC 3748 and RFC 1994) 40 wpa_printf(MSG_INFO, "EAP-MD5: Password not configured"); 48 wpa_printf(MSG_INFO, "EAP-MD5: Invalid frame (pos=%p len=%lu)", 60 wpa_printf(MSG_INFO, "EAP-MD5: Invalid challenge " 68 wpa_hexdump(MSG_MSGDUMP, "EAP-MD5: Challenge", 71 wpa_printf(MSG_DEBUG, "EAP-MD5: Generating Challenge Response"); 91 wpa_printf(MSG_INFO, "EAP-MD5: CHAP MD5 operation failed"); 96 wpa_hexdump(MSG_MSGDUMP, "EAP-MD5: Response", rpos, CHAP_MD5_LEN); 104 struct eap_method *eap; local [all...] |
eap_otp.c | 2 * EAP peer method: EAP-OTP (RFC 3748) 42 wpa_hexdump_ascii(MSG_MSGDUMP, "EAP-OTP: Request message", 54 wpa_printf(MSG_INFO, "EAP-OTP: Password not configured"); 71 wpa_hexdump_ascii_key(MSG_MSGDUMP, "EAP-OTP: Response", 75 wpa_printf(MSG_DEBUG, "EAP-OTP: Forgetting used password"); 85 struct eap_method *eap; local 88 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, 90 if (eap == NULL) 93 eap->init = eap_otp_init [all...] |
eap_gtc.c | 2 * EAP peer method: EAP-GTC (RFC 3748) 29 wpa_printf(MSG_DEBUG, "EAP-GTC: EAP-FAST tunnel - use prefix " 62 wpa_hexdump_ascii(MSG_MSGDUMP, "EAP-GTC: Request message", pos, len); 65 wpa_printf(MSG_DEBUG, "EAP-GTC: Challenge did not start with " 70 * error case which seems to use EAP-MSCHAPv2 like error 71 * reporting with EAP-GTC inside EAP-FAST tunnel. */ 86 wpa_printf(MSG_INFO, "EAP-GTC: Password not configured") 129 struct eap_method *eap; local [all...] |
eap_tls_common.h | 2 * EAP peer: EAP-TLS/PEAP/TTLS/FAST common functions 13 * struct eap_ssl_data - TLS data for EAP methods 52 * phase2 - Whether this TLS connection is used in EAP phase 2 (tunnel) 63 * eap - EAP state machine allocated with eap_peer_sm_init() 65 struct eap_sm *eap; member in struct:eap_ssl_data 73 * eap_type - EAP method used in Phase 1 (EAP_TYPE_TLS/PEAP/TTLS/FAST) 79 /* EAP TLS Flags */
|
eap_methods.c | 2 * EAP peer: Method registration 23 * eap_peer_get_eap_method - Get EAP method based on type number 24 * @vendor: EAP Vendor-Id (0 = IETF) 25 * @method: EAP type number 26 * Returns: Pointer to EAP method or %NULL if not found 40 * eap_peer_get_type - Get EAP type for the given EAP method name 41 * @name: EAP method name, e.g., TLS 42 * @vendor: Buffer for returning EAP Vendor-Id 43 * Returns: EAP method type or %EAP_TYPE_NONE if not foun 282 struct eap_method *eap; local [all...] |
eap_vendor_test.c | 2 * EAP peer method: Test method for vendor specific (expanded) EAP type 8 * This file implements a vendor specific test method using EAP expanded types. 57 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: Ready to re-process pending " 80 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: Unexpected message " 87 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: Unexpected message " 94 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: Unexpected message " 104 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: Testing " 116 wpa_printf(MSG_DEBUG, "EAP-VENDOR-TEST: Generating Response"); 170 struct eap_method *eap; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_methods.c | 2 * EAP server method registration 20 * eap_server_get_eap_method - Get EAP method based on type number 21 * @vendor: EAP Vendor-Id (0 = IETF) 22 * @method: EAP type number 23 * Returns: Pointer to EAP method or %NULL if not found 37 * eap_server_get_type - Get EAP type for the given EAP method name 38 * @name: EAP method name, e.g., TLS 39 * @vendor: Buffer for returning EAP Vendor-Id 40 * Returns: EAP method type or %EAP_TYPE_NONE if not foun 74 struct eap_method *eap; local [all...] |
eap_tls_common.h | 2 * EAP-TLS/PEAP/TTLS/FAST server common functions 13 * struct eap_ssl_data - TLS data for EAP methods 42 * phase2 - Whether this TLS connection is used in EAP phase 2 (tunnel) 47 * eap - EAP state machine allocated with eap_server_sm_init() 49 struct eap_sm *eap; member in struct:eap_ssl_data 56 /* EAP TLS Flags */
|
eap_server_gtc.c | 2 * hostapd / EAP-GTC (RFC 3748) 33 wpa_printf(MSG_DEBUG, "EAP-GTC: EAP-FAST tunnel - use prefix " 63 wpa_printf(MSG_ERROR, "EAP-GTC: Failed to allocate memory for " 85 wpa_printf(MSG_INFO, "EAP-GTC: Invalid frame"); 104 wpa_hexdump_ascii_key(MSG_MSGDUMP, "EAP-GTC: Response", pos, rlen); 111 wpa_printf(MSG_DEBUG, "EAP-GTC: Too short response " 112 "for EAP-FAST prefix"); 123 wpa_printf(MSG_DEBUG, "EAP-GTC: No password in " 124 "response to EAP-FAST prefix") 204 struct eap_method *eap; local [all...] |