mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:17:45 +00:00
LibCrypt: Add LibCrypt, crypt, and crypt_r
This commit is contained in:
parent
58dd9f2d2a
commit
9dcbb263f1
4 changed files with 93 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue