/external/wpa_supplicant_8/src/eap_peer/ |
eap_wsc.c | 278 struct wpabuf *resp; local 299 resp = eap_msg_alloc(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC, plen, 301 if (resp == NULL) 304 wpabuf_put_u8(resp, data->out_op_code); /* Op-Code */ 305 wpabuf_put_u8(resp, flags); /* Flags */ 307 wpabuf_put_be16(resp, wpabuf_len(data->out_buf)); 309 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, 338 return resp;
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server.c | 35 static void eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp); 879 static void eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp) 891 if (resp == NULL || wpabuf_len(resp) < sizeof(*hdr)) { 892 wpa_printf(MSG_DEBUG, "EAP: parseEapResp: invalid resp=%p " 893 "len=%lu", resp, 894 resp ? (unsigned long) wpabuf_len(resp) : 0); 898 hdr = wpabuf_head(resp); 900 if (plen > wpabuf_len(resp)) { 952 struct eap_hdr *resp; local 970 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(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);
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_go_neg.c | 523 struct wpabuf *resp; local 722 resp = p2p_build_go_neg_resp(p2p, dev, msg.dialog_token, status, 725 if (resp == NULL) 735 wpabuf_free(resp); 757 wpabuf_head(resp), wpabuf_len(resp), 500) < 0) { 761 wpabuf_free(resp); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
gas_query.c | 39 struct wpabuf *resp; member in struct:gas_query_pending 43 const struct wpabuf *resp, u16 status_code); 90 query->adv_proto, query->resp, query->status_code); 92 wpabuf_free(query->resp); 132 if (wpabuf_resize(&query->resp, len) < 0) { 136 wpabuf_put_data(query->resp, data, len); 208 const u8 *adv_proto, const u8 *resp, 228 if (gas_query_append(query, resp, len) < 0) { 239 const u8 *adv_proto, const u8 *resp, 284 if (gas_query_append(query, resp, len) < 0) [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pServiceResponse.java | 190 * P2P-SERV-DISC-RESP <address> <update indicator> <response data> 191 * e.g) P2P-SERV-DISC-RESP 02:03:7f:11:62:da 1 0300000101 247 WifiP2pServiceResponse resp; local 249 resp = WifiP2pDnsSdServiceResponse.newInstance(status, 252 resp = WifiP2pUpnpServiceResponse.newInstance(status, 255 resp = new WifiP2pServiceResponse(type, status, transId, dev, data); 257 if (resp != null && resp.getStatus() == Status.SUCCESS) { 258 respList.add(resp);
|
/hardware/qcom/keymaster/ |
keymaster_qcom.cpp | 337 keymaster_gen_keypair_resp_t *resp = NULL; local 344 resp = (keymaster_gen_keypair_resp_t *)(handle->ion_sbuffer + 350 resp->status = KEYMASTER_FAILURE; 351 resp->key_blob_len = sizeof(qcom_km_key_blob_t); 360 QSEECOM_ALIGN(sizeof(keymaster_gen_keypair_cmd_t)), resp, 366 if ( (ret < 0) || (resp->status < 0)) { 367 ALOGE("Generate key command failed resp->status = %d ret =%d", resp->status, ret); 370 UniquePtr<unsigned char[]> keydata(new unsigned char[resp->key_blob_len]); 376 memcpy(p, (unsigned char *)(&resp->key_blob), resp->key_blob_len) 419 keymaster_import_keypair_resp_t *resp = NULL; local 500 keymaster_sign_data_resp_t *resp = NULL; local 599 keymaster_verify_data_resp_t *resp = NULL; local [all...] |
/hardware/ti/wpan/ti_st/uim-sysfs/ |
uim.c | 204 command_complete_t resp; local 209 if (read_hci_event(fd, (unsigned char *)&resp, sizeof(resp)) < 0) { 215 if (resp.uart_prefix != HCI_EVENT_PKT) { 218 resp.uart_prefix); 223 if (resp.hci_hdr.evt != EVT_CMD_COMPLETE) { 227 resp.hci_hdr.evt); 231 if (resp.hci_hdr.plen < 4) { 234 resp.hci_hdr.plen); 238 if (resp.cmd_complete.opcode != (unsigned short)opcode) [all...] |
/packages/apps/Nfc/src/com/android/nfc/handover/ |
HandoverServer.java | 195 NdefMessage resp = mHandoverManager.tryHandoverRequest(handoverRequestMsg); local 196 if (resp == null) { 203 byte[] buffer = resp.toByteArray();
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/mmc/ |
mmc.h | 26 u32 resp[4]; member in struct:mmc_command
|