diff options
author | Werner Koch <wk@gnupg.org> | 1998-06-15 15:41:03 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-06-15 15:41:03 +0000 |
commit | 91d9566516ffa468ebd1034f32f927d8864b1998 (patch) | |
tree | 514c963caac5144ebb1f54a4c451c3ecfebdd737 /cipher/des.c | |
parent | 9af004db0eb1d5585d8267fb45e08ba81738093c (diff) | |
download | libgcrypt-91d9566516ffa468ebd1034f32f927d8864b1998.tar.gz |
extensions are now working and fixed a lot of bugs
Diffstat (limited to 'cipher/des.c')
-rw-r--r-- | cipher/des.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cipher/des.c b/cipher/des.c index 53afbc3c..3864b221 100644 --- a/cipher/des.c +++ b/cipher/des.c @@ -25,7 +25,13 @@ #include <assert.h> #include "util.h" #include "types.h" -#include "des.h" + +#define DES_BLOCKSIZE 8 +#define DES_ROUNDS 16 + +typedef struct { + int tripledes; +} DES_context; static const int IP[64] = { |