Received: by mail.netbsd.org (Postfix, from userid 605) id 0DADB84E68; Tue, 12 Oct 2021 15:25:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3DEFB84E58 for ; Tue, 12 Oct 2021 15:25:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id K3SIQ5v3X-Dx for ; Tue, 12 Oct 2021 15:25:39 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id D0DB484E54 for ; Tue, 12 Oct 2021 15:25:39 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CE503FA97; Tue, 12 Oct 2021 15:25:39 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 12 Oct 2021 15:25:39 +0000 From: "Nia Alarie" Subject: CVS commit: src/lib/libcrypt To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20211012152539.CE503FA97@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Nia Alarie" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: nia Date: Tue Oct 12 15:25:39 UTC 2021 Modified Files: src/lib/libcrypt: crypt-argon2.c crypt.h pw_gensalt.c util.c Log Message: crypt(3): match the Argon2 reference implementation's Base64 exactly There are too many minor variations regarding padding and exact alphabet to safely use the implementation in libc or an existing implementation in libcrypt. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libcrypt/crypt-argon2.c \ src/lib/libcrypt/crypt.h cvs rdiff -u -r1.10 -r1.11 src/lib/libcrypt/pw_gensalt.c cvs rdiff -u -r1.2 -r1.3 src/lib/libcrypt/util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.