mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-14 23:09:16 +00:00
Update Argon2 for cosmopolitan libc
This commit is contained in:
parent
9e7773a076
commit
6fba9601ff
21 changed files with 486 additions and 1202 deletions
12
third_party/argon2/argon2.c
vendored
12
third_party/argon2/argon2.c
vendored
|
@ -15,13 +15,13 @@
|
|||
* software. If not, they may be obtained at the above URLs.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <libc/isystem/string.h>
|
||||
#include <libc/isystem/stdlib.h>
|
||||
#include <libc/isystem/stdio.h>
|
||||
|
||||
#include "argon2.h"
|
||||
#include "encoding.h"
|
||||
#include "core.h"
|
||||
#include "third_party/argon2/argon2.h"
|
||||
#include "third_party/argon2/encoding.h"
|
||||
#include "third_party/argon2/core.h"
|
||||
|
||||
const char *argon2_type2string(argon2_type type, int uppercase) {
|
||||
switch (type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue