/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | crypto_cryptoapi.c | 161 BLOBHEADER hdr; member in struct:__anon33583 167 key_blob.hdr.bType = PLAINTEXTKEYBLOB; 168 key_blob.hdr.bVersion = CUR_BLOB_VERSION; 169 key_blob.hdr.reserved = 0; 170 key_blob.hdr.aiKeyAlg = CALG_DES; 240 BLOBHEADER hdr; member in struct:__anon33584 249 key_blob.hdr.bType = PLAINTEXTKEYBLOB; 250 key_blob.hdr.bVersion = CUR_BLOB_VERSION; 251 key_blob.hdr.reserved = 0; 252 key_blob.hdr 358 BLOBHEADER hdr; member in struct:__anon33585 513 BLOBHEADER hdr; member in struct:__anon33586 [all...] |
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_wired.c | 117 struct ieee8023_hdr *hdr; local 130 hdr = (struct ieee8023_hdr *) buf; 132 switch (ntohs(hdr->ethertype)) { 135 sa = hdr->src; 140 pos = (u8 *) (hdr + 1); 141 left = len - sizeof(*hdr); 147 ntohs(hdr->ethertype)); 315 struct ieee8023_hdr *hdr; local 320 len = sizeof(*hdr) + data_len; 321 hdr [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | ikev2_common.c | 427 const struct ikev2_hdr *hdr, 474 (const u8 *) hdr, 475 integ - (const u8 *) hdr, hash) < 0) { 519 struct ikev2_hdr *hdr; local 522 hdr = wpabuf_mhead(msg); 523 WPA_PUT_BE32(hdr->length, wpabuf_len(msg)); 425 ikev2_decrypt_payload(int encr_id, int integ_id, struct ikev2_keys *keys, int initiator, const struct ikev2_hdr *hdr, const u8 *encrypted, size_t encrypted_len, size_t *res_len) argument
|
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap_peap.c | 456 * the buffer is large enough to contain full request (hdr->length bytes) and 595 struct eap_hdr *hdr = wpabuf_mhead(req); local 596 size_t len = be_to_host16(hdr->length); 606 pos = (u8 *) (hdr + 1); 610 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1); 647 hdr->identifier); 686 hdr, resp)) 727 data->pending_phase2_req = wpabuf_alloc_copy(hdr, len); 742 struct eap_hdr *hdr, *rhdr; local 787 hdr [all...] |
H A D | ikev2.c | 443 const struct ikev2_hdr *hdr, 451 os_memcpy(data->i_spi, hdr->i_spi, IKEV2_SPI_LEN); 647 const struct ikev2_hdr *hdr, 656 &data->keys, 1, hdr, pl->encrypted, 727 const struct ikev2_hdr *hdr; local 735 if (wpabuf_len(buf) < sizeof(*hdr)) { 741 hdr = (const struct ikev2_hdr *) wpabuf_head(buf); 743 message_id = WPA_GET_BE32(hdr->message_id); 744 length = WPA_GET_BE32(hdr->length); 747 hdr 442 ikev2_process_sa_init(struct ikev2_responder_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument 646 ikev2_process_sa_auth(struct ikev2_responder_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument 824 struct ikev2_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_server/ |
H A D | ikev2.c | 447 const struct ikev2_hdr *hdr, 458 hdr, encrypted, encrypted_len, 482 const struct ikev2_hdr *hdr, 490 os_memcpy(data->r_spi, hdr->r_spi, IKEV2_SPI_LEN); 498 if (ikev2_process_sa_init_encr(data, hdr, pl->encrypted, 713 const struct ikev2_hdr *hdr, 722 &data->keys, 0, hdr, pl->encrypted, 796 const struct ikev2_hdr *hdr; local 804 if (wpabuf_len(buf) < sizeof(*hdr)) { 809 hdr 446 ikev2_process_sa_init_encr(struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, const u8 *encrypted, size_t encrypted_len, u8 next_payload) argument 481 ikev2_process_sa_init(struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument 712 ikev2_process_sa_auth(struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument 888 struct ikev2_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | x509v3.c | 184 struct asn1_hdr hdr; local 194 if (asn1_get_next(buf, len, &hdr) < 0 || 195 hdr.class != ASN1_CLASS_UNIVERSAL || 196 hdr.tag != ASN1_TAG_SEQUENCE) { 199 hdr.class, hdr.tag); 202 pos = hdr.payload; 203 end = pos + hdr.length; 223 struct asn1_hdr hdr; local 236 if (asn1_get_next(pos, end - pos, &hdr) < 295 struct asn1_hdr hdr; local 653 struct asn1_hdr hdr; local 727 struct asn1_hdr hdr; local 764 struct asn1_hdr hdr; local 948 struct asn1_hdr hdr; local 1026 struct asn1_hdr hdr; local 1053 struct asn1_hdr hdr; local 1110 struct asn1_hdr hdr; local 1192 struct asn1_hdr hdr; local 1222 struct asn1_hdr hdr; local 1478 struct asn1_hdr hdr; local 1589 struct asn1_hdr hdr; local [all...] |
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps_upnp_web.c | 919 char *hdr = http_request_get_hdr(req); local 939 (u8 *) hdr, os_strlen(hdr)); 942 h = hdr; 1138 char *hdr = http_request_get_hdr(req); local 1149 h = hdr;
|
/external/wpa_supplicant_8/src/ap/ |
H A D | drv_callbacks.c | 702 const struct ieee80211_hdr *hdr; local 721 hdr = (const struct ieee80211_hdr *) rx_mgmt->frame; 722 bssid = get_hdr_bssid(hdr, rx_mgmt->frame_len); 729 fc = le_to_host16(hdr->frame_control); 773 struct ieee80211_hdr *hdr; local 774 hdr = (struct ieee80211_hdr *) buf; 775 hapd = get_hapd_bssid(hapd->iface, get_hdr_bssid(hdr, len)); 958 const struct ieee80211_hdr *hdr; local 960 hdr = (const struct ieee80211_hdr *) data->rx_mgmt.frame; 961 fc = le_to_host16(hdr [all...] |
/external/wpa_supplicant_8/src/crypto/ |
H A D | crypto_cryptoapi.c | 161 BLOBHEADER hdr; member in struct:__anon33836 167 key_blob.hdr.bType = PLAINTEXTKEYBLOB; 168 key_blob.hdr.bVersion = CUR_BLOB_VERSION; 169 key_blob.hdr.reserved = 0; 170 key_blob.hdr.aiKeyAlg = CALG_DES; 240 BLOBHEADER hdr; member in struct:__anon33837 249 key_blob.hdr.bType = PLAINTEXTKEYBLOB; 250 key_blob.hdr.bVersion = CUR_BLOB_VERSION; 251 key_blob.hdr.reserved = 0; 252 key_blob.hdr 358 BLOBHEADER hdr; member in struct:__anon33838 513 BLOBHEADER hdr; member in struct:__anon33839 [all...] |
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_wired.c | 117 struct ieee8023_hdr *hdr; local 130 hdr = (struct ieee8023_hdr *) buf; 132 switch (ntohs(hdr->ethertype)) { 135 sa = hdr->src; 140 pos = (u8 *) (hdr + 1); 141 left = len - sizeof(*hdr); 147 ntohs(hdr->ethertype)); 315 struct ieee8023_hdr *hdr; local 320 len = sizeof(*hdr) + data_len; 321 hdr [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
H A D | ikev2_common.c | 427 const struct ikev2_hdr *hdr, 474 (const u8 *) hdr, 475 integ - (const u8 *) hdr, hash) < 0) { 519 struct ikev2_hdr *hdr; local 522 hdr = wpabuf_mhead(msg); 523 WPA_PUT_BE32(hdr->length, wpabuf_len(msg)); 425 ikev2_decrypt_payload(int encr_id, int integ_id, struct ikev2_keys *keys, int initiator, const struct ikev2_hdr *hdr, const u8 *encrypted, size_t encrypted_len, size_t *res_len) argument
|
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | eap_peap.c | 456 * the buffer is large enough to contain full request (hdr->length bytes) and 595 struct eap_hdr *hdr = wpabuf_mhead(req); local 596 size_t len = be_to_host16(hdr->length); 606 pos = (u8 *) (hdr + 1); 610 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1); 647 hdr->identifier); 686 hdr, resp)) 727 data->pending_phase2_req = wpabuf_alloc_copy(hdr, len); 742 struct eap_hdr *hdr, *rhdr; local 787 hdr [all...] |
H A D | ikev2.c | 443 const struct ikev2_hdr *hdr, 451 os_memcpy(data->i_spi, hdr->i_spi, IKEV2_SPI_LEN); 647 const struct ikev2_hdr *hdr, 656 &data->keys, 1, hdr, pl->encrypted, 727 const struct ikev2_hdr *hdr; local 735 if (wpabuf_len(buf) < sizeof(*hdr)) { 741 hdr = (const struct ikev2_hdr *) wpabuf_head(buf); 743 message_id = WPA_GET_BE32(hdr->message_id); 744 length = WPA_GET_BE32(hdr->length); 747 hdr 442 ikev2_process_sa_init(struct ikev2_responder_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument 646 ikev2_process_sa_auth(struct ikev2_responder_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument 824 struct ikev2_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
H A D | ikev2.c | 447 const struct ikev2_hdr *hdr, 458 hdr, encrypted, encrypted_len, 482 const struct ikev2_hdr *hdr, 490 os_memcpy(data->r_spi, hdr->r_spi, IKEV2_SPI_LEN); 498 if (ikev2_process_sa_init_encr(data, hdr, pl->encrypted, 713 const struct ikev2_hdr *hdr, 722 &data->keys, 0, hdr, pl->encrypted, 796 const struct ikev2_hdr *hdr; local 804 if (wpabuf_len(buf) < sizeof(*hdr)) { 809 hdr 446 ikev2_process_sa_init_encr(struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, const u8 *encrypted, size_t encrypted_len, u8 next_payload) argument 481 ikev2_process_sa_init(struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument 712 ikev2_process_sa_auth(struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument 888 struct ikev2_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/src/tls/ |
H A D | x509v3.c | 184 struct asn1_hdr hdr; local 194 if (asn1_get_next(buf, len, &hdr) < 0 || 195 hdr.class != ASN1_CLASS_UNIVERSAL || 196 hdr.tag != ASN1_TAG_SEQUENCE) { 199 hdr.class, hdr.tag); 202 pos = hdr.payload; 203 end = pos + hdr.length; 223 struct asn1_hdr hdr; local 236 if (asn1_get_next(pos, end - pos, &hdr) < 295 struct asn1_hdr hdr; local 653 struct asn1_hdr hdr; local 727 struct asn1_hdr hdr; local 764 struct asn1_hdr hdr; local 948 struct asn1_hdr hdr; local 1026 struct asn1_hdr hdr; local 1053 struct asn1_hdr hdr; local 1110 struct asn1_hdr hdr; local 1192 struct asn1_hdr hdr; local 1222 struct asn1_hdr hdr; local 1478 struct asn1_hdr hdr; local 1589 struct asn1_hdr hdr; local [all...] |
/external/wpa_supplicant_8/src/wps/ |
H A D | wps_upnp_web.c | 919 char *hdr = http_request_get_hdr(req); local 939 (u8 *) hdr, os_strlen(hdr)); 942 h = hdr; 1138 char *hdr = http_request_get_hdr(req); local 1149 h = hdr;
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | ibss_rsn.c | 82 struct ieee802_1x_hdr *hdr; local 87 *msg_len = sizeof(*hdr) + data_len; 88 hdr = os_malloc(*msg_len); 89 if (hdr == NULL) 92 hdr->version = 2; 93 hdr->type = type; 94 hdr->length = host_to_be16(data_len); 97 os_memcpy(hdr + 1, data, data_len); 99 os_memset(hdr + 1, 0, data_len); 102 *data_pos = hdr 705 const struct ieee802_1x_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | drv_callbacks.c | 702 const struct ieee80211_hdr *hdr; local 721 hdr = (const struct ieee80211_hdr *) rx_mgmt->frame; 722 bssid = get_hdr_bssid(hdr, rx_mgmt->frame_len); 729 fc = le_to_host16(hdr->frame_control); 773 struct ieee80211_hdr *hdr; local 774 hdr = (struct ieee80211_hdr *) buf; 775 hapd = get_hapd_bssid(hapd->iface, get_hdr_bssid(hdr, len)); 958 const struct ieee80211_hdr *hdr; local 960 hdr = (const struct ieee80211_hdr *) data->rx_mgmt.frame; 961 fc = le_to_host16(hdr [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | crypto_cryptoapi.c | 161 BLOBHEADER hdr; member in struct:__anon34087 167 key_blob.hdr.bType = PLAINTEXTKEYBLOB; 168 key_blob.hdr.bVersion = CUR_BLOB_VERSION; 169 key_blob.hdr.reserved = 0; 170 key_blob.hdr.aiKeyAlg = CALG_DES; 240 BLOBHEADER hdr; member in struct:__anon34088 249 key_blob.hdr.bType = PLAINTEXTKEYBLOB; 250 key_blob.hdr.bVersion = CUR_BLOB_VERSION; 251 key_blob.hdr.reserved = 0; 252 key_blob.hdr 358 BLOBHEADER hdr; member in struct:__anon34089 513 BLOBHEADER hdr; member in struct:__anon34090 [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_wired.c | 117 struct ieee8023_hdr *hdr; local 130 hdr = (struct ieee8023_hdr *) buf; 132 switch (ntohs(hdr->ethertype)) { 135 sa = hdr->src; 140 pos = (u8 *) (hdr + 1); 141 left = len - sizeof(*hdr); 147 ntohs(hdr->ethertype)); 315 struct ieee8023_hdr *hdr; local 320 len = sizeof(*hdr) + data_len; 321 hdr [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | ikev2_common.c | 427 const struct ikev2_hdr *hdr, 474 (const u8 *) hdr, 475 integ - (const u8 *) hdr, hash) < 0) { 519 struct ikev2_hdr *hdr; local 522 hdr = wpabuf_mhead(msg); 523 WPA_PUT_BE32(hdr->length, wpabuf_len(msg)); 425 ikev2_decrypt_payload(int encr_id, int integ_id, struct ikev2_keys *keys, int initiator, const struct ikev2_hdr *hdr, const u8 *encrypted, size_t encrypted_len, size_t *res_len) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap_peap.c | 456 * the buffer is large enough to contain full request (hdr->length bytes) and 595 struct eap_hdr *hdr = wpabuf_mhead(req); local 596 size_t len = be_to_host16(hdr->length); 606 pos = (u8 *) (hdr + 1); 610 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1); 647 hdr->identifier); 686 hdr, resp)) 727 data->pending_phase2_req = wpabuf_alloc_copy(hdr, len); 742 struct eap_hdr *hdr, *rhdr; local 787 hdr [all...] |
H A D | ikev2.c | 443 const struct ikev2_hdr *hdr, 451 os_memcpy(data->i_spi, hdr->i_spi, IKEV2_SPI_LEN); 647 const struct ikev2_hdr *hdr, 656 &data->keys, 1, hdr, pl->encrypted, 727 const struct ikev2_hdr *hdr; local 735 if (wpabuf_len(buf) < sizeof(*hdr)) { 741 hdr = (const struct ikev2_hdr *) wpabuf_head(buf); 743 message_id = WPA_GET_BE32(hdr->message_id); 744 length = WPA_GET_BE32(hdr->length); 747 hdr 442 ikev2_process_sa_init(struct ikev2_responder_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument 646 ikev2_process_sa_auth(struct ikev2_responder_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument 824 struct ikev2_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/ |
H A D | ikev2.c | 447 const struct ikev2_hdr *hdr, 458 hdr, encrypted, encrypted_len, 482 const struct ikev2_hdr *hdr, 490 os_memcpy(data->r_spi, hdr->r_spi, IKEV2_SPI_LEN); 498 if (ikev2_process_sa_init_encr(data, hdr, pl->encrypted, 713 const struct ikev2_hdr *hdr, 722 &data->keys, 0, hdr, pl->encrypted, 796 const struct ikev2_hdr *hdr; local 804 if (wpabuf_len(buf) < sizeof(*hdr)) { 809 hdr 446 ikev2_process_sa_init_encr(struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, const u8 *encrypted, size_t encrypted_len, u8 next_payload) argument 481 ikev2_process_sa_init(struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument 712 ikev2_process_sa_auth(struct ikev2_initiator_data *data, const struct ikev2_hdr *hdr, struct ikev2_payloads *pl) argument 888 struct ikev2_hdr *hdr; local [all...] |