/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
H A D | eap_eke_common.c | 426 u8 buf[EAP_EKE_MAX_KE_LEN + EAP_EKE_MAX_KI_LEN]; in eap_eke_derive_ke_ki() local 531 u8 buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_eke_derive_msk() local [all...] |
H A D | eap_sim_common.c | 79 u8 buf[EAP_SIM_K_ENCR_LEN + EAP_SIM_K_AUT_LEN + in eap_sim_derive_keys() local 113 u8 buf[EAP_SIM_KEYING_DATA_LEN + EAP_EMSK_LEN + 32]; in eap_sim_derive_keys_reauth() local 975 struct wpabuf *buf; global() member 1014 struct wpabuf *buf; eap_sim_msg_finish() local [all...] |
H A D | ikev2_common.c | 378 u8 *sign_data, *pos, *buf, hash[IKEV2_MAX_HASH_LEN]; in ikev2_derive_auth_data() local
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_mschapv2.c | 657 char *buf; in eap_mschapv2_failure() local
|
H A D | eap_peap.c | 314 eap_tlv_add_cryptobinding(struct eap_sm *sm, struct eap_peap_data *data, struct wpabuf *buf) eap_tlv_add_cryptobinding() argument 401 u8 buf[61], mac[SHA1_MAC_LEN]; eap_tlv_validate_cryptobinding() local 643 struct wpabuf *buf; eap_peap_phase2_request() local 938 struct wpabuf *rmsg, buf; eap_peap_decrypt() local 1212 eap_peap_get_status(struct eap_sm *sm, void *priv, char *buf, size_t buflen, int verbose) eap_peap_get_status() argument [all...] |
H A D | eap_pwd.c | 871 const u8 *pos, *buf; in eap_pwd_process() local
|
H A D | ikev2.c | 33 u8 *buf, *pos, *pad, skeyseed[IKEV2_MAX_HASH_LEN]; in ikev2_derive_keys() local 723 ikev2_responder_process(struct ikev2_responder_data *data, const struct wpabuf *buf) ikev2_responder_process() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server.c | 191 char *buf; in eap_log_msg() local
|
H A D | eap_server_aka.c | 353 struct wpabuf *buf; in eap_aka_build_identity() local 552 struct wpabuf *buf; in eap_aka_build_reauth() local [all...] |
H A D | ikev2.c | 37 u8 *buf, *pos, *pad, skeyseed[IKEV2_MAX_HASH_LEN]; in ikev2_derive_keys() local 792 ikev2_initiator_process(struct ikev2_initiator_data *data, const struct wpabuf *buf) ikev2_initiator_process() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_supp/ |
H A D | eapol_supp_sm.h | 367 static inline int eapol_sm_get_status(struct eapol_sm *sm, char *buf, in eapol_sm_get_status() argument 372 static inline int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, in eapol_sm_get_mib() argument 382 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) eapol_sm_rx_eapol() argument 469 eapol_sm_process_erp_finish(struct eapol_sm *sm, const u8 *buf, size_t len) eapol_sm_process_erp_finish() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/ |
H A D | fst_ctrl_iface.c | 171 static int session_get(const char *session_id, char *buf, size_t buflen) in session_get() argument 210 static int session_set(const char *session_id, char *buf, size_t buflen) in session_set() argument 249 static int session_add(const char *group_id, char *buf, size_t buflen) in session_add() argument 273 session_remove(const char *session_id, char *buf, size_t buflen) session_remove() argument 297 session_initiate(const char *session_id, char *buf, size_t buflen) session_initiate() argument 320 session_respond(const char *session_id, char *buf, size_t buflen) session_respond() argument 363 session_transfer(const char *session_id, char *buf, size_t buflen) session_transfer() argument 387 session_teardown(const char *session_id, char *buf, size_t buflen) session_teardown() argument 412 test_request(const char *request, char *buf, size_t buflen) test_request() argument 463 char *buf; global() member 483 list_sessions(const char *group_id, char *buf, size_t buflen) list_sessions() argument 508 iface_peers(const char *group_id, char *buf, size_t buflen) iface_peers() argument 557 get_peer_mbies(const char *params, char *buf, size_t buflen) get_peer_mbies() argument 596 list_ifaces(const char *group_id, char *buf, size_t buflen) list_ifaces() argument 629 list_groups(const char *cmd, char *buf, size_t buflen) list_groups() argument 660 print_band(unsigned num, struct fst_iface *iface, const u8 *addr, char *buf, size_t buflen) print_band() argument 743 fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen) fst_ctrl_iface_mb_info() argument 839 fst_read_next_text_param(const char *params, char *buf, size_t buflen, char **endp) fst_read_next_text_param() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_build.c | 18 void p2p_buf_add_action_hdr(struct wpabuf *buf, u8 subtype, u8 dialog_token) in p2p_buf_add_action_hdr() argument 29 void p2p_buf_add_public_action_hdr(struct wpabuf *buf, u8 subtype, in p2p_buf_add_public_action_hdr() argument 42 p2p_buf_add_ie_hdr(struct wpabuf *buf) p2p_buf_add_ie_hdr() argument 55 p2p_buf_update_ie_hdr(struct wpabuf *buf, u8 *len) p2p_buf_update_ie_hdr() argument 62 p2p_buf_add_capability(struct wpabuf *buf, u8 dev_capab, u8 group_capab) p2p_buf_add_capability() argument 74 p2p_buf_add_go_intent(struct wpabuf *buf, u8 go_intent) p2p_buf_add_go_intent() argument 85 p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, u8 reg_class, u8 channel) p2p_buf_add_listen_channel() argument 99 p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, u8 reg_class, u8 channel) p2p_buf_add_operating_channel() argument 113 p2p_buf_add_pref_channel_list(struct wpabuf *buf, const u32 *preferred_freq_list, unsigned int size) p2p_buf_add_pref_channel_list() argument 151 p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, struct p2p_channels *chan) p2p_buf_add_channel_list() argument 176 p2p_buf_add_status(struct wpabuf *buf, u8 status) p2p_buf_add_status() argument 186 p2p_buf_add_device_info(struct wpabuf *buf, struct p2p_data *p2p, struct p2p_device *peer) p2p_buf_add_device_info() argument 245 p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr) p2p_buf_add_device_id() argument 255 p2p_buf_add_config_timeout(struct wpabuf *buf, u8 go_timeout, u8 client_timeout) p2p_buf_add_config_timeout() argument 268 p2p_buf_add_intended_addr(struct wpabuf *buf, const u8 *interface_addr) p2p_buf_add_intended_addr() argument 279 p2p_buf_add_group_bssid(struct wpabuf *buf, const u8 *bssid) p2p_buf_add_group_bssid() argument 290 p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr, const u8 *ssid, size_t ssid_len) p2p_buf_add_group_id() argument 304 p2p_buf_add_invitation_flags(struct wpabuf *buf, u8 flags) p2p_buf_add_invitation_flags() argument 314 p2p_buf_add_noa_desc(struct wpabuf *buf, struct p2p_noa_desc *desc) p2p_buf_add_noa_desc() argument 326 p2p_buf_add_noa(struct wpabuf *buf, u8 noa_index, u8 opp_ps, u8 ctwindow, struct p2p_noa_desc *desc1, struct p2p_noa_desc *desc2) p2p_buf_add_noa() argument 340 p2p_buf_add_ext_listen_timing(struct wpabuf *buf, u16 period, u16 interval) p2p_buf_add_ext_listen_timing() argument 353 p2p_buf_add_p2p_interface(struct wpabuf *buf, struct p2p_data *p2p) p2p_buf_add_p2p_interface() argument 370 p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, u8 oper_class, u8 channel, enum p2p_role_indication role) p2p_buf_add_oob_go_neg_channel() argument 387 p2p_buf_add_service_hash(struct wpabuf *buf, struct p2p_data *p2p) p2p_buf_add_service_hash() argument 402 p2p_buf_add_session_info(struct wpabuf *buf, const char *info) p2p_buf_add_session_info() argument 420 p2p_buf_add_connection_capability(struct wpabuf *buf, u8 connection_cap) p2p_buf_add_connection_capability() argument 431 p2p_buf_add_advertisement_id(struct wpabuf *buf, u32 id, const u8 *mac) p2p_buf_add_advertisement_id() argument 476 p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, u32 adv_id, u16 config_methods, const char *svc_name, u8 **ie_len, u8 **pos, size_t *total_len, u8 *attr_len) p2p_buf_add_service_info() argument 594 p2p_buf_add_service_instance(struct wpabuf *buf, struct p2p_data *p2p, u8 hash_count, const u8 *hash, struct p2ps_advertisement *adv_list) p2p_buf_add_service_instance() argument 665 p2p_buf_add_session_id(struct wpabuf *buf, u32 id, const u8 *mac) p2p_buf_add_session_id() argument 680 p2p_buf_add_feature_capability(struct wpabuf *buf, u16 len, const u8 *mask) p2p_buf_add_feature_capability() argument 693 p2p_buf_add_persistent_group_info(struct wpabuf *buf, const u8 *dev_addr, const u8 *ssid, size_t ssid_len) p2p_buf_add_persistent_group_info() argument 706 p2p_add_wps_string(struct wpabuf *buf, enum wps_attribute attr, const char *val) p2p_add_wps_string() argument 736 p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id, int all_attr) p2p_build_wps_ie() argument [all...] |
H A D | p2p_pd.c | 26 static void p2p_build_wps_ie_config_methods(struct wpabuf *buf, in p2p_build_wps_ie_config_methods() argument 43 p2ps_add_new_group_info(struct p2p_data *p2p, struct p2p_device *dev, struct wpabuf *buf) p2ps_add_new_group_info() argument 95 p2ps_add_pd_req_attrs(struct p2p_data *p2p, struct p2p_device *dev, struct wpabuf *buf, u16 config_methods) p2ps_add_pd_req_attrs() argument 182 struct wpabuf *buf; p2p_build_prov_disc_req() local 259 struct wpabuf *buf; p2p_build_prov_disc_resp() local 1099 char *buf = os_malloc(2 * buf_len + 1); p2p_process_prov_disc_req() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | tlsv1_cred.c | 90 static const u8 * search_tag(const char *tag, const u8 *buf, size_t len) in search_tag() argument 45 tlsv1_add_cert_der(struct x509_certificate **chain, const u8 *buf, size_t len) tlsv1_add_cert_der() argument 107 tlsv1_add_cert(struct x509_certificate **chain, const u8 *buf, size_t len) tlsv1_add_cert() argument 165 u8 *buf; tlsv1_set_cert_chain() local 415 pkcs12_keybag(struct tlsv1_credentials *cred, const u8 *buf, size_t len) pkcs12_keybag() argument 423 pkcs12_pkcs8_keybag(struct tlsv1_credentials *cred, const u8 *buf, size_t len, const char *passwd) pkcs12_pkcs8_keybag() argument 443 pkcs12_certbag(struct tlsv1_credentials *cred, const u8 *buf, size_t len) pkcs12_certbag() argument 622 pkcs12_safebag(struct tlsv1_credentials *cred, const u8 *buf, size_t len, const char *passwd) pkcs12_safebag() argument 700 pkcs12_safecontents(struct tlsv1_credentials *cred, const u8 *buf, size_t len, const char *passwd) pkcs12_safecontents() argument 773 char buf[80]; pkcs12_parse_content_enc_data() local 882 pkcs12_parse_content(struct tlsv1_credentials *cred, const u8 *buf, size_t len, const char *passwd) pkcs12_parse_content() argument 931 char buf[80]; pkcs12_parse() local 1107 u8 *buf; tlsv1_set_private_key() local 1203 tlsv1_set_dhparams_blob(struct tlsv1_credentials *cred, const u8 *buf, size_t len) tlsv1_set_dhparams_blob() argument 1262 u8 *buf; tlsv1_set_dhparams() local [all...] |
H A D | x509v3.c | 181 int x509_parse_algorithm_identifier(const u8 *buf, size_t len, in x509_parse_algorithm_identifier() argument 219 static int x509_parse_public_key(const u8 *buf, size_t len, in x509_parse_public_key() argument 291 int x509_parse_name(const u8 *buf, size_t len, struct x509_name *name, in x509_parse_name() argument 498 x509_name_string(struct x509_name *name, char *buf, size_t len) x509_name_string() argument 543 char buf[3]; parse_uint2() local 559 char buf[5]; parse_uint4() local 575 x509_parse_time(const u8 *buf, size_t len, u8 asn1_tag, os_time_t *val) x509_parse_time() argument 692 x509_parse_validity(const u8 *buf, size_t len, struct x509_certificate *cert, const u8 **next) x509_parse_validity() argument 978 char buf[80]; x509_parse_alt_name_rid() local 1201 char buf[80]; x509_parse_ext_ext_key_usage() local 1266 char buf[80]; x509_parse_extension() local 1366 x509_parse_tbs_certificate(const u8 *buf, size_t len, struct x509_certificate *cert, const u8 **next) x509_parse_tbs_certificate() argument 1653 x509_certificate_parse(const u8 *buf, size_t len) x509_certificate_parse() argument 2085 char buf[128]; x509_certificate_chain_validate() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | os_internal.c | 124 int os_get_random(unsigned char *buf, size_t len) in os_get_random() argument 158 char *buf = NULL, *cwd, *ret; in os_rel2abs_path() local 226 char *buf; in os_readfile() local [all...] |
H A D | os_unix.c | 251 int os_get_random(unsigned char *buf, size_t len) in os_get_random() argument 288 char *buf = NULL, *cwd, *ret; in os_rel2abs_path() local 412 char *buf; os_readfile() local [all...] |
H A D | utils_module_tests.c | 49 char buf[100]; in printf_encode_decode_tests() local 360 char buf[3], longbuf[100]; common_tests() local 516 struct wpabuf *buf; wpabuf_tests() local 572 char buf[100]; ip_addr_tests() local 614 char buf[10]; eloop_test_read_2() local 696 char buf[10]; eloop_test_read_1() local 892 char buf[1000]; json_tests() local [all...] |
H A D | wpa_debug.c | 131 char buf[4096] = {}; in wpa_debug_open_linux_tracing() local 334 static void _wpa_hexdump(int level, const char *title, const u8 *buf, in _wpa_hexdump() argument 500 wpa_hexdump(int level, const char *title, const void *buf, size_t len) wpa_hexdump() argument 506 wpa_hexdump_key(int level, const char *title, const void *buf, size_t len) wpa_hexdump_key() argument 512 _wpa_hexdump_ascii(int level, const char *title, const void *buf, size_t len, int show) _wpa_hexdump_ascii() argument 630 wpa_hexdump_ascii(int level, const char *title, const void *buf, size_t len) wpa_hexdump_ascii() argument 637 wpa_hexdump_ascii_key(int level, const char *title, const void *buf, size_t len) wpa_hexdump_ascii_key() argument 762 char *buf; wpa_msg() local 800 char *buf; wpa_msg_ctrl() local 828 char *buf; wpa_msg_global() local 855 char *buf; wpa_msg_global_ctrl() local 883 char *buf; wpa_msg_no_global() local 910 char *buf; wpa_msg_global_only() local 949 char *buf; hostapd_logger() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps_common.c | 485 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf, in wps_dev_type_bin2str() argument
|
H A D | wps_upnp.c | 220 void format_date(struct wpabuf *buf) in format_date() argument 440 static void wpabuf_put_property(struct wpabuf *buf, const char *name, in wpabuf_put_property() argument 463 struct wpabuf *buf; /* holds event message */ in upnp_wps_device_send_event() local 626 struct wpabuf *buf; subscription_first_event() local 852 u_char *p, *buf; eth_get() local [all...] |
H A D | wps_upnp_web.c | 182 format_wps_device_xml(struct upnp_wps_device_interface *iface, struct upnp_wps_device_sm *sm, struct wpabuf *buf) format_wps_device_xml() argument 242 http_put_reply_code(struct wpabuf *buf, enum http_reply_code code) http_put_reply_code() argument 266 http_put_date(struct wpabuf *buf) http_put_date() argument 274 http_put_empty(struct wpabuf *buf, enum http_reply_code code) http_put_empty() argument 306 struct wpabuf *buf; /* output buffer, allocated */ web_connection_parse_get() local 761 struct wpabuf *buf; web_connection_send_reply() local 987 struct wpabuf *buf; web_connection_parse_subscribe() local 1209 struct wpabuf *buf; web_connection_parse_unsubscribe() local 1334 struct wpabuf *buf; web_connection_unimplemented() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | bss.c | 1196 struct wpabuf *buf; in wpa_bss_get_vendor_ie_multi() local 1240 struct wpabuf *buf; in wpa_bss_get_vendor_ie_multi_beacon() local [all...] |
H A D | ctrl_iface_unix.c | 76 static void wpas_ctrl_sock_debug(const char *title, int sock, const char *buf, in wpas_ctrl_sock_debug() argument 134 char buf[4096]; in wpa_supplicant_ctrl_iface_receive() local 232 char *buf; wpa_supplicant_ctrl_iface_path() local 495 char *buf, *dir = NULL, *gid_str = NULL; wpas_ctrl_iface_open_sock() local 801 char *buf, *dir = NULL; wpa_supplicant_ctrl_iface_deinit() local 886 wpa_supplicant_ctrl_iface_send(struct wpa_supplicant *wpa_s, const char *ifname, int sock, struct dl_list *ctrl_dst, int level, const char *buf, size_t len, struct ctrl_iface_priv *priv, struct ctrl_iface_global_priv *gp) wpa_supplicant_ctrl_iface_send() argument 986 char buf[256]; wpa_supplicant_ctrl_iface_wait() local 1049 char buf[4096]; wpa_supplicant_global_ctrl_iface_receive() local [all...] |