/external/wpa_supplicant_8/src/crypto/ |
crypto_cryptoapi.c | 167 BLOBHEADER hdr; member in struct:__anon14029 173 key_blob.hdr.bType = PLAINTEXTKEYBLOB; 174 key_blob.hdr.bVersion = CUR_BLOB_VERSION; 175 key_blob.hdr.reserved = 0; 176 key_blob.hdr.aiKeyAlg = CALG_DES; 246 BLOBHEADER hdr; member in struct:__anon14030 255 key_blob.hdr.bType = PLAINTEXTKEYBLOB; 256 key_blob.hdr.bVersion = CUR_BLOB_VERSION; 257 key_blob.hdr.reserved = 0; 258 key_blob.hdr.aiKeyAlg = CALG_AES_128 364 BLOBHEADER hdr; member in struct:__anon14031 519 BLOBHEADER hdr; member in struct:__anon14032 [all...] |
aes-eax.c | 27 * @hdr: Header data to be authenticity protected 35 const u8 *hdr, size_t hdr_len, 64 os_memcpy(buf + 16, hdr, hdr_len); 91 * @hdr: Header data to be authenticity protected 99 const u8 *hdr, size_t hdr_len, 130 os_memcpy(buf + 16, hdr, hdr_len);
|
aes_wrap.h | 37 const u8 *hdr, size_t hdr_len, 41 const u8 *hdr, size_t hdr_len,
|
/external/e2fsprogs/misc/ |
e2image.c | 57 static void write_header(int fd, struct ext2_image_hdr *hdr, int blocksize) 74 if (hdr) 75 memcpy(header_buf, hdr, sizeof(struct ext2_image_hdr)); 92 struct ext2_image_hdr hdr; local 97 memset(&hdr, 0, sizeof(struct ext2_image_hdr)); 99 hdr.offset_super = lseek(fd, 0, SEEK_CUR); 106 hdr.offset_inode = lseek(fd, 0, SEEK_CUR); 114 hdr.offset_blockmap = lseek(fd, 0, SEEK_CUR); 121 hdr.offset_inodemap = lseek(fd, 0, SEEK_CUR); 128 hdr.magic_number = EXT2_ET_MAGIC_E2IMAGE [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
ikev2.c | 452 const struct ikev2_hdr *hdr, 463 hdr, encrypted, encrypted_len, 487 const struct ikev2_hdr *hdr, 495 os_memcpy(data->r_spi, hdr->r_spi, IKEV2_SPI_LEN); 503 if (ikev2_process_sa_init_encr(data, hdr, pl->encrypted, 718 const struct ikev2_hdr *hdr, 727 &data->keys, 0, hdr, pl->encrypted, 750 /* Expect to receive IKE_SA_INIT: HDR, SAr, KEr, Nr, [CERTREQ], 765 * HDR, SK {IDr, [CERT,] [CERTREQ,] [NFID,] AUTH} 801 const struct ikev2_hdr *hdr; local 893 struct ikev2_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
ikev2.c | 453 const struct ikev2_hdr *hdr, 464 hdr, encrypted, encrypted_len, 488 const struct ikev2_hdr *hdr, 496 os_memcpy(data->r_spi, hdr->r_spi, IKEV2_SPI_LEN); 504 if (ikev2_process_sa_init_encr(data, hdr, pl->encrypted, 719 const struct ikev2_hdr *hdr, 728 &data->keys, 0, hdr, pl->encrypted, 751 /* Expect to receive IKE_SA_INIT: HDR, SAr, KEr, Nr, [CERTREQ], 766 * HDR, SK {IDr, [CERT,] [CERTREQ,] [NFID,] AUTH} 802 const struct ikev2_hdr *hdr; local 894 struct ikev2_hdr *hdr; local [all...] |
/external/bluetooth/hcidump/parser/ |
cmtp.c | 162 uint8_t hdr, bid; local 167 hdr = get_u8(frm); 168 bid = (hdr & 0x3c) >> 2; 170 switch ((hdr & 0xc0) >> 6) { 184 printf("CMTP: %s: id %d len %d\n", bst2str(hdr & 0x03), bid, len); 186 switch (hdr & 0x03) {
|
/external/wpa_supplicant_8/src/ap/ |
drv_callbacks.c | 283 static const u8 * get_hdr_bssid(const struct ieee80211_hdr *hdr, size_t len) 294 fc = le_to_host16(hdr->frame_control); 305 return hdr->addr1; 307 return hdr->addr2; 314 return hdr->addr1; 316 return hdr->addr3; 348 const struct ieee80211_hdr *hdr = (const struct ieee80211_hdr *) frame; local 349 u16 fc = le_to_host16(hdr->frame_control); 350 hapd = get_hapd_bssid(hapd->iface, get_hdr_bssid(hdr, len)); 354 ieee802_11_rx_from_unknown(hapd, hdr->addr2 363 const struct ieee80211_hdr *hdr; local 409 struct ieee80211_hdr *hdr; local 447 struct ieee80211_hdr *hdr; local [all...] |
/external/ipsec-tools/src/racoon/ |
isakmp_frag.c | 86 struct isakmp *hdr; local 103 hdr = (struct isakmp *)buf->v; 104 etype = hdr->etype; 111 (sizeof(*hdr) + sizeof(*fraghdr) + sizeof(trailer)); 124 fraglen = sizeof(*hdr) 135 hdr = (struct isakmp *)frag->v; 136 hdr->etype = etype; 138 fraghdr = (struct isakmp_frag *)(hdr + 1); 140 fraghdr->len = htons(fraglen - sizeof(*hdr));
|
/external/llvm/lib/Archive/ |
ArchiveWriter.cpp | 81 Archive::fillHeader(const ArchiveMember &mbr, ArchiveMemberHeader& hdr, 85 hdr.init(); 88 memcpy(hdr.mode,buffer,8); 90 memcpy(hdr.uid,buffer,6); 92 memcpy(hdr.gid,buffer,6); 97 memcpy(hdr.date,buffer,12); 110 memcpy(hdr.name,ARFILE_STRTAB_NAME,16); 112 memcpy(hdr.name,ARFILE_SVR4_SYMTAB_NAME,16); 114 memcpy(hdr.name,ARFILE_BSD4_SYMTAB_NAME,16); 116 memcpy(hdr.name,ARFILE_LLVM_SYMTAB_NAME,16) [all...] |
/external/blktrace/btreplay/ |
btreplay.c | 859 struct io_file_hdr hdr; local 865 memset(&hdr, 0, sizeof(hdr)); 879 if (buf.st_size < (off_t)sizeof(hdr)) { 885 if (read(tip->ifd, &hdr, sizeof(hdr)) != sizeof(hdr)) { 890 if (hdr.version != my_version) { 892 (long long unsigned)hdr.version, 893 (long long unsigned)hdr.genesis 1302 struct io_file_hdr hdr; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
ikev2.c | 482 const struct ikev2_hdr *hdr, 490 os_memcpy(data->i_spi, hdr->i_spi, IKEV2_SPI_LEN); 686 const struct ikev2_hdr *hdr, 695 &data->keys, 1, hdr, pl->encrypted, 713 /* Expect to receive IKE_SA_INIT: HDR, SAi1, KEi, Ni */ 727 * HDR, SK {IDi, [CERT,] [CERTREQ,] [IDr,] 766 const struct ikev2_hdr *hdr; local 774 if (wpabuf_len(buf) < sizeof(*hdr)) { 775 wpa_printf(MSG_INFO, "IKEV2: Too short frame to include HDR"); 780 hdr = (const struct ikev2_hdr *) wpabuf_head(buf) 863 struct ikev2_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
ikev2.c | 483 const struct ikev2_hdr *hdr, 491 os_memcpy(data->i_spi, hdr->i_spi, IKEV2_SPI_LEN); 687 const struct ikev2_hdr *hdr, 696 &data->keys, 1, hdr, pl->encrypted, 714 /* Expect to receive IKE_SA_INIT: HDR, SAi1, KEi, Ni */ 728 * HDR, SK {IDi, [CERT,] [CERTREQ,] [IDr,] 767 const struct ikev2_hdr *hdr; local 775 if (wpabuf_len(buf) < sizeof(*hdr)) { 776 wpa_printf(MSG_INFO, "IKEV2: Too short frame to include HDR"); 781 hdr = (const struct ikev2_hdr *) wpabuf_head(buf) 864 struct ikev2_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/src/radius/ |
radius.c | 34 * hdr - Pointer to the RADIUS header in buf 36 struct radius_hdr *hdr; member in struct:radius_msg 60 return msg->hdr; 80 msg->hdr->code = code; 81 msg->hdr->identifier = identifier; 121 msg->hdr = wpabuf_put(msg->buf, sizeof(struct radius_hdr)); 258 static void radius_msg_dump_attr(struct radius_attr_hdr *hdr) 264 attr = radius_get_attr_type(hdr->type); 267 hdr->type, attr ? attr->name : "?Unknown?", hdr->length) 502 struct radius_hdr *hdr; local [all...] |
/external/openssl/crypto/asn1/ |
asn_mime.c | 107 static MIME_PARAM *mime_param_find(MIME_HEADER *hdr, char *name); 108 static void mime_hdr_free(MIME_HEADER *hdr); 172 const char *hdr, 176 BIO_printf(out, "-----BEGIN %s-----\n", hdr); 178 BIO_printf(out, "-----END %s-----\n", hdr); 433 MIME_HEADER *hdr; local 445 if(!(hdr = mime_hdr_find(headers, "content-type")) || !hdr->value) { 453 if(!strcmp(hdr->value, "multipart/signed")) { 455 prm = mime_param_find(hdr, "boundary") 575 MIME_HEADER *hdr; local [all...] |
/external/bluetooth/hcidump/src/ |
bpasniff.c | 179 uint8_t type, addr, temp, hdr; local 232 hdr = bt_get_unaligned((uint8_t *) (buf + 20)); 233 plen = ((hdr & 0x10) >> 4) | ((hdr & 0x08) >> 2) | (hdr & 0x04) | ((hdr & 0x02) << 2) | ((hdr & 0x01) << 4); 234 pflow = ((hdr & 0x20) >> 5); 235 llid = ((hdr & 0x80) >> 7) | ((hdr & 0x40) >> 5) [all...] |
/external/webp/src/enc/ |
syntax.c | 82 const VP8SegmentHeader* const hdr = &enc->segment_hdr_; local 84 if (VP8PutBitUniform(bw, (hdr->num_segments_ > 1))) { 88 VP8PutBitUniform(bw, hdr->update_map_); 99 if (hdr->update_map_) { 111 const VP8FilterHeader* const hdr) { 112 const int use_lf_delta = (hdr->i4x4_lf_delta_ != 0); 113 VP8PutBitUniform(bw, hdr->simple_); 114 VP8PutValue(bw, hdr->level_, 6); 115 VP8PutValue(bw, hdr->sharpness_, 3); 118 const int need_update = (hdr->i4x4_lf_delta_ != 0) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
test_wpa.c | 111 struct ieee802_1x_hdr *hdr; local 116 *msg_len = sizeof(*hdr) + data_len; 117 hdr = os_malloc(*msg_len); 118 if (hdr == NULL) 121 hdr->version = 2; 122 hdr->type = type; 123 hdr->length = host_to_be16(data_len); 126 os_memcpy(hdr + 1, data, data_len); 128 os_memset(hdr + 1, 0, data_len); 131 *data_pos = hdr + 1 [all...] |
/external/wpa_supplicant_8/wpa_supplicant/tests/ |
test_wpa.c | 103 struct ieee802_1x_hdr *hdr; local 108 *msg_len = sizeof(*hdr) + data_len; 109 hdr = os_malloc(*msg_len); 110 if (hdr == NULL) 113 hdr->version = 2; 114 hdr->type = type; 115 hdr->length = host_to_be16(data_len); 118 os_memcpy(hdr + 1, data, data_len); 120 os_memset(hdr + 1, 0, data_len); 123 *data_pos = hdr + 1 [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/util/io/pem/ |
PemReader.java | 55 String hdr = line.substring(0, index); local 58 headers.add(new PemHeader(hdr, value));
|
/external/webkit/Tools/android/flex-2.5.4a/MISC/Macintosh/ |
alloca.c | 119 typedef union hdr union 124 union hdr *next; /* for chaining headers */
|
/external/wpa_supplicant/ |
aes_wrap.h | 34 const u8 *hdr, size_t hdr_len, 37 const u8 *hdr, size_t hdr_len,
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
aes_wrap.h | 37 const u8 *hdr, size_t hdr_len, 41 const u8 *hdr, size_t hdr_len,
|
/external/srtp/srtp/ |
srtp.c | 598 srtp_hdr_t *hdr = (srtp_hdr_t *)rtp_hdr; local 602 xtd_seq_num_t est; /* estimated xtd_seq_num_t of *hdr */ 603 int delta; /* delta of local pkt idx and that in hdr */ 612 /* we assume the hdr is 32-bit aligned to start */ 625 stream = srtp_get_stream(ctx, hdr->ssrc); 632 hdr->ssrc, &new_stream); 695 enc_start = (uint32_t *)hdr + uint32s_in_rtp_header + hdr->cc; 696 if (hdr->x == 1) { 701 - ((enc_start - (uint32_t *)hdr) << 2)) 841 srtp_hdr_t *hdr = (srtp_hdr_t *)srtp_hdr; local 1447 srtcp_hdr_t *hdr = (srtcp_hdr_t *)rtcp_hdr; local 1630 srtcp_hdr_t *hdr = (srtcp_hdr_t *)srtcp_hdr; local [all...] |
/cts/tools/dx-tests/src/dxconvext/ |
ClassFileAssembler.java | 87 String hdr; local 89 hdr = dexHdr; 91 hdr = classHdr; 93 if (!firstLine.startsWith(hdr)) throw new RuntimeException("wrong format:"+firstLine +" isDex=" + isDex); 98 String classO = firstLine.substring(hdr.length()).trim();
|