Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp59039pxu; Tue, 15 Dec 2020 16:04:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwE9H9JfrhFDtKQAAy+gBFDIbP/oPHU1hxsWDR1x6xgpKv1JmSvUN5+lbOsbQ4e0oGNVsg X-Received: by 2002:a17:906:c254:: with SMTP id bl20mr7796563ejb.336.1608077087194; Tue, 15 Dec 2020 16:04:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608077087; cv=none; d=google.com; s=arc-20160816; b=H3jn2G5rzfEI6YMcM4AA8GLh5sveAR/JurUvRV0JXhuDbXcahM9jXgkubLn2Rm5eEs tECWMq5sEKlXT63HwUDEkwCIcaQUuTG2GJ+3ogr0Rc20Pi/p6zNG69dC8Q0KDbXB2Pea tOtteM5Kuv6mjmMgWm0rlJZQHIvAZQ6Qj0SEeINOaBgvlzR1Tvl2oe/lD3//U0CTbZmX 14Wx94shUn9SRytFHwJxM7iOc44XRwT30elBiZ0l0CHcpqrs35SyUIBDdXCzRaDKHPm+ Hsk2U3w26lvDhcumNoBEf8zx13NWgbfGthQQtcnZHM0BlVkJKnzHCZ/aevzkaDfQQJXo 7YFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YV2ZMs6HQkTlMDdVlx2yrX4xVHfkl5773syjzLWUB+0=; b=jD9/vlFY3xNbaHBBQt0smOc+KpKi0ISOxr3u3+zI0GaTVhX7OhKSpFjrjlh29XM6bE VzFXBYMsRU4/qIDhLE8zcvNRtd1oV5DMDJCpWS7YIQ0+sWE16jmKBz0c6wb7Wjy/Pnj5 12OUQsRVkiimgYg7rxHULPWd3znbQia9YoCAIYX6uxvbAdaneHPfDGtgMLbGsNKj+JxR 2mkHgLcvZzNQbE5/8adIq6aj5j4stFTSSW3hVLzRHghQSOx2T4fM0LXUv2s50JUwoXTP SXDM+xi4vd/hAEFdgvuJ9gpgQ1mVFbu+Ai5G6gx17TnQQacUY+PVScAnBTX0GWbgwlNh MY4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v25si56026ejx.201.2020.12.15.16.04.24; Tue, 15 Dec 2020 16:04:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725796AbgLPABg (ORCPT + 99 others); Tue, 15 Dec 2020 19:01:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:37774 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726312AbgLOXzY (ORCPT ); Tue, 15 Dec 2020 18:55:24 -0500 From: Eric Biggers Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-crypto@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , Herbert Xu , David Sterba , "Jason A . Donenfeld" , Paul Crowley Subject: [PATCH 4/5] crypto: blake2b - update file comment Date: Tue, 15 Dec 2020 15:47:07 -0800 Message-Id: <20201215234708.105527-5-ebiggers@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201215234708.105527-1-ebiggers@kernel.org> References: <20201215234708.105527-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Eric Biggers The file comment for blake2b_generic.c makes it sound like it's the reference implementation of BLAKE2b with only minor changes. But it's actually been changed a lot. Update the comment to make this clearer. Signed-off-by: Eric Biggers --- crypto/blake2b_generic.c | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/crypto/blake2b_generic.c b/crypto/blake2b_generic.c index fd5159b7aa9f2..c82a12dd47f17 100644 --- a/crypto/blake2b_generic.c +++ b/crypto/blake2b_generic.c @@ -1,21 +1,18 @@ // SPDX-License-Identifier: (GPL-2.0-only OR Apache-2.0) /* - * BLAKE2b reference source code package - reference C implementations + * Generic implementation of the BLAKE2b digest algorithm. Based on the BLAKE2b + * reference implementation, but it has been heavily modified for use in the + * kernel. The reference implementation was: * - * Copyright 2012, Samuel Neves . You may use this under the - * terms of the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at - * your option. The terms of these licenses can be found at: + * Copyright 2012, Samuel Neves . You may use this under + * the terms of the CC0, the OpenSSL Licence, or the Apache Public License + * 2.0, at your option. The terms of these licenses can be found at: * - * - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0 - * - OpenSSL license : https://www.openssl.org/source/license.html - * - Apache 2.0 : https://www.apache.org/licenses/LICENSE-2.0 + * - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0 + * - OpenSSL license : https://www.openssl.org/source/license.html + * - Apache 2.0 : https://www.apache.org/licenses/LICENSE-2.0 * - * More information about the BLAKE2 hash function can be found at - * https://blake2.net. - * - * Note: the original sources have been modified for inclusion in linux kernel - * in terms of coding style, using generic helpers and simplifications of error - * handling. + * More information about BLAKE2 can be found at https://blake2.net. */ #include -- 2.29.2