ReactOS 0.4.16-dev-197-g92996da
|
#include "tomcrypt.h"
Go to the source code of this file.
Macros | |
#define | EN0 0 |
#define | DE1 1 |
Functions | |
static void | cookey (const ulong32 *raw1, ulong32 *keyout) |
static void | deskey (const unsigned char *key, short edf, ulong32 *keyout) |
static void | desfunc (ulong32 *block, const ulong32 *keys) |
int | des_setup (const unsigned char *key, int keylen, int num_rounds, des_key *des) |
int | des3_setup (const unsigned char *key, int keylen, int num_rounds, des3_key *des3) |
void | des_ecb_encrypt (const unsigned char *pt, unsigned char *ct, const des_key *des) |
void | des_ecb_decrypt (const unsigned char *ct, unsigned char *pt, const des_key *des) |
void | des3_ecb_encrypt (const unsigned char *pt, unsigned char *ct, const des3_key *des3) |
void | des3_ecb_decrypt (const unsigned char *ct, unsigned char *pt, const des3_key *des3) |
Variables | |
static const ulong32 | bytebit [8] |
static const ulong32 | bigbyte [24] |
static const unsigned char | pc1 [56] |
static const unsigned char | totrot [16] |
static const unsigned char | pc2 [48] |
static const ulong32 | SP1 [64] |
static const ulong32 | SP2 [64] |
static const ulong32 | SP3 [64] |
static const ulong32 | SP4 [64] |
static const ulong32 | SP5 [64] |
static const ulong32 | SP6 [64] |
static const ulong32 | SP7 [64] |
static const ulong32 | SP8 [64] |
static const ulong64 | des_ip [8][256] |
static const ulong64 | des_fp [8][256] |
Definition at line 1333 of file des.c.
Referenced by deskey().
Definition at line 1485 of file des.c.
Referenced by encrypt_block_impl(), and KsecDecryptMemoryDes3().
Definition at line 1473 of file des.c.
Referenced by encrypt_block_impl(), and KsecEncryptMemoryDes3().
Definition at line 1432 of file des.c.
Referenced by KsecGetDes3Key(), KsecInitializeEncryptionSupport(), and setup_key_impl().
Definition at line 1416 of file des.c.
Referenced by setup_key_impl().
Definition at line 1357 of file des.c.
Referenced by des3_ecb_decrypt(), des3_ecb_encrypt(), des_ecb_decrypt(), and des_ecb_encrypt().
Definition at line 1285 of file des.c.
Referenced by des3_setup(), des_setup(), key_decryptsession(), key_decryptsession_pk(), key_encryptsession(), key_encryptsession_pk(), key_get_conv(), SystemFunction004(), SystemFunction005(), SystemFunction024(), and SystemFunction025().
Definition at line 42 of file des.c.
Referenced by deskey().
Definition at line 54 of file des.c.
Referenced by deskey(), IopSuffixUnicodeString(), PostfixUnicodeString(), RtlPrefixString(), and RtlPrefixUnicodeString().
Definition at line 68 of file des.c.
Referenced by deskey(), IopSuffixUnicodeString(), PostfixUnicodeString(), RtlPrefixString(), and RtlPrefixUnicodeString().
Definition at line 76 of file des.c.
Referenced by desfunc().
Definition at line 96 of file des.c.
Referenced by desfunc().
Definition at line 116 of file des.c.
Referenced by desfunc().
Definition at line 136 of file des.c.
Referenced by desfunc().
Definition at line 156 of file des.c.
Referenced by desfunc().
Definition at line 176 of file des.c.
Referenced by desfunc().
Definition at line 196 of file des.c.
Referenced by desfunc().
Definition at line 216 of file des.c.
Referenced by desfunc().