summaryrefslogtreecommitdiff
path: root/src/crypt/encrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypt/encrypt.c')
-rw-r--r--src/crypt/encrypt.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/crypt/encrypt.c b/src/crypt/encrypt.c
index 9332a6de..216abc91 100644
--- a/src/crypt/encrypt.c
+++ b/src/crypt/encrypt.c
@@ -2,15 +2,7 @@
#include <stdlib.h>
#include <unistd.h>
-struct expanded_key {
- uint32_t l[16], r[16];
-};
-
-void __des_setkey(const unsigned char *key, struct expanded_key *ekey);
-void __do_des(uint32_t l_in, uint32_t r_in,
- uint32_t *l_out, uint32_t *r_out,
- uint32_t count, uint32_t saltbits, const struct expanded_key *ekey);
-
+#include "crypt_des.h"
static struct expanded_key __encrypt_key;