Home | History | Annotate | Download | only in libcrypt

Lines Matching refs:argon2

1 /*	$NetBSD: crypt-argon2.c,v 1.22 2024/07/23 22:37:11 riastradh Exp $	*/
30 __RCSID("$NetBSD: crypt-argon2.c,v 1.22 2024/07/23 22:37:11 riastradh Exp $");
45 #include <argon2.h>
69 #define ARGON2_ARGON2_STR "argon2"
162 /* low values from argon2 test suite... */
163 uint32_t memory = 256; /* 256k; argon2 wants kilobytes */
249 /* process params to argon2 */
251 /* but we do provide the expected order to argon2 api */
306 /* parse labelled argon2 params */
384 /* argon2 variable, default to id */
386 /* default to current argon2 version */
387 /* argon2 context to collect params */
389 /* argon2 encoded buffer */
391 /* argon2 salt buffer */
393 /* argon2 pwd buffer */
412 /* decode salt string to argon2 params */
413 /* argon2 context for param collection */
427 fprintf(stderr, "argon2: failed: %s\n",