mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibCrypt: Add LibCrypt, crypt, and crypt_r
This commit is contained in:
parent
58dd9f2d2a
commit
9dcbb263f1
Notes:
sideshowbarker
2024-07-19 04:31:05 +09:00
Author: https://github.com/petelliott
Commit: 9dcbb263f1
Pull-request: https://github.com/SerenityOS/serenity/pull/2879
Issue: https://github.com/SerenityOS/serenity/issues/1168
Reviewed-by: https://github.com/BenWiederhake
Reviewed-by: https://github.com/awesomekling
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