Searched defs:resp (Results 51 - 75 of 221) sorted by relevance

123456789

/external/chromium_org/third_party/openssl/openssl/crypto/ocsp/
H A Docsp_cl.c187 int OCSP_response_status(OCSP_RESPONSE *resp) argument
189 return ASN1_ENUMERATED_get(resp->responseStatus);
197 OCSP_BASICRESP *OCSP_response_get1_basic(OCSP_RESPONSE *resp) argument
200 rb = resp->responseBytes;
H A Docsp_ht.c487 OCSP_RESPONSE *resp = NULL; local
495 rv = OCSP_sendreq_nbio(&resp, ctx);
501 return resp;
/external/openssl/crypto/ocsp/
H A Docsp_cl.c187 int OCSP_response_status(OCSP_RESPONSE *resp) argument
189 return ASN1_ENUMERATED_get(resp->responseStatus);
197 OCSP_BASICRESP *OCSP_response_get1_basic(OCSP_RESPONSE *resp) argument
200 rb = resp->responseBytes;
H A Docsp_ht.c487 OCSP_RESPONSE *resp = NULL; local
495 rv = OCSP_sendreq_nbio(&resp, ctx);
501 return resp;
/external/smack/src/com/kenai/jbosh/
H A DCMSessionParams.java82 final AbstractBody resp)
85 resp.getAttribute(Attributes.ACK));
91 getRequiredAttribute(resp, Attributes.SID)),
93 getRequiredAttribute(resp, Attributes.WAIT)),
95 resp.getAttribute(Attributes.VER)),
97 resp.getAttribute(Attributes.POLLING)),
99 resp.getAttribute(Attributes.INACTIVITY)),
101 resp.getAttribute(Attributes.REQUESTS)),
103 resp.getAttribute(Attributes.HOLD)),
105 resp
80 fromSessionInit( final AbstractBody req, final AbstractBody resp) argument
[all...]
/external/speex/libspeex/
H A Dcb_search.c53 static void compute_weighted_codebook(const signed char *shape_cb, const spx_word16_t *r, spx_word16_t *resp, spx_word16_t *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack) argument
62 res = resp+i*subvect_size;
116 VARDECL(spx_word16_t *resp);
139 ALLOC(resp, shape_cb_size*subvect_size, spx_word16_t);
144 resp2 = resp;
153 compute_weighted_codebook(shape_cb, r, resp, resp2, E, shape_cb_size, subvect_size, stack);
176 res = resp+rind*subvect_size;
259 VARDECL(spx_word16_t *resp);
311 ALLOC(resp, shape_cb_size*subvect_size, spx_word16_t);
316 resp2 = resp;
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dwpa_helpers.c62 char *resp, size_t resp_size)
72 if (wpa_ctrl_request(ctrl, cmd, strlen(cmd), resp, &len, NULL) < 0) {
78 resp[len] = '\0';
61 wpa_command_resp(const char *ifname, const char *cmd, char *resp, size_t resp_size) argument
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_ikev2.c139 struct wpabuf *resp; local
176 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, plen,
178 if (resp == NULL)
181 wpabuf_put_u8(resp, flags); /* Flags */
183 wpabuf_put_be32(resp, wpabuf_len(data->out_buf));
185 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
190 const u8 *msg = wpabuf_head(resp);
191 size_t len = wpabuf_len(resp);
195 msg, len, wpabuf_put(resp, icv_len));
242 return resp;
[all...]
H A Deap_leap.c64 struct wpabuf *resp; local
109 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_LEAP,
112 if (resp == NULL)
114 wpabuf_put_u8(resp, LEAP_VERSION);
115 wpabuf_put_u8(resp, 0); /* unused */
116 wpabuf_put_u8(resp, LEAP_RESPONSE_LEN);
117 rpos = wpabuf_put(resp, LEAP_RESPONSE_LEN);
125 wpabuf_put_data(resp, identity, identity_len);
129 return resp;
138 struct wpabuf *resp; local
[all...]
H A Deap_pax.c96 struct wpabuf *resp; local
99 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PAX,
101 if (resp == NULL)
104 pax = wpabuf_put(resp, sizeof(*pax));
111 return resp;
120 struct wpabuf *resp; local
191 resp = eap_pax_alloc_resp(req, id, EAP_PAX_OP_STD_2, plen);
192 if (resp == NULL)
195 wpabuf_put_be16(resp, EAP_PAX_RAND_LEN);
196 wpabuf_put_data(resp, dat
236 struct wpabuf *resp; local
328 struct wpabuf *resp; local
[all...]
H A Deap_psk.c89 struct wpabuf *resp; local
136 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK,
139 if (resp == NULL)
141 hdr2 = wpabuf_put(resp, sizeof(*hdr2));
145 wpabuf_put_data(resp, data->id_p, data->id_p_len);
150 wpabuf_free(resp);
162 wpabuf_free(resp);
174 return resp;
184 struct wpabuf *resp; local
317 resp
377 struct wpabuf *resp = NULL; local
[all...]
H A Deap_sake.c149 struct wpabuf *resp; local
169 resp = eap_sake_build_msg(data, eap_get_id(reqData),
172 if (resp == NULL)
176 eap_sake_add_attr(resp, EAP_SAKE_AT_PEERID,
181 return resp;
193 struct wpabuf *resp; local
250 resp = eap_sake_build_msg(data, eap_get_id(reqData), rlen,
252 if (resp == NULL)
256 eap_sake_add_attr(resp, EAP_SAKE_AT_RAND_P,
261 eap_sake_add_attr(resp, EAP_SAKE_AT_PEERI
294 struct wpabuf *resp; local
367 struct wpabuf *resp; local
[all...]
H A Deap_tls.c152 struct wpabuf *resp, u8 id)
173 if (resp) {
178 return resp;
227 struct wpabuf *resp; local
244 resp = NULL;
246 id, pos, left, &resp);
249 return eap_tls_failure(sm, data, ret, res, resp, id);
256 wpabuf_free(resp);
260 return resp;
149 eap_tls_failure(struct eap_sm *sm, struct eap_tls_data *data, struct eap_method_ret *ret, int res, struct wpabuf *resp, u8 id) argument
H A Deap_tnc.c86 struct wpabuf *resp; local
108 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TNC, plen,
110 if (resp == NULL)
113 wpabuf_put_u8(resp, flags); /* Flags */
115 wpabuf_put_be32(resp, wpabuf_len(data->out_buf));
117 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
139 return resp;
201 struct wpabuf *resp; local
354 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TNC, 1,
356 if (resp
[all...]
H A Deap_wsc.c304 struct wpabuf *resp; local
325 resp = eap_msg_alloc(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC, plen,
327 if (resp == NULL)
330 wpabuf_put_u8(resp, data->out_op_code); /* Op-Code */
331 wpabuf_put_u8(resp, flags); /* Flags */
333 wpabuf_put_be16(resp, wpabuf_len(data->out_buf));
335 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
364 return resp;
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_pax.c187 struct eap_pax_hdr *resp; local
193 if (pos == NULL || len < sizeof(*resp)) {
199 resp = (struct eap_pax_hdr *) pos;
204 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id,
205 resp->public_key_id);
207 (u8 *) (resp + 1), len - sizeof(*resp)
287 struct eap_pax_hdr *resp; local
455 struct eap_pax_hdr *resp; local
[all...]
H A Deap_server_psk.c217 const struct eap_psk_hdr_2 *resp; local
230 if (cpos == NULL || left < sizeof(*resp)) {
234 resp = (const struct eap_psk_hdr_2 *) cpos;
235 cpos = (const u8 *) (resp + 1);
236 left -= sizeof(*resp);
293 resp->rand_p, EAP_PSK_RAND_LEN);
294 os_memcpy(data->rand_p, resp->rand_p, EAP_PSK_RAND_LEN);
316 wpa_hexdump(MSG_DEBUG, "EAP-PSK: MAC_P", resp->mac_p, EAP_PSK_MAC_LEN);
317 if (os_memcmp_const(mac, resp->mac_p, EAP_PSK_MAC_LEN) != 0) {
333 const struct eap_psk_hdr_4 *resp; local
[all...]
H A Deap_server_sake.c239 struct eap_sake_hdr *resp; local
250 resp = (struct eap_sake_hdr *) pos;
251 version = resp->version;
252 session_id = resp->session_id;
253 subtype = resp->subtype;
413 struct eap_sake_hdr *resp; local
422 resp = (struct eap_sake_hdr *) pos;
424 subtype = resp->subtype;
425 pos = (u8 *) (resp + 1);
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p_go_neg.c541 struct wpabuf *resp; local
798 resp = p2p_build_go_neg_resp(p2p, dev, msg.dialog_token, status,
801 if (resp == NULL)
811 wpabuf_free(resp);
833 wpabuf_head(resp), wpabuf_len(resp), 500) < 0) {
837 wpabuf_free(resp);
H A Dp2p_invitation.c170 struct wpabuf *resp = NULL; local
348 resp = p2p_build_invitation_resp(p2p, dev, msg.dialog_token, status,
351 if (resp == NULL)
391 wpabuf_head(resp), wpabuf_len(resp), 200) < 0) {
396 wpabuf_free(resp);
H A Dp2p_sd.c419 struct wpabuf *resp; local
444 resp = p2p_build_sd_response(dialog_token, WLAN_STATUS_SUCCESS,
448 resp = p2p_build_sd_response(dialog_token,
452 if (resp == NULL)
458 wpabuf_head(resp), wpabuf_len(resp), 200) < 0)
461 wpabuf_free(resp);
607 struct wpabuf *resp; local
638 resp = p2p_build_gas_comeback_resp(dialog_token, WLAN_STATUS_SUCCESS,
644 if (resp
[all...]
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dhttp_server.c132 void http_request_send(struct http_request *req, struct wpabuf *resp) argument
137 (unsigned long) wpabuf_len(resp),
141 res = send(req->fd, wpabuf_head(resp), wpabuf_len(resp), 0);
145 } else if ((size_t) res < wpabuf_len(resp)) {
147 res, (unsigned long) wpabuf_len(resp));
151 wpabuf_free(resp);
156 struct wpabuf *resp)
158 http_request_send(req, resp);
155 http_request_send_and_deinit(struct http_request *req, struct wpabuf *resp) argument
/external/wpa_supplicant_8/src/common/
H A Dwpa_helpers.c62 char *resp, size_t resp_size)
72 if (wpa_ctrl_request(ctrl, cmd, strlen(cmd), resp, &len, NULL) < 0) {
78 resp[len] = '\0';
61 wpa_command_resp(const char *ifname, const char *cmd, char *resp, size_t resp_size) argument
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_ikev2.c139 struct wpabuf *resp; local
176 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, plen,
178 if (resp == NULL)
181 wpabuf_put_u8(resp, flags); /* Flags */
183 wpabuf_put_be32(resp, wpabuf_len(data->out_buf));
185 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
190 const u8 *msg = wpabuf_head(resp);
191 size_t len = wpabuf_len(resp);
195 msg, len, wpabuf_put(resp, icv_len));
242 return resp;
[all...]
H A Deap_leap.c64 struct wpabuf *resp; local
109 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_LEAP,
112 if (resp == NULL)
114 wpabuf_put_u8(resp, LEAP_VERSION);
115 wpabuf_put_u8(resp, 0); /* unused */
116 wpabuf_put_u8(resp, LEAP_RESPONSE_LEN);
117 rpos = wpabuf_put(resp, LEAP_RESPONSE_LEN);
125 wpabuf_put_data(resp, identity, identity_len);
129 return resp;
138 struct wpabuf *resp; local
[all...]

Completed in 273 milliseconds

123456789