ReactOS 0.4.16-dev-59-gd481587
|
#include "precomp.h"
Go to the source code of this file.
Classes | |
struct | rc4_state |
struct | hash_context |
Macros | |
#define | HIBITMASK 0x80000000 |
#define | MAX_DIG_LEN 51 |
#define | MAX_DIGIT 0xffffffff |
#define | BITS_PER_DIGIT 32 |
#define | MAX_HALF_DIGIT 0xffff |
#define | B_J (MAX_HALF_DIGIT + 1) |
#define | LOHALF(x) ((DIGIT_T)((x) & 0xffff)) |
#define | HIHALF(x) ((DIGIT_T)((x) >> 16 & 0xffff)) |
#define | TOHIGH(x) ((DIGIT_T)((x) << 16)) |
#define | mpNEXTBITMASK(mask, n) |
Typedefs | |
typedef unsigned int | DIGIT_T |
Variables | |
static uint8 | g_ppk_n [72] |
static uint8 | g_ppk_d [108] |
#define B_J (MAX_HALF_DIGIT + 1) |
Definition at line 679 of file ssl_calls.c.
#define BITS_PER_DIGIT 32 |
Definition at line 677 of file ssl_calls.c.
#define HIBITMASK 0x80000000 |
Definition at line 674 of file ssl_calls.c.
#define MAX_DIG_LEN 51 |
Definition at line 675 of file ssl_calls.c.
#define MAX_DIGIT 0xffffffff |
Definition at line 676 of file ssl_calls.c.
#define MAX_HALF_DIGIT 0xffff |
Definition at line 678 of file ssl_calls.c.
Definition at line 684 of file ssl_calls.c.
Definition at line 673 of file ssl_calls.c.
Definition at line 39 of file ssl_calls.c.
Definition at line 26 of file ssl_calls.c.
Referenced by rdssl_cert_to_rkey(), rdssl_hash_info_create(), rdssl_hmac_md5(), rdssl_mod_exp(), rdssl_rc4_crypt(), rdssl_rc4_info_create(), and rdssl_rc4_set_key().
Definition at line 699 of file ssl_calls.c.
Referenced by mpDivide().
Definition at line 748 of file ssl_calls.c.
Referenced by mpDivide().
|
static |
Definition at line 1238 of file ssl_calls.c.
Referenced by mpModulo().
|
static |
Definition at line 1469 of file ssl_calls.c.
Referenced by rdssl_mod_exp().
|
static |
Definition at line 1384 of file ssl_calls.c.
Referenced by mpModMult().
Definition at line 1411 of file ssl_calls.c.
Referenced by mpModMult().
Definition at line 1199 of file ssl_calls.c.
Referenced by mpDivide().
Definition at line 783 of file ssl_calls.c.
Referenced by mpDivide(), mpModulo(), and rdssl_mod_exp().
Definition at line 771 of file ssl_calls.c.
Referenced by mpDivide(), mpModMult(), and mpModulo().
|
static |
Definition at line 809 of file ssl_calls.c.
Referenced by mpDivide(), and mpShortDiv().
|
static |
Definition at line 845 of file ssl_calls.c.
Referenced by mpDivide().
Definition at line 1140 of file ssl_calls.c.
Referenced by mpDivide().
Definition at line 795 of file ssl_calls.c.
Referenced by mpDivide(), and rdssl_mod_exp().
Definition at line 1117 of file ssl_calls.c.
Referenced by mpDivide().
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 291 of file ssl_calls.c.
Referenced by rdssl_md5_clear(), and rdssl_sha1_clear().
Definition at line 344 of file ssl_calls.c.
Referenced by rdssl_md5_complete(), and rdssl_sha1_complete().
Definition at line 218 of file ssl_calls.c.
Referenced by rdssl_md5_info_create(), and rdssl_sha1_info_create().
Definition at line 270 of file ssl_calls.c.
Referenced by rdssl_md5_info_delete(), and rdssl_sha1_info_delete().
Definition at line 321 of file ssl_calls.c.
Referenced by rdssl_md5_transform(), and rdssl_sha1_transform().
Definition at line 449 of file ssl_calls.c.
Referenced by rdp_send_logon_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 licence_process_new_license(), licence_process_platform_challenge(), licence_process_request(), sec_decrypt(), sec_encrypt(), and sec_update().
Definition at line 51 of file ssl_calls.c.
Referenced by licence_process_new_license(), licence_process_platform_challenge(), licence_process_request(), sec_generate_keys(), and sec_update().
Definition at line 90 of file ssl_calls.c.
Referenced by licence_process_new_license(), licence_process_platform_challenge(), licence_process_request(), sec_generate_keys(), and sec_update().
Definition at line 123 of file ssl_calls.c.
Referenced by licence_process_new_license(), licence_process_platform_challenge(), licence_process_request(), 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().
Definition at line 976 of file ssl_calls.c.
Referenced by mpDivide(), and mpShortDiv().
Definition at line 905 of file ssl_calls.c.
Referenced by mpMultiply(), mpMultSub(), and QhatTooBig().
Definition at line 882 of file ssl_calls.c.
Referenced by spDivide().
|
static |
Definition at line 1575 of file ssl_calls.c.
Referenced by rdssl_sign_ok().
|
static |
Definition at line 1562 of file ssl_calls.c.
Referenced by rdssl_sign_ok().