u8 74 modules/eyefi.c u8 len; u8 75 modules/eyefi.c u8 key[WPA_KEY_BYTES]; // Large enough for longest key u8 85 modules/eyefi.c u8 type; u8 97 modules/eyefi.c u8 count; u8 104 modules/eyefi.c u8 count; u8 128 modules/eyefi.c u8 cmd; u8 139 modules/eyefi.c u8 status; // network testing status u8 156 modules/eyefi.c static u8 atoh(char c) u8 172 modules/eyefi.c static u8 *convert_ascii_to_hex(char *ascii) u8 175 modules/eyefi.c static u8 hex[32]; u8 182 modules/eyefi.c u8 high = atoh(ascii[i]); u8 183 modules/eyefi.c u8 low = atoh(ascii[i+1]); u8 209 modules/eyefi.c u8 *hex_pass; u8 31 modules/eyefi.h void md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac); u8 32 modules/eyefi.h void hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac); u8 33 modules/eyefi.h void hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac); u8 34 modules/eyefi.h void pbkdf2_sha1(const char *passphrase, const char *ssid, size_t ssid_len, int iterations, u8 *buf, size_t buflen); u8 30 modules/md5.c void hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, u8 31 modules/md5.c const u8 *addr[], const size_t *len, u8 *mac) u8 33 modules/md5.c u8 k_pad[64]; /* padding - key XORd with ipad/opad */ u8 34 modules/md5.c u8 tk[16]; u8 35 modules/md5.c const u8 *_addr[6]; u8 102 modules/md5.c void hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 103 modules/md5.c u8 *mac) u8 115 modules/md5.c u8 in[64]; u8 137 modules/md5.c void md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) u8 22 modules/sha1.c void sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac); u8 35 modules/sha1.c void hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, u8 36 modules/sha1.c const u8 *addr[], const size_t *len, u8 *mac) u8 40 modules/sha1.c const u8 *_addr[6]; u8 106 modules/sha1.c void hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 107 modules/sha1.c u8 *mac) u8 126 modules/sha1.c void sha1_prf(const u8 *key, size_t key_len, const char *label, u8 127 modules/sha1.c const u8 *data, size_t data_len, u8 *buf, size_t buf_len) u8 129 modules/sha1.c u8 zero = 0, counter = 0; u8 131 modules/sha1.c u8 hash[SHA1_MAC_LEN]; u8 136 modules/sha1.c addr[0] = (u8 *) label; u8 177 modules/sha1.c void sha1_t_prf(const u8 *key, size_t key_len, const char *label, u8 178 modules/sha1.c const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) u8 182 modules/sha1.c u8 hash[SHA1_MAC_LEN]; u8 184 modules/sha1.c u8 output_len[2]; u8 232 modules/sha1.c int tls_prf(const u8 *secret, size_t secret_len, const char *label, u8 233 modules/sha1.c const u8 *seed, size_t seed_len, u8 *out, size_t outlen) u8 236 modules/sha1.c const u8 *S1, *S2; u8 237 modules/sha1.c u8 A_MD5[MD5_MAC_LEN], A_SHA1[SHA1_MAC_LEN]; u8 238 modules/sha1.c u8 P_MD5[MD5_MAC_LEN], P_SHA1[SHA1_MAC_LEN]; u8 240 modules/sha1.c const u8 *MD5_addr[3]; u8 302 modules/sha1.c u8 *digest) u8 307 modules/sha1.c const u8 *addr[2]; u8 311 modules/sha1.c addr[0] = (u8 *) ssid; u8 326 modules/sha1.c hmac_sha1_vector((u8 *) passphrase, passphrase_len, 2, addr, len, tmp); u8 330 modules/sha1.c hmac_sha1((u8 *) passphrase, passphrase_len, tmp, SHA1_MAC_LEN, u8 353 modules/sha1.c int iterations, u8 *buf, size_t buflen) u8 394 modules/sha1.c void sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 395 modules/sha1.c u8 *mac) u8 407 modules/sha1.c int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) u8 409 modules/sha1.c u8 xkey[64]; u8 412 modules/sha1.c u8 *xpos = x;