/external/wpa_supplicant_8/hs20/client/ |
D | est.c | 125 size_t pkcs7_len, resp_len; in est_load_cacerts() local 153 resp = os_readfile("Cert/est-cacerts.txt", &resp_len); in est_load_cacerts() 160 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len); in est_load_cacerts() 161 if (pkcs7 && pkcs7_len < resp_len / 2) { in est_load_cacerts() 163 (unsigned int) pkcs7_len, (unsigned int) resp_len); in est_load_cacerts() 169 pkcs7 = os_malloc(resp_len); in est_load_cacerts() 171 os_memcpy(pkcs7, resp, resp_len); in est_load_cacerts() 172 pkcs7_len = resp_len; in est_load_cacerts() 617 size_t resp_len; in est_build_csr() local 623 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len); in est_build_csr() [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | hlr_auc_gw.c | 589 static int sim_req_auth(char *imsi, char *resp, size_t resp_len) in sim_req_auth() argument 608 rend = resp + resp_len; in sim_req_auth() 662 static int gsm_auth_req(char *imsi, char *resp, size_t resp_len) in gsm_auth_req() argument 675 rend = resp + resp_len; in gsm_auth_req() 734 static int aka_req_auth(char *imsi, char *resp, size_t resp_len) in aka_req_auth() argument 785 end = resp + resp_len; in aka_req_auth() 811 static int aka_auts(char *imsi, char *resp, size_t resp_len) in aka_auts() argument 866 static int process_cmd(char *cmd, char *resp, size_t resp_len) in process_cmd() argument 869 return sim_req_auth(cmd + 13, resp, resp_len); in process_cmd() 872 return gsm_auth_req(cmd + 13, resp, resp_len); in process_cmd() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface.h | 32 char *buf, size_t *resp_len); 49 char *buf, size_t *resp_len);
|
D | gas_query.c | 495 u16 comeback_delay, resp_len; in gas_query_rx() local 597 resp_len = WPA_GET_LE16(pos); in gas_query_rx() 601 if (resp_len > left) { in gas_query_rx() 607 if (resp_len < left) { in gas_query_rx() 610 left - resp_len, MAC2STR(sa)); in gas_query_rx() 614 gas_query_rx_comeback(gas, query, adv_proto, pos, resp_len, in gas_query_rx() 617 gas_query_rx_initial(gas, query, adv_proto, pos, resp_len, in gas_query_rx()
|
D | ctrl_iface.c | 6455 size_t resp_len, start, requested_len; in gas_response_get() local 6479 resp_len = wpabuf_len(resp); in gas_response_get() 6481 requested_len = resp_len; in gas_response_get() 6486 if (start > resp_len) in gas_response_get() 6493 if (start + requested_len > resp_len) in gas_response_get() 6503 if (start + requested_len == resp_len) { in gas_response_get() 8409 char *buf, size_t *resp_len) in wpa_supplicant_ctrl_iface_process() argument 8437 *resp_len = 1; in wpa_supplicant_ctrl_iface_process() 9108 *resp_len = reply_len; in wpa_supplicant_ctrl_iface_process() 9368 char *cmd, size_t *resp_len) in wpas_global_ctrl_iface_ifname() argument [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_read.c | 897 u32 resp_len; in tls_process_certificate_status() local 914 resp_len = WPA_GET_BE24(pos); in tls_process_certificate_status() 916 if (end - pos < resp_len) { in tls_process_certificate_status() 919 resp_len); in tls_process_certificate_status() 923 end = pos + resp_len; in tls_process_certificate_status() 926 resp_len = WPA_GET_BE24(pos); in tls_process_certificate_status() 928 if (resp_len > end - pos) { in tls_process_certificate_status() 931 resp_len, (int) (end - pos)); in tls_process_certificate_status() 935 if (!resp_len) in tls_process_certificate_status() 938 conn, pos - 3, resp_len + 3); in tls_process_certificate_status() [all …]
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl_ocsp.c | 490 size_t resp_len; in check_ocsp_resp() local 519 SSL_get0_ocsp_response(ssl, &resp_data, &resp_len); in check_ocsp_resp() 520 if (resp_data == NULL || resp_len == 0) { in check_ocsp_resp() 525 wpa_hexdump(MSG_DEBUG, "OpenSSL: OCSP response", resp_data, resp_len); in check_ocsp_resp() 527 resp = d2i_OCSPResponse(NULL, &resp_data, resp_len); in check_ocsp_resp()
|
/external/wpa_supplicant_8/src/ap/ |
D | beacon.c | 364 int is_p2p, size_t *resp_len) in hostapd_gen_probe_resp() argument 532 *resp_len = pos - (u8 *) resp; in hostapd_gen_probe_resp() 681 size_t i, resp_len; in handle_probe_req() local 875 &resp_len); in handle_probe_req() 897 ret = hostapd_drv_send_mlme_csa(hapd, resp, resp_len, noack, in handle_probe_req() 913 size_t *resp_len) in hostapd_probe_resp_offloads() argument 944 return hostapd_gen_probe_resp(hapd, NULL, 0, resp_len); in hostapd_probe_resp_offloads() 957 size_t resp_len = 0; in ieee802_11_build_ap_params() local 1153 resp = hostapd_probe_resp_offloads(hapd, &resp_len); in ieee802_11_build_ap_params() 1162 params->proberesp_len = resp_len; in ieee802_11_build_ap_params()
|
/external/wpa_supplicant_8/src/utils/ |
D | http-utils.h | 56 size_t *resp_len);
|
D | http_curl.c | 1648 size_t *resp_len) in http_post() argument 1698 if (resp_len) in http_post() 1699 *resp_len = ctx->curl_buf_len; in http_post()
|