/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | dpp_auth.c | 42 static void dpp_auth_success(struct dpp_authentication *auth) in dpp_auth_success() argument 46 os_memset(auth->Mx, 0, sizeof(auth->Mx)); in dpp_auth_success() 47 auth->Mx_len = 0; in dpp_auth_success() 48 os_memset(auth->Nx, 0, sizeof(auth->Nx)); in dpp_auth_success() 49 auth->Nx_len = 0; in dpp_auth_success() 50 os_memset(auth->Lx, 0, sizeof(auth->Lx)); in dpp_auth_success() 51 auth in dpp_auth_success() 59 dpp_auth_build_req(struct dpp_authentication *auth, const struct wpabuf *pi, size_t nonce_len, const u8 *r_pubkey_hash, const u8 *i_pubkey_hash, unsigned int neg_freq) dpp_auth_build_req() argument 233 dpp_auth_build_resp(struct dpp_authentication *auth, enum dpp_status_error status, const struct wpabuf *pr, size_t nonce_len, const u8 *r_pubkey_hash, const u8 *i_pubkey_hash, const u8 *r_nonce, const u8 *i_nonce, const u8 *wrapped_r_auth, size_t wrapped_r_auth_len, const u8 *siv_key) dpp_auth_build_resp() argument 418 dpp_auth_build_resp_ok(struct dpp_authentication *auth) dpp_auth_build_resp_ok() argument 602 dpp_auth_build_resp_status(struct dpp_authentication *auth, enum dpp_status_error status) dpp_auth_build_resp_status() argument 684 struct dpp_authentication *auth = NULL; dpp_auth_req_rx() local 936 dpp_notify_new_qr_code(struct dpp_authentication *auth, struct dpp_bootstrap_info *peer_bi) dpp_notify_new_qr_code() argument 956 dpp_auth_build_conf(struct dpp_authentication *auth, enum dpp_status_error status) dpp_auth_build_conf() argument 1134 dpp_autogen_bootstrap_key(struct dpp_authentication *auth) dpp_autogen_bootstrap_key() argument 1169 struct dpp_authentication *auth; dpp_auth_init() local 1305 dpp_auth_resp_rx_status(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len, const u8 *wrapped_data, u16 wrapped_data_len, enum dpp_status_error status) dpp_auth_resp_rx_status() argument 1403 dpp_auth_resp_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_auth_resp_rx() argument 1743 dpp_auth_conf_rx_failure(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len, const u8 *wrapped_data, u16 wrapped_data_len, enum dpp_status_error status) dpp_auth_conf_rx_failure() argument 1814 dpp_auth_conf_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_auth_conf_rx() argument [all...] |
H A D | dpp_reconfig.c | 130 static struct wpabuf * dpp_reconfig_build_req(struct dpp_authentication *auth) in dpp_reconfig_build_req() argument 136 attr_len = 4 + 1 + 4 + 1 + 4 + os_strlen(auth->conf->connector) + in dpp_reconfig_build_req() 137 4 + auth->curve->nonce_len; in dpp_reconfig_build_req() 145 wpabuf_put_u8(msg, auth->transaction_id); in dpp_reconfig_build_req() 154 wpabuf_put_le16(msg, os_strlen(auth->conf->connector)); in dpp_reconfig_build_req() 155 wpabuf_put_str(msg, auth->conf->connector); in dpp_reconfig_build_req() 159 wpabuf_put_le16(msg, auth->curve->nonce_len); in dpp_reconfig_build_req() 160 wpabuf_put_data(msg, auth->c_nonce, auth->curve->nonce_len); in dpp_reconfig_build_req() 227 struct dpp_authentication *auth; in dpp_reconfig_init() local 312 dpp_reconfig_build_resp(struct dpp_authentication *auth, const char *own_connector, struct wpabuf *conn_status) dpp_reconfig_build_resp() argument 429 struct dpp_authentication *auth = NULL; dpp_reconfig_auth_req_rx() local 557 dpp_reconfig_build_conf(struct dpp_authentication *auth) dpp_reconfig_build_conf() argument 648 dpp_reconfig_auth_resp_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_reconfig_auth_resp_rx() argument 833 dpp_reconfig_auth_conf_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_reconfig_auth_conf_rx() argument [all...] |
H A D | dpp.c | 42 void dpp_auth_fail(struct dpp_authentication *auth, const char *txt) in dpp_auth_fail() argument 44 wpa_msg(auth->msg_ctx, MSG_INFO, DPP_EVENT_FAIL "%s", txt); in dpp_auth_fail() 491 static int dpp_channel_intersect(struct dpp_authentication *auth, in dpp_channel_intersect() argument 495 struct dpp_bootstrap_info *peer_bi = auth->peer_bi; in dpp_channel_intersect() 500 if (freq_included(auth->freq, auth->num_freq, freq)) in dpp_channel_intersect() 503 auth->freq[auth->num_freq++] = freq; in dpp_channel_intersect() 505 if (!auth->num_freq) { in dpp_channel_intersect() 510 auth in dpp_channel_intersect() 515 dpp_channel_local_list(struct dpp_authentication *auth, struct hostapd_hw_modes *own_modes, u16 num_modes) dpp_channel_local_list() argument 555 dpp_prepare_channel_list(struct dpp_authentication *auth, unsigned int neg_freq, struct hostapd_hw_modes *own_modes, u16 num_modes) dpp_prepare_channel_list() argument 645 struct dpp_authentication *auth; dpp_alloc_auth() local 657 dpp_build_conf_req_attr(struct dpp_authentication *auth, const char *json) dpp_build_conf_req_attr() argument 784 dpp_build_conf_req(struct dpp_authentication *auth, const char *json) dpp_build_conf_req() argument 811 dpp_build_conf_req_helper(struct dpp_authentication *auth, const char *name, enum dpp_netrole netrole, const char *mud_url, int *opclasses) dpp_build_conf_req_helper() argument 994 dpp_configuration_parse_helper(struct dpp_authentication *auth, const char *cmd, int idx) dpp_configuration_parse_helper() argument 1137 dpp_configuration_parse(struct dpp_authentication *auth, const char *cmd) dpp_configuration_parse() argument 1189 dpp_set_configurator(struct dpp_authentication *auth, const char *cmd) dpp_set_configurator() argument 1248 dpp_auth_deinit(struct dpp_authentication *auth) dpp_auth_deinit() argument 1303 dpp_build_conf_start(struct dpp_authentication *auth, struct dpp_configuration *conf, size_t tailroom) dpp_build_conf_start() argument 1419 dpp_build_conf_obj_dpp(struct dpp_authentication *auth, struct dpp_configuration *conf) dpp_build_conf_obj_dpp() argument 1612 dpp_build_conf_obj_legacy(struct dpp_authentication *auth, struct dpp_configuration *conf) dpp_build_conf_obj_legacy() argument 1641 dpp_build_conf_obj(struct dpp_authentication *auth, enum dpp_netrole netrole, int idx, bool cert_req) dpp_build_conf_obj() argument 1695 dpp_build_conf_resp(struct dpp_authentication *auth, const u8 *e_nonce, u16 e_nonce_len, enum dpp_netrole netrole, bool cert_req) dpp_build_conf_resp() argument 1886 dpp_conf_req_rx(struct dpp_authentication *auth, const u8 *attr_start, size_t attr_len) dpp_conf_req_rx() argument 2308 dpp_parse_connector(struct dpp_authentication *auth, struct dpp_config_obj *conf, const unsigned char *payload, u16 payload_len) dpp_parse_connector() argument 2433 dpp_copy_netaccesskey(struct dpp_authentication *auth, struct dpp_config_obj *conf) dpp_copy_netaccesskey() argument 2455 dpp_parse_cred_dpp(struct dpp_authentication *auth, struct dpp_config_obj *conf, struct json_token *cred) dpp_parse_cred_dpp() argument 2550 dpp_parse_cred_dot1x(struct dpp_authentication *auth, struct dpp_config_obj *conf, struct json_token *cred) dpp_parse_cred_dot1x() argument 2708 dpp_parse_conf_obj(struct dpp_authentication *auth, const u8 *conf_obj, u16 conf_obj_len) dpp_parse_conf_obj() argument 2856 dpp_conf_resp_rx(struct dpp_authentication *auth, const struct wpabuf *resp) dpp_conf_resp_rx() argument 3005 dpp_conf_result_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_conf_result_rx() argument 3087 dpp_build_conf_result(struct dpp_authentication *auth, enum dpp_status_error status) dpp_build_conf_result() argument 3156 dpp_conn_status_result_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len, u8 *ssid, size_t *ssid_len, char **channel_list) dpp_conn_status_result_rx() argument 3303 dpp_build_conn_status_result(struct dpp_authentication *auth, enum dpp_status_error result, const u8 *ssid, size_t ssid_len, const char *channel_list) dpp_build_conn_status_result() argument 3475 dpp_configurator_own_config(struct dpp_authentication *auth, const char *curve, int ap) dpp_configurator_own_config() argument [all...] |
H A D | dpp_tcp.c | 27 struct dpp_authentication *auth; member 30 int (*process_conf_obj)(void *ctx, struct dpp_authentication *auth); 76 int (*process_conf_obj)(void *ctx, struct dpp_authentication *auth); 104 dpp_auth_deinit(conn->auth); in dpp_connection_free() 179 struct dpp_authentication *auth = conn->auth; in dpp_controller_gas_done() local 181 if (auth->waiting_csr) { in dpp_controller_gas_done() 187 if (auth->peer_version >= 2 && in dpp_controller_gas_done() 188 auth->conf_resp_status == DPP_STATUS_OK) { in dpp_controller_gas_done() 190 auth in dpp_controller_gas_done() 283 struct dpp_authentication *auth = conn->auth; dpp_controller_start_gas_client() local 304 struct dpp_authentication *auth = conn->auth; dpp_controller_auth_success() local 684 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_auth_resp() local 714 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_auth_conf() local 754 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_conf_result() local 794 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_conn_status_result() local 833 struct dpp_authentication *auth; dpp_controller_rx_presence_announcement() local 882 struct dpp_authentication *auth; dpp_controller_rx_reconfig_announcement() local 940 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_reconfig_auth_resp() local 1115 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_gas_req() local 1172 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_gas_comeback_req() local 1212 struct dpp_authentication *auth = conn->auth; dpp_tcp_build_csr() local 1232 struct dpp_authentication *auth = conn->auth; dpp_tcp_rx_gas_resp() local 1282 struct dpp_authentication *auth = conn->auth; dpp_tcp_gas_query_comeback() local 1566 dpp_tcp_init(struct dpp_global *dpp, struct dpp_authentication *auth, const struct hostapd_ip_addr *addr, int port, const char *name, enum dpp_netrole netrole, void *msg_ctx, void *cb_ctx, int (*process_conf_obj)(void *ctx, struct dpp_authentication *auth)) dpp_tcp_init() argument 1733 dpp_tcp_peer_id_match(struct dpp_authentication *auth, unsigned int id) dpp_tcp_peer_id_match() argument 1784 struct dpp_authentication *auth = conn->auth; dpp_controller_new_qr_code() local [all...] |
H A D | dpp_crypto.c | 423 int dpp_derive_bk_ke(struct dpp_authentication *auth) in dpp_derive_bk_ke() argument 425 unsigned int hash_len = auth->curve->hash_len; in dpp_derive_bk_ke() 426 size_t nonce_len = auth->curve->nonce_len; in dpp_derive_bk_ke() 434 if (!auth->Mx_len || !auth->Nx_len) { in dpp_derive_bk_ke() 441 os_memcpy(nonces, auth->i_nonce, nonce_len); in dpp_derive_bk_ke() 442 os_memcpy(&nonces[nonce_len], auth->r_nonce, nonce_len); in dpp_derive_bk_ke() 443 addr[num_elem] = auth->Mx; in dpp_derive_bk_ke() 444 len[num_elem] = auth->Mx_len; in dpp_derive_bk_ke() 446 addr[num_elem] = auth in dpp_derive_bk_ke() 865 dpp_gen_r_auth(struct dpp_authentication *auth, u8 *r_auth) dpp_gen_r_auth() argument 948 dpp_gen_i_auth(struct dpp_authentication *auth, u8 *i_auth) dpp_gen_i_auth() argument 1035 dpp_auth_derive_l_responder(struct dpp_authentication *auth) dpp_auth_derive_l_responder() argument 1077 dpp_auth_derive_l_initiator(struct dpp_authentication *auth) dpp_auth_derive_l_initiator() argument 1658 dpp_reconfig_derive_ke_responder(struct dpp_authentication *auth, const u8 *net_access_key, size_t net_access_key_len, struct json_token *peer_net_access_key) dpp_reconfig_derive_ke_responder() argument 1759 dpp_reconfig_derive_ke_initiator(struct dpp_authentication *auth, const u8 *r_proto, u16 r_proto_len, struct json_token *net_access_key) dpp_reconfig_derive_ke_initiator() argument 2053 dpp_build_csr(struct dpp_authentication *auth, const char *name) dpp_build_csr() argument 2123 dpp_validate_csr(struct dpp_authentication *auth, const struct wpabuf *csrbuf) dpp_validate_csr() argument [all...] |
H A D | dpp_i.h | 24 int (*process_conf_obj)(void *ctx, struct dpp_authentication *auth); 45 int dpp_prepare_channel_list(struct dpp_authentication *auth, 48 void dpp_auth_fail(struct dpp_authentication *auth, const char *txt); 56 struct wpabuf * dpp_build_enveloped_data(struct dpp_authentication *auth); 57 int dpp_conf_resp_env_data(struct dpp_authentication *auth, 103 int dpp_derive_bk_ke(struct dpp_authentication *auth); 104 int dpp_gen_r_auth(struct dpp_authentication *auth, u8 *r_auth); 105 int dpp_gen_i_auth(struct dpp_authentication *auth, u8 *i_auth); 106 int dpp_auth_derive_l_responder(struct dpp_authentication *auth); 107 int dpp_auth_derive_l_initiator(struct dpp_authentication *auth); [all...] |
H A D | dpp.h | 403 int (*process_conf_obj)(void *ctx, struct dpp_authentication *auth); 540 dpp_auth_resp_rx(struct dpp_authentication *auth, const u8 *hdr, 542 struct wpabuf * dpp_build_conf_req(struct dpp_authentication *auth, 544 struct wpabuf * dpp_build_conf_req_helper(struct dpp_authentication *auth, 548 int dpp_auth_conf_rx(struct dpp_authentication *auth, const u8 *hdr, 550 int dpp_notify_new_qr_code(struct dpp_authentication *auth, 560 int dpp_set_configurator(struct dpp_authentication *auth, const char *cmd); 561 void dpp_auth_deinit(struct dpp_authentication *auth); 563 dpp_build_conf_resp(struct dpp_authentication *auth, const u8 *e_nonce, 567 dpp_conf_req_rx(struct dpp_authentication *auth, cons [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | dpp_supplicant.c | 65 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_qr_code() local 71 if (auth && auth->response_pending && in wpas_dpp_qr_code() 72 dpp_notify_new_qr_code(auth, bi) == 1) { in wpas_dpp_qr_code() 77 MAC2STR(auth->peer_mac_addr), auth->curr_freq, in wpas_dpp_qr_code() 79 offchannel_send_action(wpa_s, auth->curr_freq, in wpas_dpp_qr_code() 80 auth->peer_mac_addr, wpa_s->own_addr, in wpas_dpp_qr_code() 82 wpabuf_head(auth->resp_msg), in wpas_dpp_qr_code() 83 wpabuf_len(auth in wpas_dpp_qr_code() 94 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_resp_retry_timeout() local 115 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_resp_retry() local 167 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_tx_status() local 252 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_reply_wait_timeout() local 315 wpas_dpp_set_testing_options(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth) wpas_dpp_set_testing_options() argument 347 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_init_next() local 437 struct dpp_authentication *auth; wpas_dpp_auth_init() local 811 wpas_dpp_add_network(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth) wpas_dpp_add_network() argument 910 wpas_dpp_process_config(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth) wpas_dpp_process_config() argument 949 wpas_dpp_handle_config_obj(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth) wpas_dpp_handle_config_obj() argument 1013 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_gas_resp_cb() local 1100 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_start_gas_client() local 1172 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_auth_resp() local 1228 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_auth_conf() local 1260 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_config_result_wait_timeout() local 1276 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_conf_result() local 1308 wpas_dpp_process_conf_obj(void *ctx, struct dpp_authentication *auth) wpas_dpp_process_conf_obj() argument 1876 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_gas_req_handler() local 1915 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_gas_status_handler() local 1962 struct dpp_authentication *auth; wpas_dpp_configurator_sign() local [all...] |
H A D | wpa_priv.c | 245 struct privsep_cmd_authenticate *auth; in wpa_priv_cmd_authenticate() local 251 if (len < sizeof(*auth)) { in wpa_priv_cmd_authenticate() 256 auth = buf; in wpa_priv_cmd_authenticate() 257 if (sizeof(*auth) + auth->ie_len + auth->auth_data_len > len) { in wpa_priv_cmd_authenticate() 263 params.freq = auth->freq; in wpa_priv_cmd_authenticate() 264 params.bssid = auth->bssid; in wpa_priv_cmd_authenticate() 265 params.ssid = auth->ssid; in wpa_priv_cmd_authenticate() 266 if (auth in wpa_priv_cmd_authenticate() 887 struct privsep_event_auth *auth; wpa_priv_send_auth() local [all...] |
H A D | ibss_rsn.c | 42 wpa_auth_sta_deinit(peer->auth); in ibss_rsn_free() 358 if (peer->auth && cb(peer->auth, cb_ctx)) in auth_for_each_sta() 455 peer->auth = wpa_auth_sta_init(ibss_rsn->auth_group, peer->addr, NULL); in ibss_rsn_auth_init() 456 if (peer->auth == NULL) { in ibss_rsn_auth_init() 462 if (wpa_validate_wpa_ie(ibss_rsn->auth_group, peer->auth, 0, in ibss_rsn_auth_init() 473 if (wpa_auth_sm_event(peer->auth, WPA_ASSOC)) in ibss_rsn_auth_init() 476 if (wpa_auth_sta_associated(ibss_rsn->auth_group, peer->auth)) in ibss_rsn_auth_init() 485 struct ieee80211_mgmt auth; in ibss_rsn_send_auth() local 486 const size_t auth_length = IEEE80211_HDRLEN + sizeof(auth in ibss_rsn_send_auth() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | dpp_supplicant.c | 55 struct dpp_authentication *auth); 74 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_qr_code() local 80 if (auth && auth->response_pending && in wpas_dpp_qr_code() 81 dpp_notify_new_qr_code(auth, bi) == 1) { in wpas_dpp_qr_code() 86 MAC2STR(auth->peer_mac_addr), auth->curr_freq, in wpas_dpp_qr_code() 88 offchannel_send_action(wpa_s, auth->curr_freq, in wpas_dpp_qr_code() 89 auth->peer_mac_addr, wpa_s->own_addr, in wpas_dpp_qr_code() 91 wpabuf_head(auth in wpas_dpp_qr_code() 192 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_resp_retry_timeout() local 213 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_resp_retry() local 295 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_conn_status_result_timeout() local 370 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_send_conn_status_result() local 417 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_connected() local 433 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_tx_status() local 547 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_reply_wait_timeout() local 613 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_conf_wait_timeout() local 627 wpas_dpp_set_testing_options(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth) wpas_dpp_set_testing_options() argument 659 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_init_next() local 751 struct dpp_authentication *auth; wpas_dpp_auth_init() local 1171 wpas_dpp_add_network(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth, struct dpp_config_obj *conf) wpas_dpp_add_network() argument 1382 wpas_dpp_process_config(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth, struct dpp_config_obj *conf) wpas_dpp_process_config() argument 1409 wpas_dpp_post_process_config(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth) wpas_dpp_post_process_config() argument 1442 wpas_dpp_handle_config_obj(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth, struct dpp_config_obj *conf) wpas_dpp_handle_config_obj() argument 1594 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_build_csr() local 1622 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_gas_resp_cb() local 1730 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_start_gas_client() local 1794 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_auth_resp() local 1850 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_auth_conf() local 1884 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_config_result_wait_timeout() local 1901 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_conn_status_result_wait_timeout() local 1918 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_conf_result() local 1984 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_conn_status_result() local 2018 wpas_dpp_process_conf_obj(void *ctx, struct dpp_authentication *auth) wpas_dpp_process_conf_obj() argument 2055 struct dpp_authentication *auth; wpas_dpp_rx_presence_announcement() local 2115 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_reconfig_reply_wait_timeout() local 2136 struct dpp_authentication *auth; wpas_dpp_rx_reconfig_announcement() local 2227 struct dpp_authentication *auth; wpas_dpp_rx_reconfig_auth_req() local 2285 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_reconfig_auth_resp() local 2330 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_reconfig_auth_conf() local 2974 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_gas_req_handler() local 3024 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_gas_status_handler() local 3081 struct dpp_authentication *auth; wpas_dpp_configurator_sign() local 3896 wpas_dpp_build_conf_resp(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth, bool tcp) wpas_dpp_build_conf_resp() argument 3927 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_ca_set() local [all...] |
H A D | wpa_priv.c | 245 struct privsep_cmd_authenticate *auth; in wpa_priv_cmd_authenticate() local 251 if (len < sizeof(*auth)) { in wpa_priv_cmd_authenticate() 256 auth = buf; in wpa_priv_cmd_authenticate() 257 if (sizeof(*auth) + auth->ie_len + auth->auth_data_len > len) { in wpa_priv_cmd_authenticate() 263 params.freq = auth->freq; in wpa_priv_cmd_authenticate() 264 params.bssid = auth->bssid; in wpa_priv_cmd_authenticate() 265 params.ssid = auth->ssid; in wpa_priv_cmd_authenticate() 266 if (auth in wpa_priv_cmd_authenticate() 896 struct privsep_event_auth *auth; wpa_priv_send_auth() local [all...] |
H A D | ibss_rsn.c | 42 wpa_auth_sta_deinit(peer->auth); in ibss_rsn_free() 389 if (peer->auth && cb(peer->auth, cb_ctx)) in auth_for_each_sta() 486 peer->auth = wpa_auth_sta_init(ibss_rsn->auth_group, peer->addr, NULL); in ibss_rsn_auth_init() 487 if (peer->auth == NULL) { in ibss_rsn_auth_init() 493 if (wpa_validate_wpa_ie(ibss_rsn->auth_group, peer->auth, 0, in ibss_rsn_auth_init() 504 if (wpa_auth_sm_event(peer->auth, WPA_ASSOC)) in ibss_rsn_auth_init() 507 if (wpa_auth_sta_associated(ibss_rsn->auth_group, peer->auth)) in ibss_rsn_auth_init() 516 struct ieee80211_mgmt auth; in ibss_rsn_send_auth() local 517 const size_t auth_length = IEEE80211_HDRLEN + sizeof(auth in ibss_rsn_send_auth() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | dpp_hostapd.c | 35 struct dpp_authentication *auth, 51 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_qr_code() local 57 if (auth && auth->response_pending && in hostapd_dpp_qr_code() 58 dpp_notify_new_qr_code(auth, bi) == 1) { in hostapd_dpp_qr_code() 63 MAC2STR(auth->peer_mac_addr), auth->curr_freq, in hostapd_dpp_qr_code() 65 hostapd_drv_send_action(hapd, auth->curr_freq, 0, in hostapd_dpp_qr_code() 66 auth->peer_mac_addr, in hostapd_dpp_qr_code() 166 struct dpp_authentication *auth in hostapd_dpp_auth_resp_retry_timeout() local 185 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_auth_resp_retry() local 222 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_tx_status() local 326 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_reply_wait_timeout() local 399 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_auth_conf_wait_timeout() local 414 hostapd_dpp_set_testing_options(struct hostapd_data *hapd, struct dpp_authentication *auth) hostapd_dpp_set_testing_options() argument 445 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_auth_init_next() local 533 hostapd_dpp_process_conf_obj(void *ctx, struct dpp_authentication *auth) hostapd_dpp_process_conf_obj() argument 552 struct dpp_authentication *auth; hostapd_dpp_auth_init() local 804 hostapd_dpp_handle_config_obj(struct hostapd_data *hapd, struct dpp_authentication *auth, struct dpp_config_obj *conf) hostapd_dpp_handle_config_obj() argument 913 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_gas_resp_cb() local 996 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_start_gas_client() local 1051 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_auth_resp() local 1103 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_auth_conf() local 1135 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_config_result_wait_timeout() local 1152 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_conn_status_result_wait_timeout() local 1169 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_conf_result() local 1221 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_conn_status_result() local 1263 struct dpp_authentication *auth; hostapd_dpp_rx_presence_announcement() local 1328 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_reconfig_reply_wait_timeout() local 1348 struct dpp_authentication *auth; hostapd_dpp_rx_reconfig_announcement() local 1439 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_reconfig_auth_resp() local 2030 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_gas_req_handler() local 2073 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_gas_status_handler() local 2111 struct dpp_authentication *auth; hostapd_dpp_configurator_sign() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | dpp.c | 81 struct dpp_authentication *auth; member 130 int (*process_conf_obj)(void *ctx, struct dpp_authentication *auth); 698 static void dpp_auth_fail(struct dpp_authentication *auth, const char *txt) in dpp_auth_fail() argument 700 wpa_msg(auth->msg_ctx, MSG_INFO, DPP_EVENT_FAIL "%s", txt); in dpp_auth_fail() 1576 static int dpp_derive_ke(struct dpp_authentication *auth, u8 *ke, in dpp_derive_ke() argument 1588 if (!auth->Mx_len || !auth->Nx_len) { in dpp_derive_ke() 1597 nonce_len = auth->curve->nonce_len; in dpp_derive_ke() 1598 os_memcpy(nonces, auth->i_nonce, nonce_len); in dpp_derive_ke() 1599 os_memcpy(&nonces[nonce_len], auth in dpp_derive_ke() 1669 dpp_auth_build_req(struct dpp_authentication *auth, const struct wpabuf *pi, size_t nonce_len, const u8 *r_pubkey_hash, const u8 *i_pubkey_hash, unsigned int neg_freq) dpp_auth_build_req() argument 1841 dpp_auth_build_resp(struct dpp_authentication *auth, enum dpp_status_error status, const struct wpabuf *pr, size_t nonce_len, const u8 *r_pubkey_hash, const u8 *i_pubkey_hash, const u8 *r_nonce, const u8 *i_nonce, const u8 *wrapped_r_auth, size_t wrapped_r_auth_len, const u8 *siv_key) dpp_auth_build_resp() argument 2077 dpp_channel_intersect(struct dpp_authentication *auth, struct hostapd_hw_modes *own_modes, u16 num_modes) dpp_channel_intersect() argument 2101 dpp_channel_local_list(struct dpp_authentication *auth, struct hostapd_hw_modes *own_modes, u16 num_modes) dpp_channel_local_list() argument 2141 dpp_prepare_channel_list(struct dpp_authentication *auth, struct hostapd_hw_modes *own_modes, u16 num_modes) dpp_prepare_channel_list() argument 2181 dpp_autogen_bootstrap_key(struct dpp_authentication *auth) dpp_autogen_bootstrap_key() argument 2228 struct dpp_authentication *auth; dpp_auth_init() local 2361 dpp_build_conf_req_attr(struct dpp_authentication *auth, const char *json) dpp_build_conf_req_attr() argument 2488 dpp_build_conf_req(struct dpp_authentication *auth, const char *json) dpp_build_conf_req() argument 2515 dpp_auth_success(struct dpp_authentication *auth) dpp_auth_success() argument 2532 dpp_gen_r_auth(struct dpp_authentication *auth, u8 *r_auth) dpp_gen_r_auth() argument 2611 dpp_gen_i_auth(struct dpp_authentication *auth, u8 *i_auth) dpp_gen_i_auth() argument 2694 dpp_auth_derive_l_responder(struct dpp_authentication *auth) dpp_auth_derive_l_responder() argument 2761 dpp_auth_derive_l_initiator(struct dpp_authentication *auth) dpp_auth_derive_l_initiator() argument 2822 dpp_auth_build_resp_ok(struct dpp_authentication *auth) dpp_auth_build_resp_ok() argument 3006 dpp_auth_build_resp_status(struct dpp_authentication *auth, enum dpp_status_error status) dpp_auth_build_resp_status() argument 3089 struct dpp_authentication *auth = NULL; dpp_auth_req_rx() local 3340 dpp_notify_new_qr_code(struct dpp_authentication *auth, struct dpp_bootstrap_info *peer_bi) dpp_notify_new_qr_code() argument 3360 dpp_auth_build_conf(struct dpp_authentication *auth, enum dpp_status_error status) dpp_auth_build_conf() argument 3539 dpp_auth_resp_rx_status(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len, const u8 *wrapped_data, u16 wrapped_data_len, enum dpp_status_error status) dpp_auth_resp_rx_status() argument 3637 dpp_auth_resp_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_auth_resp_rx() argument 3969 dpp_auth_conf_rx_failure(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len, const u8 *wrapped_data, u16 wrapped_data_len, enum dpp_status_error status) dpp_auth_conf_rx_failure() argument 4040 dpp_auth_conf_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_auth_conf_rx() argument 4302 dpp_configuration_parse(struct dpp_authentication *auth, const char *cmd) dpp_configuration_parse() argument 4427 dpp_set_configurator(struct dpp_global *dpp, void *msg_ctx, struct dpp_authentication *auth, const char *cmd) dpp_set_configurator() argument 4458 dpp_auth_deinit(struct dpp_authentication *auth) dpp_auth_deinit() argument 4483 dpp_build_conf_start(struct dpp_authentication *auth, struct dpp_configuration *conf, size_t tailroom) dpp_build_conf_start() argument 4583 dpp_build_conf_obj_dpp(struct dpp_authentication *auth, int ap, struct dpp_configuration *conf) dpp_build_conf_obj_dpp() argument 4797 dpp_build_conf_obj_legacy(struct dpp_authentication *auth, int ap, struct dpp_configuration *conf) dpp_build_conf_obj_legacy() argument 4818 dpp_build_conf_obj(struct dpp_authentication *auth, int ap) dpp_build_conf_obj() argument 4845 dpp_build_conf_resp(struct dpp_authentication *auth, const u8 *e_nonce, u16 e_nonce_len, int ap) dpp_build_conf_resp() argument 4974 dpp_conf_req_rx(struct dpp_authentication *auth, const u8 *attr_start, size_t attr_len) dpp_conf_req_rx() argument 5180 dpp_parse_cred_legacy(struct dpp_authentication *auth, struct json_token *cred) dpp_parse_cred_legacy() argument 5385 dpp_parse_connector(struct dpp_authentication *auth, const unsigned char *payload, u16 payload_len) dpp_parse_connector() argument 5513 dpp_copy_csign(struct dpp_authentication *auth, EVP_PKEY *csign) dpp_copy_csign() argument 5527 dpp_copy_netaccesskey(struct dpp_authentication *auth) dpp_copy_netaccesskey() argument 5720 dpp_parse_cred_dpp(struct dpp_authentication *auth, struct json_token *cred) dpp_parse_cred_dpp() argument 5832 dpp_parse_conf_obj(struct dpp_authentication *auth, const u8 *conf_obj, u16 conf_obj_len) dpp_parse_conf_obj() argument 5912 dpp_conf_resp_rx(struct dpp_authentication *auth, const struct wpabuf *resp) dpp_conf_resp_rx() argument 6013 dpp_conf_result_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_conf_result_rx() argument 6096 dpp_build_conf_result(struct dpp_authentication *auth, enum dpp_status_error status) dpp_build_conf_result() argument 6249 dpp_configurator_own_config(struct dpp_authentication *auth, const char *curve, int ap) dpp_configurator_own_config() argument 8880 struct dpp_authentication *auth = conn->auth; dpp_controller_gas_done() local 8952 struct dpp_authentication *auth = conn->auth; dpp_controller_start_gas_client() local 9004 struct dpp_authentication *auth = conn->auth; dpp_controller_auth_success() local 9385 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_auth_resp() local 9435 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_auth_conf() local 9459 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_conf_result() local 9548 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_gas_req() local 9623 struct dpp_authentication *auth = conn->auth; dpp_tcp_rx_gas_resp() local 9908 dpp_tcp_init(struct dpp_global *dpp, struct dpp_authentication *auth, const struct hostapd_ip_addr *addr, int port) dpp_tcp_init() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | dpp_hostapd.c | 41 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_qr_code() local 47 if (auth && auth->response_pending && in hostapd_dpp_qr_code() 48 dpp_notify_new_qr_code(auth, bi) == 1) { in hostapd_dpp_qr_code() 53 MAC2STR(auth->peer_mac_addr), auth->curr_freq, in hostapd_dpp_qr_code() 55 hostapd_drv_send_action(hapd, auth->curr_freq, 0, in hostapd_dpp_qr_code() 56 auth->peer_mac_addr, in hostapd_dpp_qr_code() 69 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_auth_resp_retry_timeout() local 71 if (!auth || !aut in hostapd_dpp_auth_resp_retry_timeout() 88 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_auth_resp_retry() local 125 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_tx_status() local 212 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_reply_wait_timeout() local 281 hostapd_dpp_set_testing_options(struct hostapd_data *hapd, struct dpp_authentication *auth) hostapd_dpp_set_testing_options() argument 312 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_auth_init_next() local 609 hostapd_dpp_handle_config_obj(struct hostapd_data *hapd, struct dpp_authentication *auth) hostapd_dpp_handle_config_obj() argument 687 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_gas_resp_cb() local 766 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_start_gas_client() local 828 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_auth_resp() local 880 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_auth_conf() local 912 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_config_result_wait_timeout() local 928 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_conf_result() local 1431 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_gas_req_handler() local 1461 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_gas_status_handler() local 1496 struct dpp_authentication *auth; hostapd_dpp_configurator_sign() local [all...] |
/third_party/node/deps/npm/node_modules/npm-registry-fetch/lib/ |
H A D | check-response.js | 10 const moreInfoUrl = 'https://github.com/npm/cli/wiki/No-auth-for-URI,-but-auth-present-for-scoped-registry' 12 async ({ method, uri, res, startTime, auth, opts }) => { 20 if (auth && auth.scopeAuthKey && !auth.token && !auth.auth) { 21 // we didn't have auth for THIS request, but we do have auth fo [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
H A D | networkconfig.cpp | 72 int auth, encr = 0; in paramsFromScanResults() local 74 auth = AUTH_WPA2_EAP; in paramsFromScanResults() 76 auth = AUTH_WPA_EAP; in paramsFromScanResults() 78 auth = AUTH_WPA2_PSK; in paramsFromScanResults() 80 auth = AUTH_WPA_PSK; in paramsFromScanResults() 82 auth = AUTH_NONE_OPEN; in paramsFromScanResults() 90 if (auth == AUTH_NONE_OPEN) in paramsFromScanResults() 91 auth = AUTH_NONE_WEP; in paramsFromScanResults() 95 authSelect->setCurrentIndex(auth); in paramsFromScanResults() 96 authChanged(auth); in paramsFromScanResults() 191 int auth = authSelect->currentIndex(); addNetwork() local 534 int auth = AUTH_NONE_OPEN, encr = 0; paramsFromConfig() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/ |
H A D | networkconfig.cpp | 72 int auth, encr = 0; in paramsFromScanResults() local 74 auth = AUTH_WPA2_EAP; in paramsFromScanResults() 76 auth = AUTH_WPA_EAP; in paramsFromScanResults() 78 auth = AUTH_WPA2_PSK; in paramsFromScanResults() 80 auth = AUTH_WPA_PSK; in paramsFromScanResults() 82 auth = AUTH_NONE_OPEN; in paramsFromScanResults() 90 if (auth == AUTH_NONE_OPEN) in paramsFromScanResults() 91 auth = AUTH_NONE_WEP; in paramsFromScanResults() 95 authSelect->setCurrentIndex(auth); in paramsFromScanResults() 96 authChanged(auth); in paramsFromScanResults() 191 int auth = authSelect->currentIndex(); addNetwork() local 534 int auth = AUTH_NONE_OPEN, encr = 0; paramsFromConfig() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-url-parse-format.js | 101 auth: 'user:pw', 112 auth: 'USER:PW', 123 auth: 'user', 134 auth: 'user:pw', 282 auth: 'user:pass', 362 auth: 'user:pass', 376 auth: 'user:pass', 409 auth: 'foo', 427 auth: 'isaacschlueter', 436 auth [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | aes-ccm.c | 117 static void aes_ccm_encr_auth(void *aes, size_t M, u8 *x, u8 *a, u8 *auth) in aes_ccm_encr_auth() argument 127 auth[i] = x[i] ^ tmp[i]; in aes_ccm_encr_auth() 128 wpa_hexdump_key(MSG_EXCESSIVE, "CCM U", auth, M); in aes_ccm_encr_auth() 132 static void aes_ccm_decr_auth(void *aes, size_t M, u8 *a, const u8 *auth, u8 *t) in aes_ccm_decr_auth() argument 137 wpa_hexdump_key(MSG_EXCESSIVE, "CCM U", auth, M); in aes_ccm_decr_auth() 142 t[i] = auth[i] ^ tmp[i]; in aes_ccm_decr_auth() 150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) in aes_ccm_ae() 169 aes_ccm_encr_auth(aes, M, x, a, auth); in aes_ccm_ae() 180 const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) in aes_ccm_ad() 196 aes_ccm_decr_auth(aes, M, a, auth, in aes_ccm_ad() 148 aes_ccm_ae(const u8 *key, size_t key_len, const u8 *nonce, size_t M, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) aes_ccm_ae() argument 178 aes_ccm_ad(const u8 *key, size_t key_len, const u8 *nonce, size_t M, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) aes_ccm_ad() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | aes-ccm.c | 117 static void aes_ccm_encr_auth(void *aes, size_t M, u8 *x, u8 *a, u8 *auth) in aes_ccm_encr_auth() argument 127 auth[i] = x[i] ^ tmp[i]; in aes_ccm_encr_auth() 128 wpa_hexdump_key(MSG_EXCESSIVE, "CCM U", auth, M); in aes_ccm_encr_auth() 132 static void aes_ccm_decr_auth(void *aes, size_t M, u8 *a, const u8 *auth, u8 *t) in aes_ccm_decr_auth() argument 137 wpa_hexdump_key(MSG_EXCESSIVE, "CCM U", auth, M); in aes_ccm_decr_auth() 142 t[i] = auth[i] ^ tmp[i]; in aes_ccm_decr_auth() 150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) in aes_ccm_ae() 169 aes_ccm_encr_auth(aes, M, x, a, auth); in aes_ccm_ae() 180 const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) in aes_ccm_ad() 196 aes_ccm_decr_auth(aes, M, a, auth, in aes_ccm_ad() 148 aes_ccm_ae(const u8 *key, size_t key_len, const u8 *nonce, size_t M, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) aes_ccm_ae() argument 178 aes_ccm_ad(const u8 *key, size_t key_len, const u8 *nonce, size_t M, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) aes_ccm_ad() argument [all...] |
/third_party/node/deps/npm/node_modules/hosted-git-info/lib/ |
H A D | index.js | 11 constructor (type, user, auth, project, committish, defaultRepresentation, opts = {}) { 15 auth, 27 'git+https:': { name: 'https', auth: true }, 28 'git:': { auth: true }, 29 'http:': { auth: true }, 30 'https:': { auth: true }, 31 'git+http:': { auth: true },
|
/third_party/node/lib/ |
H A D | url.js | 73 this.auth = null; 161 // - '@' since this could cause parts of the hostname to be confused with auth 348 // auth portion cannot go past, or the last @ char is the decider. 358 this.auth = decodeURIComponent(rest.slice(0, atSign)); 578 let auth = true; 595 if (options.auth != null) { 596 auth = Boolean(options.auth); 600 return bindingUrl.format(urlObject.href, fragment, unicode, search, auth); 624 let auth [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | icecast.c | 92 char h_url[1024], host[1024], auth[1024], path[1024]; in icecast_open() local 129 av_url_split(NULL, 0, auth, sizeof(auth), host, sizeof(host), in icecast_open() 132 // Check for auth data in URI in icecast_open() 133 if (auth[0]) { in icecast_open() 134 char *sep = strchr(auth, ':'); in icecast_open() 147 if (!(user = av_strdup(auth))) { in icecast_open() 154 snprintf(auth, sizeof(auth), in icecast_open() 169 auth, hos in icecast_open() [all...] |