ReactOS 0.4.16-dev-13-ge2fc578
|
#include "precomp.h"
Go to the source code of this file.
Macros | |
#define | SEC_MODULUS_SIZE 64 |
Variables | |
char | g_hostname [16] |
int | g_width |
int | g_height |
unsigned int | g_keylayout |
int | g_keyboard_type |
int | g_keyboard_subtype |
int | g_keyboard_functionkeys |
RD_BOOL | g_encryption |
RD_BOOL | g_licence_issued |
RD_BOOL | g_licence_error_result |
RDP_VERSION | g_rdp_version |
RD_BOOL | g_console_session |
uint32 | g_redirect_session_id |
int | g_server_depth |
VCHANNEL | g_channels [] |
unsigned int | g_num_channels |
uint8 | g_client_random [SEC_RANDOM_SIZE] |
static int | g_rc4_key_len |
static void * | g_rc4_decrypt_key |
static void * | g_rc4_encrypt_key |
static uint32 | g_server_public_key_len |
static uint8 | g_sec_sign_key [16] |
static uint8 | g_sec_decrypt_key [16] |
static uint8 | g_sec_encrypt_key [16] |
static uint8 | g_sec_decrypt_update_key [16] |
static uint8 | g_sec_encrypt_update_key [16] |
static uint8 | g_sec_crypted_random [SEC_MAX_MODULUS_SIZE] |
uint16 | g_server_rdp_version = 0 |
static int | g_sec_encrypt_use_count = 0 |
static int | g_sec_decrypt_use_count = 0 |
static uint8 | g_testkey [176] |
static uint8 | pad_54 [40] |
static uint8 | pad_92 [48] |
Definition at line 304 of file secure.c.
Referenced by sec_sign().
void rdssl_cert_free | ( | PCCERT_CONTEXT | context | ) |
Definition at line 1656 of file ssl_calls.c.
Referenced by sec_parse_crypt_info().
PCCERT_CONTEXT rdssl_cert_read | ( | uint8 * | data, |
uint32 | len | ||
) |
Definition at line 1639 of file ssl_calls.c.
Referenced by sec_parse_crypt_info().
uint8 * rdssl_cert_to_rkey | ( | PCCERT_CONTEXT | cert, |
uint32 * | key_len | ||
) |
Definition at line 1663 of file ssl_calls.c.
Referenced by sec_parse_crypt_info().
RD_BOOL rdssl_certs_ok | ( | PCCERT_CONTEXT | server_cert, |
PCCERT_CONTEXT | cacert | ||
) |
Definition at line 1743 of file ssl_calls.c.
Referenced by sec_parse_crypt_info().
Definition at line 428 of file ssl_calls.c.
Referenced by rdssl_sign_ok(), sec_hash_16(), sec_hash_48(), sec_sign(), and sec_update().
Definition at line 442 of file ssl_calls.c.
Referenced by rdssl_sign_ok(), sec_hash_16(), sec_hash_48(), sec_sign(), and sec_update().
Definition at line 414 of file ssl_calls.c.
Referenced by rdssl_sign_ok(), sec_hash_16(), sec_hash_48(), sec_sign(), and sec_update().
Definition at line 421 of file ssl_calls.c.
Referenced by rdssl_sign_ok(), sec_hash_16(), sec_hash_48(), sec_sign(), and sec_update().
Definition at line 435 of file ssl_calls.c.
Referenced by rdssl_sign_ok(), sec_hash_16(), sec_hash_48(), sec_sign(), and sec_update().
int rdssl_mod_exp | ( | char * | out, |
int | out_len, | ||
char * | in, | ||
int | in_len, | ||
char * | mod, | ||
int | mod_len, | ||
char * | exp, | ||
int | exp_len | ||
) |
Definition at line 1485 of file ssl_calls.c.
Referenced by rdssl_sign_ok(), and sec_rsa_encrypt().
Definition at line 173 of file ssl_calls.c.
Referenced by sec_decrypt(), sec_encrypt(), and sec_update().
Definition at line 51 of file ssl_calls.c.
Referenced by sec_generate_keys(), and sec_update().
Definition at line 90 of file ssl_calls.c.
Referenced by sec_generate_keys(), and sec_update().
Definition at line 123 of file ssl_calls.c.
Referenced by sec_decrypt(), sec_encrypt(), sec_generate_keys(), and sec_update().
Definition at line 1777 of file ssl_calls.c.
Referenced by sec_parse_crypt_info().
int rdssl_rkey_get_exp_mod | ( | uint8 * | rkey, |
uint8 * | exponent, | ||
uint32 | max_exp_len, | ||
uint8 * | modulus, | ||
uint32 | max_mod_len | ||
) |
Definition at line 1762 of file ssl_calls.c.
Referenced by sec_parse_crypt_info().
Definition at line 393 of file ssl_calls.c.
Referenced by sec_hash_48(), sec_hash_sha1_16(), sec_sign(), and sec_update().
Definition at line 407 of file ssl_calls.c.
Referenced by sec_hash_48(), sec_hash_sha1_16(), sec_sign(), and sec_update().
Definition at line 379 of file ssl_calls.c.
Referenced by sec_hash_48(), sec_hash_sha1_16(), sec_sign(), and sec_update().
Definition at line 386 of file ssl_calls.c.
Referenced by sec_hash_48(), sec_hash_sha1_16(), sec_sign(), and sec_update().
Definition at line 400 of file ssl_calls.c.
Referenced by sec_hash_48(), sec_hash_sha1_16(), sec_sign(), and sec_update().
int rdssl_sign_ok | ( | char * | e_data, |
int | e_len, | ||
char * | n_data, | ||
int | n_len, | ||
char * | sign_data, | ||
int | sign_len, | ||
char * | sign_data2, | ||
int | sign_len2, | ||
char * | testkey | ||
) |
Definition at line 1594 of file ssl_calls.c.
Referenced by sec_parse_public_sig().
RD_BOOL sec_connect | ( | char * | server, |
char * | username, | ||
char * | domain, | ||
char * | password, | ||
RD_BOOL | reconnect | ||
) |
Definition at line 1005 of file secure.c.
Referenced by rdp_connect().
Definition at line 396 of file secure.c.
Referenced by sec_recv().
Definition at line 1032 of file secure.c.
Referenced by rdp_disconnect().
Definition at line 381 of file secure.c.
Referenced by sec_send_to_channel().
Definition at line 480 of file secure.c.
Referenced by sec_connect(), and sec_reconnect().
|
static |
Definition at line 238 of file secure.c.
Referenced by sec_process_crypt_info().
Definition at line 187 of file secure.c.
Referenced by sec_generate_keys().
Definition at line 155 of file secure.c.
Referenced by sec_generate_keys().
Definition at line 217 of file secure.c.
Definition at line 419 of file secure.c.
Referenced by channel_init(), channel_send(), licence_info(), licence_present(), licence_send_authresp(), licence_send_new_licence_request(), licence_send_platform_challenge_response(), licence_send_request(), rdp_init_data(), rdp_send_confirm_active(), rdp_send_logon_info(), and sec_establish_key().
Definition at line 229 of file secure.c.
Referenced by sec_generate_keys(), and sec_update().
Definition at line 498 of file secure.c.
Referenced by sec_connect(), and sec_reconnect().
|
static |
Definition at line 652 of file secure.c.
Referenced by sec_process_crypt_info().
Definition at line 599 of file secure.c.
Referenced by sec_parse_crypt_info().
|
static |
Definition at line 629 of file secure.c.
Referenced by sec_parse_crypt_info().
Definition at line 818 of file secure.c.
Referenced by sec_process_mcs_data().
Definition at line 856 of file secure.c.
Referenced by mcs_recv_connect_response().
Definition at line 842 of file secure.c.
Referenced by sec_process_mcs_data().
Definition at line 903 of file secure.c.
Referenced by rdp_recv().
Definition at line 1039 of file secure.c.
Referenced by rdp_reset_state().
|
static |
Definition at line 411 of file secure.c.
Referenced by sec_process_crypt_info().
Definition at line 472 of file secure.c.
Referenced by licence_info(), licence_present(), licence_send_authresp(), licence_send_new_licence_request(), licence_send_platform_challenge_response(), licence_send_request(), rdp_send_confirm_active(), rdp_send_data(), rdp_send_logon_info(), and sec_establish_key().
Definition at line 436 of file secure.c.
Referenced by channel_send(), and sec_send().
void sec_sign | ( | uint8 * | signature, |
int | siglen, | ||
uint8 * | session_key, | ||
int | keylen, | ||
uint8 * | data, | ||
int | datalen | ||
) |
Definition at line 346 of file secure.c.
Referenced by sec_decrypt(), and sec_encrypt().
|
extern |
Definition at line 32 of file channels.c.
Referenced by channel_process(), channel_register(), and sec_out_mcs_data().
|
extern |
Definition at line 78 of file uimain.c.
Referenced by sec_process_crypt_info().
|
extern |
Definition at line 48 of file uimain.c.
Referenced by parse_parameters(), and sec_out_mcs_data().
|
extern |
Definition at line 40 of file uimain.c.
Referenced by sec_connect(), sec_out_mcs_data(), and sec_recv().
|
extern |
Definition at line 43 of file uimain.c.
Referenced by sec_out_mcs_data().
|
extern |
Definition at line 26 of file uimain.c.
Referenced by sec_out_mcs_data().
|
extern |
Definition at line 47 of file uimain.c.
Referenced by sec_out_mcs_data().
|
extern |
Definition at line 46 of file uimain.c.
Referenced by sec_out_mcs_data().
|
extern |
Definition at line 45 of file uimain.c.
Referenced by sec_out_mcs_data().
Definition at line 44 of file uimain.c.
Referenced by sec_out_mcs_data().
|
extern |
Definition at line 45 of file licence.c.
Referenced by licence_process_error_alert(), sec_init(), sec_recv(), sec_reset_state(), and sec_send_to_channel().
|
extern |
Definition at line 44 of file licence.c.
Referenced by licence_process_error_alert(), licence_process_new_license(), sec_init(), sec_recv(), sec_reset_state(), and sec_send_to_channel().
Definition at line 33 of file channels.c.
Referenced by channel_process(), channel_register(), and sec_out_mcs_data().
|
static |
Definition at line 94 of file secure.c.
Referenced by sec_decrypt(), and sec_generate_keys().
|
static |
Definition at line 95 of file secure.c.
Referenced by sec_encrypt(), and sec_generate_keys().
|
static |
Definition at line 93 of file secure.c.
Referenced by sec_decrypt(), sec_encrypt(), sec_generate_keys(), sec_send_to_channel(), and sec_update().
|
extern |
Definition at line 74 of file uimain.c.
Referenced by sec_out_mcs_data(), and sec_process_srv_info().
|
extern |
Definition at line 67 of file uimain.c.
Referenced by sec_out_mcs_data().
|
static |
Definition at line 103 of file secure.c.
Referenced by sec_establish_key(), and sec_process_crypt_info().
|
static |
Definition at line 99 of file secure.c.
Referenced by sec_decrypt(), and sec_generate_keys().
|
static |
Definition at line 101 of file secure.c.
Referenced by sec_decrypt(), and sec_generate_keys().
|
static |
Definition at line 109 of file secure.c.
Referenced by sec_decrypt(), and sec_reset_state().
|
static |
Definition at line 100 of file secure.c.
Referenced by sec_encrypt(), and sec_generate_keys().
|
static |
Definition at line 102 of file secure.c.
Referenced by sec_encrypt(), and sec_generate_keys().
|
static |
Definition at line 108 of file secure.c.
Referenced by sec_encrypt(), and sec_reset_state().
|
static |
Definition at line 98 of file secure.c.
Referenced by sec_generate_keys(), and sec_send_to_channel().
|
extern |
Definition at line 41 of file uimain.c.
Referenced by sec_out_mcs_data(), and sec_process_srv_info().
|
static |
Definition at line 96 of file secure.c.
Referenced by sec_establish_key(), sec_parse_crypt_info(), sec_parse_public_key(), sec_parse_public_sig(), and sec_process_crypt_info().
uint16 g_server_rdp_version = 0 |
Definition at line 105 of file secure.c.
Referenced by rdp_send_logon_info(), sec_process_srv_info(), and sec_reset_state().
|
static |
Definition at line 113 of file secure.c.
Referenced by sec_parse_public_sig().
|
extern |
Definition at line 42 of file uimain.c.
Referenced by sec_out_mcs_data().
|
static |
Definition at line 288 of file secure.c.
Referenced by sec_sign(), and sec_update().
|
static |
Definition at line 295 of file secure.c.
Referenced by sec_sign(), and sec_update().