Home
last modified time | relevance | path

Searched refs:resp_len (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/hs20/client/
Dest.c100 size_t pkcs7_len, resp_len; in est_load_cacerts() local
128 resp = os_readfile("Cert/est-cacerts.txt", &resp_len); in est_load_cacerts()
135 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len); in est_load_cacerts()
136 if (pkcs7 && pkcs7_len < resp_len / 2) { in est_load_cacerts()
138 (unsigned int) pkcs7_len, (unsigned int) resp_len); in est_load_cacerts()
144 pkcs7 = os_malloc(resp_len); in est_load_cacerts()
146 os_memcpy(pkcs7, resp, resp_len); in est_load_cacerts()
147 pkcs7_len = resp_len; in est_load_cacerts()
569 size_t resp_len; in est_build_csr() local
575 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len); in est_build_csr()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.h32 char *buf, size_t *resp_len);
49 char *buf, size_t *resp_len);
Dgas_query.c442 u16 comeback_delay, resp_len; in gas_query_rx() local
544 resp_len = WPA_GET_LE16(pos); in gas_query_rx()
548 if (resp_len > left) { in gas_query_rx()
554 if (resp_len < left) { in gas_query_rx()
557 left - resp_len, MAC2STR(sa)); in gas_query_rx()
561 gas_query_rx_comeback(gas, query, adv_proto, pos, resp_len, in gas_query_rx()
564 gas_query_rx_initial(gas, query, adv_proto, pos, resp_len, in gas_query_rx()
Dctrl_iface.c6198 size_t resp_len, start, requested_len; in gas_response_get() local
6222 resp_len = wpabuf_len(resp); in gas_response_get()
6224 requested_len = resp_len; in gas_response_get()
6229 if (start > resp_len) in gas_response_get()
6236 if (start + requested_len > resp_len) in gas_response_get()
6246 if (start + requested_len == resp_len) { in gas_response_get()
7943 char *buf, size_t *resp_len) in wpa_supplicant_ctrl_iface_process() argument
7973 *resp_len = 1; in wpa_supplicant_ctrl_iface_process()
8610 *resp_len = reply_len; in wpa_supplicant_ctrl_iface_process()
8843 char *cmd, size_t *resp_len) in wpas_global_ctrl_iface_ifname() argument
[all …]
/external/wpa_supplicant_8/hostapd/
Dhlr_auc_gw.c643 static int sim_req_auth(char *imsi, char *resp, size_t resp_len) in sim_req_auth() argument
662 rend = resp + resp_len; in sim_req_auth()
716 static int gsm_auth_req(char *imsi, char *resp, size_t resp_len) in gsm_auth_req() argument
729 rend = resp + resp_len; in gsm_auth_req()
788 static int aka_req_auth(char *imsi, char *resp, size_t resp_len) in aka_req_auth() argument
839 end = resp + resp_len; in aka_req_auth()
865 static int aka_auts(char *imsi, char *resp, size_t resp_len) in aka_auts() argument
920 static int process_cmd(char *cmd, char *resp, size_t resp_len) in process_cmd() argument
923 return sim_req_auth(cmd + 13, resp, resp_len); in process_cmd()
926 return gsm_auth_req(cmd + 13, resp, resp_len); in process_cmd()
[all …]
/external/wpa_supplicant_8/src/ap/
Dbeacon.c364 int is_p2p, size_t *resp_len) in hostapd_gen_probe_resp() argument
497 *resp_len = pos - (u8 *) resp; in hostapd_gen_probe_resp()
550 size_t i, resp_len; in handle_probe_req() local
716 &resp_len); in handle_probe_req()
727 if (hostapd_drv_send_mlme(hapd, resp, resp_len, noack) < 0) in handle_probe_req()
739 size_t *resp_len) in hostapd_probe_resp_offloads() argument
770 return hostapd_gen_probe_resp(hapd, NULL, 0, resp_len); in hostapd_probe_resp_offloads()
783 size_t resp_len = 0; in ieee802_11_build_ap_params() local
944 resp = hostapd_probe_resp_offloads(hapd, &resp_len); in ieee802_11_build_ap_params()
953 params->proberesp_len = resp_len; in ieee802_11_build_ap_params()
/external/wpa_supplicant_8/src/utils/
Dhttp-utils.h56 size_t *resp_len);
Dhttp_curl.c1576 size_t *resp_len) in http_post() argument
1626 if (resp_len) in http_post()
1627 *resp_len = ctx->curl_buf_len; in http_post()