Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/hs20/client/
Dest.c125 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/
Dhlr_auc_gw.c589 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/
Dctrl_iface.h32 char *buf, size_t *resp_len);
49 char *buf, size_t *resp_len);
Dgas_query.c520 u16 comeback_delay, resp_len; in gas_query_rx() local
622 resp_len = WPA_GET_LE16(pos); in gas_query_rx()
626 if (resp_len > left) { in gas_query_rx()
632 if (resp_len < left) { in gas_query_rx()
635 left - resp_len, MAC2STR(sa)); in gas_query_rx()
639 gas_query_rx_comeback(gas, query, adv_proto, pos, resp_len, in gas_query_rx()
642 gas_query_rx_initial(gas, query, adv_proto, pos, resp_len, in gas_query_rx()
Dctrl_iface.c7009 size_t resp_len, start, requested_len; in gas_response_get() local
7033 resp_len = wpabuf_len(resp); in gas_response_get()
7035 requested_len = resp_len; in gas_response_get()
7040 if (start > resp_len) in gas_response_get()
7047 if (start + requested_len > resp_len) in gas_response_get()
7057 if (start + requested_len == resp_len) { in gas_response_get()
9669 char *buf, size_t *resp_len) in wpa_supplicant_ctrl_iface_process() argument
9701 *resp_len = 1; in wpa_supplicant_ctrl_iface_process()
10488 *resp_len = reply_len; in wpa_supplicant_ctrl_iface_process()
10748 char *cmd, size_t *resp_len) in wpas_global_ctrl_iface_ifname() argument
[all …]
/external/wpa_supplicant_8/src/ap/
Dgas_query_ap.c471 u16 comeback_delay, resp_len; in gas_query_ap_rx() local
573 resp_len = WPA_GET_LE16(pos); in gas_query_ap_rx()
577 if (resp_len > left) { in gas_query_ap_rx()
583 if (resp_len < left) { in gas_query_ap_rx()
586 left - resp_len, MAC2STR(sa)); in gas_query_ap_rx()
590 gas_query_rx_comeback(gas, query, adv_proto, pos, resp_len, in gas_query_ap_rx()
593 gas_query_rx_initial(gas, query, adv_proto, pos, resp_len, in gas_query_ap_rx()
Dbeacon.c429 int is_p2p, size_t *resp_len) in hostapd_gen_probe_resp() argument
618 *resp_len = pos - (u8 *) resp; in hostapd_gen_probe_resp()
788 size_t i, resp_len; in handle_probe_req() local
997 &resp_len); in handle_probe_req()
1019 ret = hostapd_drv_send_mlme_csa(hapd, resp, resp_len, noack, in handle_probe_req()
1035 size_t *resp_len) in hostapd_probe_resp_offloads() argument
1066 return hostapd_gen_probe_resp(hapd, NULL, 0, resp_len); in hostapd_probe_resp_offloads()
1089 size_t resp_len = 0; in ieee802_11_build_ap_params() local
1307 resp = hostapd_probe_resp_offloads(hapd, &resp_len); in ieee802_11_build_ap_params()
1316 params->proberesp_len = resp_len; in ieee802_11_build_ap_params()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_client_read.c894 u32 resp_len; in tls_process_certificate_status() local
911 resp_len = WPA_GET_BE24(pos); in tls_process_certificate_status()
913 if (end - pos < resp_len) { in tls_process_certificate_status()
916 resp_len); in tls_process_certificate_status()
920 end = pos + resp_len; in tls_process_certificate_status()
923 resp_len = WPA_GET_BE24(pos); in tls_process_certificate_status()
925 if (resp_len > end - pos) { in tls_process_certificate_status()
928 resp_len, (int) (end - pos)); in tls_process_certificate_status()
932 if (!resp_len) in tls_process_certificate_status()
935 conn, pos - 3, resp_len + 3); in tls_process_certificate_status()
[all …]
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_cmds_basic.h230 int sg_mode_page_offset(const unsigned char * resp, int resp_len,
241 int sg_msense_calc_length(const unsigned char * resp, int resp_len,
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_basic2.c585 sg_mode_page_offset(const unsigned char * resp, int resp_len, in sg_mode_page_offset() argument
591 if ((NULL == resp) || (resp_len < 4)) in sg_mode_page_offset()
598 if (resp_len < 8) in sg_mode_page_offset()
616 "too short\n", (mode_sense_6 ? 6 : 10), resp_len); in sg_mode_page_offset()
629 sg_msense_calc_length(const unsigned char * resp, int resp_len, in sg_msense_calc_length() argument
637 if (resp_len < 4) in sg_msense_calc_length()
641 if (resp_len < 8) in sg_msense_calc_length()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl_ocsp.c490 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/utils/
Dhttp-utils.h56 size_t *resp_len);
Dhttp_curl.c1664 size_t *resp_len) in http_post() argument
1714 if (resp_len) in http_post()
1715 *resp_len = ctx->curl_buf_len; in http_post()
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/src/
DAla.cpp49 INT32 resp_len = 0; variable
1715 resp_len = recvlen; in ALA_ProcessResp()
2831 resp_len, LS_Cert); in Certificate_Verification()