ReactOS 0.4.16-dev-983-g23ad936
|
Go to the source code of this file.
Classes | |
struct | tag_rc2_key |
struct | tag_des_key |
struct | tag_des3_key |
struct | tag_aes_key |
struct | tag_md2_state |
struct | rc4_prng |
union | Prng_state |
struct | mp_int |
struct | Rsa_key |
Typedefs | |
typedef ULONG64 | ulong64 |
typedef ULONG32 | ulong32 |
typedef struct tag_rc2_key | rc2_key |
typedef struct tag_des_key | des_key |
typedef struct tag_des3_key | des3_key |
typedef struct tag_aes_key | aes_key |
typedef struct tag_md2_state | md2_state |
typedef union Prng_state | prng_state |
typedef unsigned long | mp_digit |
typedef ulong64 | mp_word |
typedef int | mp_err |
typedef int | ltm_prime_callback(unsigned char *dst, int len, void *dat) |
typedef struct Rsa_key | rsa_key |
Variables | |
const char * | mp_s_rmap |
#define DIGIT_BIT 28 |
Definition at line 186 of file tomcrypt.h.
Definition at line 91 of file tomcrypt.h.
#define LTM_PRIME_2MSB_OFF 0x0004 /* force 2nd MSB to 0 */ |
Definition at line 211 of file tomcrypt.h.
#define LTM_PRIME_2MSB_ON 0x0008 /* force 2nd MSB to 1 */ |
Definition at line 212 of file tomcrypt.h.
Definition at line 209 of file tomcrypt.h.
Definition at line 210 of file tomcrypt.h.
#define MAX_RSA_SIZE 16384 |
Definition at line 454 of file tomcrypt.h.
#define MIN_RSA_SIZE 384 |
Definition at line 453 of file tomcrypt.h.
Definition at line 188 of file tomcrypt.h.
Definition at line 190 of file tomcrypt.h.
Definition at line 194 of file tomcrypt.h.
Definition at line 195 of file tomcrypt.h.
Definition at line 249 of file tomcrypt.h.
Definition at line 250 of file tomcrypt.h.
Definition at line 248 of file tomcrypt.h.
Definition at line 193 of file tomcrypt.h.
#define mp_mag_size | ( | mp | ) | mp_unsigned_bin_size(mp) |
Definition at line 439 of file tomcrypt.h.
Definition at line 189 of file tomcrypt.h.
Definition at line 201 of file tomcrypt.h.
#define MP_NEG 1 /* negative */ |
Definition at line 198 of file tomcrypt.h.
Definition at line 206 of file tomcrypt.h.
Definition at line 200 of file tomcrypt.h.
Definition at line 219 of file tomcrypt.h.
#define mp_prime_random | ( | a, | |
t, | |||
size, | |||
bbs, | |||
cb, | |||
dat | |||
) | mp_prime_random_ex(a, t, ((size) * 8) + 1, (bbs==1)?LTM_PRIME_BBS:0, cb, dat) |
Definition at line 399 of file tomcrypt.h.
Definition at line 203 of file tomcrypt.h.
#define mp_raw_size | ( | mp | ) | mp_signed_bin_size(mp) |
Definition at line 436 of file tomcrypt.h.
Definition at line 438 of file tomcrypt.h.
Definition at line 435 of file tomcrypt.h.
Definition at line 442 of file tomcrypt.h.
Definition at line 444 of file tomcrypt.h.
Definition at line 445 of file tomcrypt.h.
#define mp_tomag | ( | mp, | |
str | |||
) | mp_to_unsigned_bin((mp), (str)) |
Definition at line 440 of file tomcrypt.h.
Definition at line 443 of file tomcrypt.h.
#define mp_toraw | ( | mp, | |
str | |||
) | mp_to_signed_bin((mp), (str)) |
Definition at line 437 of file tomcrypt.h.
Definition at line 202 of file tomcrypt.h.
Definition at line 222 of file tomcrypt.h.
Definition at line 205 of file tomcrypt.h.
Definition at line 197 of file tomcrypt.h.
#define PK_PRIVATE 0 /* PK private keys */ |
Definition at line 449 of file tomcrypt.h.
#define PK_PUBLIC 1 /* PK public keys */ |
Definition at line 450 of file tomcrypt.h.
#define PRIME_SIZE 256 |
Definition at line 371 of file tomcrypt.h.
typedef struct tag_aes_key aes_key |
typedef struct tag_des3_key des3_key |
typedef struct tag_des_key des_key |
Definition at line 231 of file tomcrypt.h.
typedef struct tag_md2_state md2_state |
Definition at line 184 of file tomcrypt.h.
Definition at line 214 of file tomcrypt.h.
Definition at line 185 of file tomcrypt.h.
typedef union Prng_state prng_state |
typedef struct tag_rc2_key rc2_key |
Definition at line 84 of file tomcrypt.h.
Definition at line 79 of file tomcrypt.h.
anonymous enum |
Definition at line 42 of file tomcrypt.h.
Definition at line 1165 of file aes.c.
Definition at line 1064 of file aes.c.
Definition at line 937 of file aes.c.
Definition at line 1432 of file des.c.
Definition at line 125 of file md2.c.
Definition at line 891 of file mpi.c.
Definition at line 1032 of file mpi.c.
Definition at line 1156 of file mpi.c.
Definition at line 1917 of file mpi.c.
Definition at line 2228 of file mpi.c.
Definition at line 2354 of file mpi.c.
Definition at line 2391 of file mpi.c.
Definition at line 2807 of file mpi.c.
Definition at line 3107 of file mpi.c.
Definition at line 3382 of file mpi.c.
int mp_prime_random_ex | ( | mp_int * | a, |
int | t, | ||
int | size, | ||
int | flags, | ||
ltm_prime_callback | cb, | ||
void * | dat | ||
) |
Definition at line 3412 of file mpi.c.
Definition at line 3687 of file mpi.c.
Definition at line 3771 of file mpi.c.
Definition at line 3808 of file mpi.c.
Definition at line 159 of file rc2.c.
Definition at line 111 of file rc2.c.
Definition at line 53 of file rc2.c.
int rc4_ready | ( | prng_state * | prng | ) |
int rc4_start | ( | prng_state * | prng | ) |
int rsa_exptmod | ( | const unsigned char * | in, |
unsigned long | inlen, | ||
unsigned char * | out, | ||
unsigned long * | outlen, | ||
int | which, | ||
rsa_key * | key | ||
) |
Definition at line 180 of file rsa.c.
Definition at line 87 of file rsa.c.