fix arm __tlsdesc_dynamic when built as thumb code without __ARM_ARCH>=5
[musl] / src / crypt / encrypt.c
index 9332a6d..216abc9 100644 (file)
@@ -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;