From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DED2CC433EF for ; Thu, 27 Jan 2022 19:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pY+GzVJoQrHZu6qXn92YKhEExNv+uce9+XYNd1cwiEs=; b=wqCubkd61CCb30 ZrNJwPn4B6ckYPoYHHIo4fSrgvQRavo8D9av+hB8vkoHFGw6Qdtso9/dsEnmr4y3S+KeQ2hNdgSGm xRWAhYjcE3yYZ8N4XL38ujUI91tZwSHTnwnGlpmCby+Y9I8GNUkAcv057Pcxmye8RoINynd6H7R6T 2OLH83vEBe44A6kmVyS2Rhe9v2ccGqsFrb9aykGu6cwnmZsSAIt2BLw9K2Ns/WWo4UuWm2Q/krlzp qRY44SXDG03/m+FppBwQ7LUY3mTqNl/Q22HstTTguu7zBRxOz9sPgT5Afz1ZEJ3qbVj3FM0duZrpm 0nINasisY/tpZX5UMeng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDAJh-00Gvct-Aw; Thu, 27 Jan 2022 19:20:21 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDAJe-00GvcV-D1 for linux-arm-kernel@lists.infradead.org; Thu, 27 Jan 2022 19:20:19 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DC366B8234F; Thu, 27 Jan 2022 19:20:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57E90C340E4; Thu, 27 Jan 2022 19:20:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643311215; bh=NTjizZsk233EJ0vZRxWy4nnxr+BH+D7tsdvUox2xP1o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TEMGwiEHQypOxnFhBI+PS5u913eN6VUEKsrsUkEAOo/HJGkIWWdwFYlMqSWSsHxYg Thclgk8FG+sunIl6U3epDO3e32fcD16MTRMc8fAcDauWe8kHp75k9yF0fZAY8+KLm2 BtIuGwJqzZPnJalNRud+ZsCSX0QRlc/isItBdjglMM27RF/TNEIKONC6dZ7yGOhIOC IT+j97aqsTDjUrGaW45tGmv3tpvJklMe04c+b54WKKL++3SW2qFOgAOQlTNb6toFty IKXrUWBNEpCMZf6aFpMRf/hee7PzKri++H3WziUnJVU/gEw7AK3xcHBmncjdFl33p3 oxeGXDe/Mp8Jw== Date: Thu, 27 Jan 2022 11:20:13 -0800 From: Eric Biggers To: Ard Biesheuvel Cc: Nathan Huckleberry , Linux Crypto Mailing List , Herbert Xu , "David S. Miller" , Linux ARM , Paul Crowley , Sami Tolvanen Subject: Re: [RFC PATCH 3/7] crypto: hctr2 - Add HCTR2 support Message-ID: References: <20220125014422.80552-1-nhuck@google.com> <20220125014422.80552-4-nhuck@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220127_112018_614272_CDC5FD6B X-CRM114-Status: GOOD ( 15.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jan 27, 2022 at 10:29:31AM +0100, Ard Biesheuvel wrote: > > diff --git a/crypto/hctr2.c b/crypto/hctr2.c > > new file mode 100644 > > index 000000000000..af43f81b68f3 > > --- /dev/null > > +++ b/crypto/hctr2.c > > @@ -0,0 +1,475 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * HCTR2 length-preserving encryption mode > > + * > > + * Copyright 2021 Google LLC > > Off by one? To be pedantic, AFAIK if the first version of a file was written in 2021, then it's correct to write 2021 even if it wasn't "published" yet. But writing 2022 instead would also be fine if updates were made in 2022 (and I'd recommend just doing that, to prevent people from thinking it's the wrong year :-) ). - Eric _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel