aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/des.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-06-15 15:41:04 +0000
committerWerner Koch <[email protected]>1998-06-15 15:41:04 +0000
commit6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2 (patch)
tree7c4a888893a91b59753b3d89e59832f8c24ba039 /cipher/des.c
parentgnupg extension are now working (diff)
downloadgnupg-6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2.tar.gz
gnupg-6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2.zip
extensions are now working and fixed a lot of bugs
Diffstat (limited to 'cipher/des.c')
-rw-r--r--cipher/des.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/cipher/des.c b/cipher/des.c
index 53afbc3ca..3864b2214 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] = {