Lines Matching refs:uint8
49 extern uint8 g_client_random[SEC_RANDOM_SIZE];
56 static uint8 g_sec_sign_key[16];
57 static uint8 g_sec_decrypt_key[16];
58 static uint8 g_sec_encrypt_key[16];
59 static uint8 g_sec_decrypt_update_key[16];
60 static uint8 g_sec_encrypt_update_key[16];
61 static uint8 g_sec_crypted_random[SEC_MAX_MODULUS_SIZE];
84 sec_hash_48(uint8 * out, uint8 * in, uint8 * salt1, uint8 * salt2, uint8 salt)
86 uint8 shasig[20];
87 uint8 pad[4];
114 sec_hash_16(uint8 * out, uint8 * in, uint8 * salt1, uint8 * salt2)
129 sec_hash_sha1_16(uint8 * out, uint8 * in, uint8 * salt1)
140 sec_hash_to_string(char *out, int out_size, uint8 * in, int in_size)
152 sec_make_40bit(uint8 * key)
161 sec_generate_keys(uint8 * client_random, uint8 * server_random, int rc4_key_size)
163 uint8 pre_master_secret[48];
164 uint8 master_secret[48];
165 uint8 key_block[48];
205 static uint8 pad_54[40] = {
212 static uint8 pad_92[48] = {
221 buf_out_uint32(uint8 * buffer, uint32 value)
231 sec_sign(uint8 * signature, int siglen, uint8 * session_key, int keylen, uint8 * data, int datalen)
233 uint8 shasig[20];
234 uint8 md5sig[16];
235 uint8 lenhdr[4];
259 sec_update(uint8 * key, uint8 * update_key)
261 uint8 shasig[20];
287 sec_encrypt(uint8 * data, int length)
302 sec_decrypt(uint8 * data, int length)
317 sec_rsa_encrypt(uint8 * out, uint8 * in, int len, uint32 modulus_size, uint8 * modulus,
318 uint8 * exponent)
505 sec_parse_public_key(STREAM s, uint8 * modulus, uint8 * exponent)
535 sec_parse_public_sig(STREAM s, uint32 len, uint8 * modulus, uint8 * exponent)
537 uint8 signature[SEC_MAX_MODULUS_SIZE];
554 uint8 ** server_random, uint8 * modulus, uint8 * exponent)
561 uint8 *next_tag, *end;
721 uint8 *server_random = NULL;
722 uint8 modulus[SEC_MAX_MODULUS_SIZE];
723 uint8 exponent[SEC_EXPONENT_SIZE];
760 uint8 *next_tag;
761 uint8 len;
804 sec_recv(uint8 * rdpver)
844 uint8 swapbyte;
914 mcs_data.p = mcs_data.data = (uint8 *) xmalloc(mcs_data.size);