ReactOS 0.4.16-dev-117-g38f21f9
|
#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.
Definition at line 1432 of file des.c.
Definition at line 1357 of file des.c.
Definition at line 1285 of file des.c.