xref: /haiku/src/system/libroot/posix/musl/crypt/crypt_des.h (revision 6b8403b44b428c2aabd30116c956413cdebfad02)
1 #ifndef CRYPT_DES_H
2 #define CRYPT_DES_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 struct expanded_key {
9 	uint32_t l[16], r[16];
10 };
11 
12 char *_crypt_des_r(const char *key, const char *salt, char *outbuf);
13 
14 void __des_setkey(const unsigned char *, struct expanded_key *);
15 void __do_des(uint32_t, uint32_t, uint32_t *, uint32_t *,
16 	uint32_t, uint32_t, const struct expanded_key *);
17 
18 #ifdef __cplusplus
19 }
20 #endif
21 
22 #endif // CRYPT_DES_H
23