Module Name: src Committed By: nia Date: Tue Oct 12 13:24:21 UTC 2021
Modified Files: src/tests/lib/libcrypt: t_crypt.c Log Message: remove comment, it's fixed To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libcrypt/t_crypt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libcrypt/t_crypt.c diff -u src/tests/lib/libcrypt/t_crypt.c:1.5 src/tests/lib/libcrypt/t_crypt.c:1.6 --- src/tests/lib/libcrypt/t_crypt.c:1.5 Tue Oct 12 13:24:00 2021 +++ src/tests/lib/libcrypt/t_crypt.c Tue Oct 12 13:24:21 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: t_crypt.c,v 1.5 2021/10/12 13:24:00 nia Exp $ */ +/* $NetBSD: t_crypt.c,v 1.6 2021/10/12 13:24:21 nia Exp $ */ /* * This version is derived from the original implementation of FreeSec @@ -61,7 +61,7 @@ * by now. The code requires a 32-bit integer type, though. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_crypt.c,v 1.5 2021/10/12 13:24:00 nia Exp $"); +__RCSID("$NetBSD: t_crypt.c,v 1.6 2021/10/12 13:24:21 nia Exp $"); #include <atf-c.h> #include <stdio.h> @@ -111,10 +111,6 @@ static const struct { /* 31 */ { "_/!......", "" }, /* invalid character in count */ /* 32 */ { "_/......!", "" }, /* invalid character in salt */ #if defined(HAVE_ARGON2) -/* - * The below are reference values from the official Argon2 test suite. - * NOTE: Upstream Argon2 uses base64-encoded salts, whereas NetBSD doesn't... - */ /* Argon2i version number 16 */ /* 33 */ { "$argon2i$v=16$m=256,t=2,p=1$c29tZXNhbHQ$/U3YPXYsSb3q9XxHvc0MLxur+GP960kN9j7emXX8zwY", "password" }, /* 34 */ { "$argon2i$v=16$m=65536,t=1,p=1$c29tZXNhbHQ$gWMFUrjzsfSM2xmSxMZ4ZD1JCytetP9sSzQ4tWIXJLI", "password" },