Home
last modified time | relevance | path

Searched refs:u_int8_t (Results 1 – 25 of 110) sorted by relevance

12345

/external/libusb-compat/libusb/
Dusb.h81 u_int8_t bLength;
82 u_int8_t bDescriptorType;
87 u_int8_t bLength;
88 u_int8_t bDescriptorType;
94 u_int8_t bLength;
95 u_int8_t bDescriptorType;
97 u_int8_t bCountryCode;
98 u_int8_t bNumDescriptors;
107 u_int8_t bLength;
108 u_int8_t bDescriptorType;
[all …]
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-api-fst.h54 u_int8_t direction; /* Key used for encrypting or decrypting? */
61 u_int8_t xkS8[RIJNDAEL_MAXROUNDS+1][4][4]; /* key schedule */
69 u_int8_t mode; /* MODE_ECB, MODE_CBC, or MODE_CFB1 */
70 u_int8_t IV[MAX_IV_SIZE]; /* A possible Initialization Vector for ciphering */
84 int rijndael_makeKey(keyInstance *key, u_int8_t direction, int keyLen, char *keyMaterial);
86 int rijndael_cipherInit(cipherInstance *cipher, u_int8_t mode, char *IV);
89 u_int8_t *input, int inputLen, u_int8_t *outBuffer);
92 u_int8_t *input, int inputOctets, u_int8_t *outBuffer);
95 u_int8_t *input, int inputLen, u_int8_t *outBuffer);
98 u_int8_t *input, int inputOctets, u_int8_t *outBuffer);
[all …]
Drijndael-alg-fst.h19 int rijndaelKeySched(u_int8_t k[RIJNDAEL_MAXKC][4], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int RO…
21 int rijndaelKeyEncToDec(u_int8_t W[RIJNDAEL_MAXROUNDS+1][4][4], int ROUNDS);
23 int rijndaelEncrypt(u_int8_t a[16], u_int8_t b[16], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int RO…
26 int rijndaelEncryptRound(u_int8_t a[4][4], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int ROUNDS, int…
29 int rijndaelDecrypt(u_int8_t a[16], u_int8_t b[16], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int RO…
32 int rijndaelDecryptRound(u_int8_t a[4][4], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int ROUNDS, int…
/external/ipsec-tools/src/racoon/
Disakmp.h67 u_int8_t np; /* Next Payload Type */
68 u_int8_t v;
69 u_int8_t etype; /* Exchange Type */
70 u_int8_t flags; /* Flags */
158 u_int8_t np; /* Next Payload */
159 u_int8_t reserved; /* RESERVED, unused, must set to 0 */
204 u_int8_t p_no; /* Proposal # */
205 u_int8_t proto_id; /* Protocol */
206 u_int8_t spi_size; /* SPI Size */
207 u_int8_t num_t; /* Number of Transforms */
[all …]
Dhandler.h129 u_int8_t version; /* ISAKMP version */
130 u_int8_t etype; /* Exchange type actually for use */
131 u_int8_t flags; /* Flags */
202 u_int8_t dpd_fails; /* number of failures */
260 u_int8_t side; /* INITIATOR or RESPONDER */
279 u_int8_t satype; /* satype in PF_KEY */
285 u_int8_t flags; /* Flags for phase 2 */
415 u_int8_t version;
416 u_int8_t etype;
Dpolicy.h43 u_int8_t ctx_doi; /* Security Context DOI */
44 u_int8_t ctx_alg; /* Security Context Algorithm */
61 u_int8_t dir; /* direction of packet flow, see blow */
64 u_int8_t prefs; /* prefix length in bits for src */
65 u_int8_t prefd; /* prefix length in bits for dst */
93 u_int8_t mode; /* mode of protocol, see ipsec.h */
Dadmin.h97 u_int8_t prefs;
98 u_int8_t prefd;
99 u_int8_t ul_proto;
100 u_int8_t reserved;
/external/openssh/openbsd-compat/
Dblf.h67 void Blowfish_expand0state(blf_ctx *, const u_int8_t *, u_int16_t);
69 (blf_ctx *, const u_int8_t *, u_int16_t, const u_int8_t *, u_int16_t);
73 void blf_key(blf_ctx *, const u_int8_t *, u_int16_t);
77 void blf_ecb_encrypt(blf_ctx *, u_int8_t *, u_int32_t);
78 void blf_ecb_decrypt(blf_ctx *, u_int8_t *, u_int32_t);
80 void blf_cbc_encrypt(blf_ctx *, u_int8_t *, u_int8_t *, u_int32_t);
81 void blf_cbc_decrypt(blf_ctx *, u_int8_t *, u_int8_t *, u_int32_t);
84 u_int32_t Blowfish_stream2word(const u_int8_t *, u_int16_t , u_int16_t *);
Dsha2.h71 u_int8_t buffer[SHA256_BLOCK_LENGTH];
76 u_int8_t buffer[SHA512_BLOCK_LENGTH];
82 void SHA256_Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]);
83 void SHA256_Update(SHA256_CTX *, const u_int8_t *, size_t)
86 void SHA256_Final(u_int8_t [SHA256_DIGEST_LENGTH], SHA256_CTX *)
94 char *SHA256_Data(const u_int8_t *, size_t, char *)
99 void SHA384_Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]);
100 void SHA384_Update(SHA384_CTX *, const u_int8_t *, size_t)
103 void SHA384_Final(u_int8_t [SHA384_DIGEST_LENGTH], SHA384_CTX *)
111 char *SHA384_Data(const u_int8_t *, size_t, char *)
[all …]
Dbcrypt_pbkdf.c70 bcrypt_hash(u_int8_t *sha2pass, u_int8_t *sha2salt, u_int8_t *out) in bcrypt_hash()
73 u_int8_t ciphertext[BCRYPT_HASHSIZE] = in bcrypt_hash()
111 bcrypt_pbkdf(const char *pass, size_t passlen, const u_int8_t *salt, size_t saltlen, in bcrypt_pbkdf()
112 u_int8_t *key, size_t keylen, unsigned int rounds) in bcrypt_pbkdf()
114 u_int8_t sha2pass[SHA512_DIGEST_LENGTH]; in bcrypt_pbkdf()
115 u_int8_t sha2salt[SHA512_DIGEST_LENGTH]; in bcrypt_pbkdf()
116 u_int8_t out[BCRYPT_HASHSIZE]; in bcrypt_pbkdf()
117 u_int8_t tmpout[BCRYPT_HASHSIZE]; in bcrypt_pbkdf()
118 u_int8_t *countsalt; in bcrypt_pbkdf()
Drmd160.h38 u_int8_t buffer[RMD160_BLOCK_LENGTH]; /* input buffer */
42 void RMD160Transform(u_int32_t [5], const u_int8_t [RMD160_BLOCK_LENGTH])
45 void RMD160Update(RMD160_CTX *, const u_int8_t *, size_t)
48 void RMD160Final(u_int8_t [RMD160_DIGEST_LENGTH], RMD160_CTX *)
56 char *RMD160Data(const u_int8_t *, size_t, char *)
Dmd5.h27 u_int8_t buffer[MD5_BLOCK_LENGTH]; /* input buffer */
31 void MD5Update(MD5_CTX *, const u_int8_t *, size_t)
34 void MD5Final(u_int8_t [MD5_DIGEST_LENGTH], MD5_CTX *)
36 void MD5Transform(u_int32_t [4], const u_int8_t [MD5_BLOCK_LENGTH])
45 char *MD5Data(const u_int8_t *, size_t, char *)
Dblowfish.c403 Blowfish_stream2word(const u_int8_t *data, u_int16_t databytes, in Blowfish_stream2word()
406 u_int8_t i; in Blowfish_stream2word()
424 Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t keybytes) in Blowfish_expand0state()
462 Blowfish_expandstate(blf_ctx *c, const u_int8_t *data, u_int16_t databytes, in Blowfish_expandstate()
463 const u_int8_t *key, u_int16_t keybytes) in Blowfish_expandstate()
505 blf_key(blf_ctx *c, const u_int8_t *k, u_int16_t len) in blf_key()
541 blf_ecb_encrypt(blf_ctx *c, u_int8_t *data, u_int32_t len) in blf_ecb_encrypt()
563 blf_ecb_decrypt(blf_ctx *c, u_int8_t *data, u_int32_t len) in blf_ecb_decrypt()
585 blf_cbc_encrypt(blf_ctx *c, u_int8_t *iv, u_int8_t *data, u_int32_t len) in blf_cbc_encrypt()
610 blf_cbc_decrypt(blf_ctx *c, u_int8_t *iva, u_int8_t *data, u_int32_t len) in blf_cbc_decrypt()
[all …]
Dsha1.h21 u_int8_t buffer[SHA1_BLOCK_LENGTH];
26 void SHA1Transform(u_int32_t [5], const u_int8_t [SHA1_BLOCK_LENGTH])
29 void SHA1Update(SHA1_CTX *, const u_int8_t *, size_t)
31 void SHA1Final(u_int8_t [SHA1_DIGEST_LENGTH], SHA1_CTX *)
39 char *SHA1Data(const u_int8_t *, size_t, char *)
Dsha1.c49 u_int8_t c[64];
57 SHA1Transform(u_int32_t state[5], const u_int8_t buffer[SHA1_BLOCK_LENGTH]) in SHA1Transform()
60 u_int8_t workspace[SHA1_BLOCK_LENGTH]; in SHA1Transform()
127 SHA1Update(SHA1_CTX *context, const u_int8_t *data, size_t len) in SHA1Update()
137 SHA1Transform(context->state, (u_int8_t *)&data[i]); in SHA1Update()
152 u_int8_t finalcount[8]; in SHA1Pad()
156 finalcount[i] = (u_int8_t)((context->count >> in SHA1Pad()
159 SHA1Update(context, (u_int8_t *)"\200", 1); in SHA1Pad()
161 SHA1Update(context, (u_int8_t *)"\0", 1); in SHA1Pad()
166 SHA1Final(u_int8_t digest[SHA1_DIGEST_LENGTH], SHA1_CTX *context) in SHA1Final()
[all …]
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.h66 typedef unsigned char u_int8_t; /* 1-byte (8-bits) */
106 u_int8_t buffer[SHA256_BLOCK_LENGTH];
111 u_int8_t buffer[SHA512_BLOCK_LENGTH];
124 void SHA256_Update __P((SHA256_CTX*, const u_int8_t*, size_t));
125 void SHA256_Final __P((u_int8_t[SHA256_DIGEST_LENGTH], SHA256_CTX*));
128 char* SHA256_Data __P((const u_int8_t*, size_t, char[SHA256_DIGEST_STRING_LENGTH]));
132 void SHA384_Update __P((SHA384_CTX*, const u_int8_t*, size_t));
133 void SHA384_Final __P((u_int8_t[SHA384_DIGEST_LENGTH], SHA384_CTX*));
136 char* SHA384_Data __P((const u_int8_t*, size_t, char[SHA384_DIGEST_STRING_LENGTH]));
140 void SHA512_Update __P((SHA512_CTX*, const u_int8_t*, size_t));
[all …]
/external/iproute2/include/netinet/
Dtcp.h70 u_int8_t th_x2:4; /* (unused) */
71 u_int8_t th_off:4; /* data offset */
74 u_int8_t th_off:4; /* data offset */
75 u_int8_t th_x2:4; /* (unused) */
77 u_int8_t th_flags;
189 u_int8_t tcpi_state;
190 u_int8_t tcpi_ca_state;
191 u_int8_t tcpi_retransmits;
192 u_int8_t tcpi_probes;
193 u_int8_t tcpi_backoff;
[all …]
/external/u-boot/drivers/net/
Ddavinci_emac.h54 u_int8_t *buffer; /* Pointer to data buffer */
96 u_int8_t RSVD0[4];
100 u_int8_t RSVD1[100];
106 u_int8_t RSVD2[12];
115 u_int8_t RSVD3[64];
122 u_int8_t RSVD4[8];
145 u_int8_t RSVD5[88];
154 u_int8_t RSVD6[16];
191 u_int8_t RSVD7[624];
195 u_int8_t RSVD8[244];
[all …]
/external/newfs_msdos/
Dmkfs_msdos.c99 (p) = (u_int8_t)(x)
102 (p)[0] = (u_int8_t)(x), \
103 (p)[1] = (u_int8_t)((x) >> 010)
106 (p)[0] = (u_int8_t)(x), \
107 (p)[1] = (u_int8_t)((x) >> 010), \
108 (p)[2] = (u_int8_t)((x) >> 020), \
109 (p)[3] = (u_int8_t)((x) >> 030)
112 u_int8_t bsJump[3]; /* bootstrap entry point */
113 u_int8_t bsOemName[8]; /* OEM name and version */
117 u_int8_t bpbBytesPerSec[2]; /* bytes per sector */
[all …]
/external/openssh/
Ddns.c81 dns_read_key(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_key()
143 dns_read_rdata(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_rdata()
211 u_int8_t hostkey_algorithm; in verify_host_key_dns()
212 u_int8_t hostkey_digest_type = SSHFP_HASH_RESERVED; in verify_host_key_dns()
216 u_int8_t dnskey_algorithm; in verify_host_key_dns()
217 u_int8_t dnskey_digest_type; in verify_host_key_dns()
329 u_int8_t rdata_pubkey_algorithm = 0; in export_dns_rr()
330 u_int8_t rdata_digest_type = SSHFP_HASH_RESERVED; in export_dns_rr()
331 u_int8_t dtype; in export_dns_rr()
/external/libnfnetlink/include/libnfnetlink/
Dlibnfnetlink.h75 u_int8_t, u_int8_t,
78 u_int8_t, u_int8_t,
98 unsigned int, u_int8_t, u_int16_t, u_int16_t,
113 u_int8_t type, struct nfnl_callback *cb);
114 extern int nfnl_callback_unregister(struct nfnl_subsys_handle *, u_int8_t type);
190 extern int nfnl_addattr8(struct nlmsghdr *, int, int, u_int8_t);
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c60 u_int8_t op;
61 u_int8_t htype;
62 u_int8_t hlen;
63 u_int8_t hops;
71 u_int8_t chaddr[16];
72 u_int8_t sname[64];
73 u_int8_t file[128];
75 u_int8_t options[308]; /* 312 - cookie */
/external/iproute2/lib/
Dipx_pton.c34 static int ipx_getnode(u_int8_t *node, const char *str) in ipx_getnode()
42 node[i] = (u_int8_t)tmp; in ipx_getnode()
46 node[i] |= (u_int8_t)tmp; in ipx_getnode()
/external/libnfnetlink/src/
Dlibnfnetlink.c76 u_int8_t subsys_id;
77 u_int8_t cb_count;
317 nfnl_subsys_open(struct nfnl_handle *nfnlh, u_int8_t subsys_id, in nfnl_subsys_open()
318 u_int8_t cb_count, u_int32_t subscriptions) in nfnl_subsys_open()
340 nfnl_subsys_open2(struct nfnl_handle *nfnlh, u_int8_t subsys_id, in nfnl_subsys_open2()
341 u_int8_t cb_count, u_int32_t subscriptions, bool bind) in nfnl_subsys_open2()
520 u_int8_t family, in nfnl_fill_hdr()
940 int nfnl_addattr8(struct nlmsghdr *n, int maxlen, int type, u_int8_t data) in nfnl_addattr8()
1199 u_int8_t type, struct nfnl_callback *cb) in nfnl_callback_register()
1222 int nfnl_callback_unregister(struct nfnl_subsys_handle *ssh, u_int8_t type) in nfnl_callback_unregister()
[all …]
/external/ipsec-tools/src/libipsec/
Dlibpfkey.h86 u_int8_t l_natt_type;
90 u_int8_t ctxdoi, ctxalg; /* Security context DOI and algorithm */
176 u_int8_t, u_int16_t, u_int16_t, struct sockaddr *, u_int16_t));
185 u_int8_t, u_int16_t, u_int16_t, struct sockaddr *, u_int16_t));
199 static __inline u_int8_t

12345