Home
last modified time | relevance | path

Searched refs:req_buf (Results 1 – 5 of 5) sorted by relevance

/external/epid-sdk/tools/revokesig/src/
Dmain.c84 uint8_t* req_buf, size_t req_size, SigRlRequestTop* req_top);
260 uint8_t* req_buf, size_t req_size, SigRlRequestTop* req_top) { in FillRequest() argument
265 (SigRlRequestMid*)(req_buf + req_size - req_mid_size); in FillRequest()
267 if (!pubkey || !sig || !req_buf || !req_top || (!msg_str && 0 != msg_size)) { in FillRequest()
305 uint8_t* req_buf = NULL; in MakeRequest() local
389 req_buf = AllocBuffer(req_size); in MakeRequest()
390 if (!req_buf) { in MakeRequest()
396 if (0 != ReadLoud(req_file, req_buf, req_file_size)) { in MakeRequest()
402 req_top = (SigRlRequestTop*)(req_buf + req_file_size); in MakeRequest()
404 FillRequest(&pubkey, sig, sig_size, msg_str, msg_size, req_buf, req_size, in MakeRequest()
[all …]
/external/epid-sdk/tools/revokekey/src/
Dmain.c124 uint8_t* req_buf = NULL; in MakeRequest() local
179 req_buf = AllocBuffer(req_size); in MakeRequest()
180 if (!req_buf) { in MakeRequest()
187 if (0 != ReadLoud(req_file, req_buf, req_file_size)) { in MakeRequest()
193 if (0 == memcmp(req_buf + entry_size * i + sizeof(EpidFileHeader), in MakeRequest()
207 req_top = (PrivRlRequestTop*)(req_buf + req_file_size); in MakeRequest()
224 if (0 != WriteLoud(req_buf, req_size, req_file)) { in MakeRequest()
233 if (req_buf) free(req_buf); in MakeRequest()
/external/epid-sdk/tools/revokegrp/src/
Dmain.c214 uint8_t* req_buf = NULL; in MakeRequest() local
291 req_buf = AllocBuffer(req_size); in MakeRequest()
292 if (!req_buf) { in MakeRequest()
297 request = (GrpRlRequest*)req_buf; in MakeRequest()
301 if (0 != ReadLoud(req_file, req_buf, req_file_size)) { in MakeRequest()
356 PrintBuffer(req_buf, req_size); in MakeRequest()
361 if (0 != WriteLoud(req_buf, req_size, req_file)) { in MakeRequest()
372 if (req_buf) free(req_buf); in MakeRequest()
/external/wpa_supplicant_8/src/wps/
Dhttp_client.c246 struct wpabuf *req_buf = NULL; in http_client_url() local
255 req_buf = wpabuf_alloc(os_strlen(url) + 1000); in http_client_url()
256 if (req_buf == NULL) { in http_client_url()
260 req = req_buf; in http_client_url()
276 wpabuf_free(req_buf); in http_client_url()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_named_pipe.c69 char req_buf[REQUEST_BUFSIZE]; member
268 if (!ReadFileEx(dst->pipe, dst->req_buf, sizeof(dst->req_buf), in ctrl_iface_write_completed()
285 char *buf = dst->req_buf; in wpa_supplicant_ctrl_iface_rx()
545 char req_buf[REQUEST_BUFSIZE]; member
699 if (!ReadFileEx(dst->pipe, dst->req_buf, sizeof(dst->req_buf), in global_iface_write_completed()
719 char *buf = dst->req_buf; in wpa_supplicant_global_iface_rx()