LibCrypt: Add LibCrypt, crypt, and crypt_r

This commit is contained in:
Peter Elliott 2020-07-24 21:08:48 -06:00 committed by Andreas Kling
commit 9dcbb263f1
Notes: sideshowbarker 2024-07-19 04:31:05 +09:00
4 changed files with 93 additions and 0 deletions

View file

@ -179,4 +179,12 @@ enum {
};
long sysconf(int name);
struct crypt_data {
int initialized;
char result[65];
};
char* crypt(const char* key, const char* salt);
char* crypt_r(const char* key, const char* salt, struct crypt_data* data);
__END_DECLS