|
@@ -2,15 +2,7 @@
|
|
#include <stdlib.h>
|
|
#include <stdlib.h>
|
|
#include <unistd.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;
|
|
static struct expanded_key __encrypt_key;
|
|
|
|
|