Update Argon2 for cosmopolitan libc

This commit is contained in:
Paul Kulchenko 2021-09-15 17:24:36 -07:00 committed by Justine Tunney
parent 9e7773a076
commit 6fba9601ff
21 changed files with 486 additions and 1202 deletions

View file

@ -15,12 +15,12 @@
* software. If not, they may be obtained at the above URLs.
*/
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include <libc/isystem/stdint.h>
#include <libc/isystem/string.h>
#include <libc/isystem/stdio.h>
#include "blake2.h"
#include "blake2-impl.h"
#include "third_party/argon2/blake2.h"
#include "third_party/argon2/blake2-impl.h"
static const uint64_t blake2b_IV[8] = {
UINT64_C(0x6a09e667f3bcc908), UINT64_C(0xbb67ae8584caa73b),