1#ifndef CRYPT_DES_H 2#define CRYPT_DES_H 3 4#ifdef __cplusplus 5extern "C" { 6#endif 7 8struct expanded_key { 9 uint32_t l[16], r[16]; 10}; 11 12char *_crypt_des_r(const char *key, const char *salt, char *outbuf); 13 14void __des_setkey(const unsigned char *, struct expanded_key *); 15void __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