summaryrefslogtreecommitdiffstats
path: root/cipher/des.c
diff options
context:
space:
mode:
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] = {