/external/wpa_supplicant_8/hs20/server/www/ |
est.php | 67 $resp = md5($A1 . ':' . $data['nonce'] . ':' . $data['nc'] . ':' . variable 69 if ($data['response'] != $resp) { 189 $resp = wordwrap(base64_encode($data), 72, "\n", true); variable 190 echo $resp . "\n"; 191 error_log("EST: simpleenroll - PKCS#7 response: " . $resp);
|
/external/wpa_supplicant_8/src/ap/ |
ieee802_11_shared.c | 80 struct ieee80211_mgmt resp; local 98 os_memset(&resp, 0, sizeof(resp)); 99 resp.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 101 os_memcpy(resp.da, sa, ETH_ALEN); 102 os_memcpy(resp.sa, hapd->own_addr, ETH_ALEN); 103 os_memcpy(resp.bssid, hapd->own_addr, ETH_ALEN); 104 resp.u.action.category = WLAN_ACTION_SA_QUERY; 105 resp.u.action.u.sa_query_req.action = WLAN_SA_QUERY_RESPONSE; 106 os_memcpy(resp.u.action.u.sa_query_req.trans_id, trans_id [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_tls.c | 152 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;
|
eap_ikev2.c | 139 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...] |
eap_leap.c | 64 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...] |
eap_pax.c | 96 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, data->rand.r.y, EAP_PAX_RAND_LEN) 236 struct wpabuf *resp; local 328 struct wpabuf *resp; local [all...] |
eap_psk.c | 89 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 = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, plen 377 struct wpabuf *resp = NULL; local [all...] |
eap_sake.c | 149 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_PEERID 294 struct wpabuf *resp; local 367 struct wpabuf *resp; local [all...] |
eap_tls_common.c | 754 struct wpabuf *resp; local 756 resp = eap_tls_msg_alloc(eap_type, 1, EAP_CODE_RESPONSE, id); 757 if (resp == NULL) 761 wpabuf_put_u8(resp, peap_version); /* Flags */ 762 return resp; [all...] |
eap_tnc.c | 86 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 == NULL [all...] |
eap_wsc.c | 304 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/src/p2p/ |
p2p_invitation.c | 170 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);
|
p2p_go_neg.c | 541 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); [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
StorageTest.java | 218 final MockResponse resp = new MockResponse().setResponseCode(200) local 222 resp.setChunkedBody(DOWNLOAD_BODY, 1021); 224 resp.setBody(DOWNLOAD_BODY); 226 enqueueResponse(resp);
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/ |
SensorChannel.java | 178 ByteBuffer resp = ByteBuffer.allocate(1024); local 179 resp.order(getEndian()); 188 resp = ExpandIf(resp, required_size); 189 resp.putInt(sensor.getType()); 190 resp.put(name); 191 resp.put((byte) 0); 194 resp = ExpandIf(resp, 4); 195 resp.putInt(-1) [all...] |
/development/ndk/platforms/android-3/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/external/bluetooth/bluedroid/stack/bnep/ |
bnep_utils.c | 689 tBNEP_RESULT resp; local 713 resp = BNEP_CONN_FAILED_SRC_UUID; 717 resp = BNEP_CONN_FAILED_DST_UUID; 721 resp = BNEP_CONN_FAILED_UUID_SIZE; 726 resp = BNEP_CONN_FAILED; 749 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, TRUE); 761 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, FALSE); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
httpportallocator.cc | 327 std::string resp = std::string(stream->GetBuffer(), length); local 328 ReceiveSessionResponse(resp);
|
/external/iproute2/lib/ |
libnetlink.c | 126 char resp[1024]; local 133 status = recv(rth->fd, resp, sizeof(resp), MSG_DONTWAIT|MSG_PEEK); 140 for (h = (struct nlmsghdr *)resp; NLMSG_OK(h, status);
|
/external/qemu/hw/android/goldfish/ |
mmc.c | 84 uint32_t resp[4]; member in struct:goldfish_mmc_state 105 QFIELD_INT32(resp[0]), 106 QFIELD_INT32(resp[1]), 107 QFIELD_INT32(resp[2]), 108 QFIELD_INT32(resp[3]), 239 s->resp[0] = 0; 240 s->resp[1] = 0; 241 s->resp[2] = 0; 242 s->resp[3] = 0; 260 s->resp[3] = 0x400E0032 [all...] |
/external/wpa_supplicant_8/hs20/client/ |
est.c | 97 char *buf, *resp; local 128 resp = os_readfile("Cert/est-cacerts.txt", &resp_len); 129 if (resp == NULL) { 135 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len); 146 os_memcpy(pkcs7, resp, resp_len); 150 os_free(resp); 570 char *resp; local 575 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len); 576 if (resp == NULL) { 581 attrs = base64_decode((unsigned char *) resp, resp_len 618 char *buf, *resp, *req, *req2; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server.c | 35 static void eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp); 925 static void eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp) 937 if (resp == NULL || wpabuf_len(resp) < sizeof(*hdr)) { 938 wpa_printf(MSG_DEBUG, "EAP: parseEapResp: invalid resp=%p " 939 "len=%lu", resp, 940 resp ? (unsigned long) wpabuf_len(resp) : 0); 944 hdr = wpabuf_head(resp); 946 if (plen > wpabuf_len(resp)) { 998 struct eap_hdr *resp; local 1016 struct eap_hdr *resp; local [all...] |
eap_server_pax.c | 187 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) - EAP_PAX_ICV_LEN) 287 struct eap_pax_hdr *resp; local 455 struct eap_pax_hdr *resp; local [all...] |
eap_server_psk.c | 217 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...] |
eap_server_sake.c | 239 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);
|