Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4225769imm; Mon, 6 Aug 2018 20:15:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd5pxTgxB17nrmstk0aUTf5dt0+fR7FFcwpRCMdYiK19FSohkE7cubL1yyRuHlkSHbAVdp6 X-Received: by 2002:a63:181e:: with SMTP id y30-v6mr16535433pgl.82.1533611725900; Mon, 06 Aug 2018 20:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533611725; cv=none; d=google.com; s=arc-20160816; b=nKiFfetwJV4qWh00rvCojIx3ubgyt4tUIOf47r/0Do+0adfRBUb7v9WoyvO82CiOBQ F01JaUxjkqfdK3Z6TGhZ6Hxl4qkFi7QghH+3Tfa3hP28bwEyylyjU+lUGwJB83fuxbRa zdtqUxElV3/906XHAX7QsAuFesDfl2Dx5CUpYWRPPHCShpYoD7T4O29OWv2M0VyB2opO K+44sDX3SQWn087QMSc0IKmENhojEKcCe6PiFuthpdYT98CyjAKj8lOQAXKnLfAg9eSd aeIJ2jCrZTz03RKXSW51mfrsdvs4PYCvH6US6JeigDKGPyXOh2BB9Iv/j6s4TLXmWg9v PXKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=NMVmTYl2IIqqXq6GB0d+LCBRfp+NMq8f2zTxd2EB50g=; b=zW7hlxJJDBDJEt7PjXLM96PeUKmcmD+XaZxT+a88AW2sy026aqOEjFs4ddz3twhNz3 GMdL5POz+6CTNozuZ1v2OVYuowXYnDz8iY0T1B0T4IxitKh2VTwvlvz5x/H8EHSoBSOO 0LAksXVZGLOpnPZQNR2EIY1YPa/iwVOctJTvvuWyLQCVvYUllOLQQ4U7QjKGsVCuu8gY QZ/EBP7lQ4Cm1OqHN20n1fsMySCap9z99MnEjz8aIYqSBtb7JLM9YdenJxLgRWGGrdI0 1EZqX3ZTEO/9yCR4t6RIg3BFTlCICequroDh7cusyrXxJaKqArDG/XK3qAsgMB9c0tAW 3QtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=dNtzGBpu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si197433plc.205.2018.08.06.20.14.58; Mon, 06 Aug 2018 20:15:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=dNtzGBpu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727648AbeHGEub (ORCPT + 99 others); Tue, 7 Aug 2018 00:50:31 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:56573 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbeHGEub (ORCPT ); Tue, 7 Aug 2018 00:50:31 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id bbdb5ac4; Tue, 7 Aug 2018 02:26:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :in-reply-to:references:from:date:message-id:subject:to:cc :content-type; s=mail; bh=ZbHDkHFWMwT82INk5r23mnu6Mb4=; b=dNtzGB puLE54JidZB35dsIlj7MG6bjP/rsJvtflgPdKmMeCPsbvVLXXAEpa8/sarpw/A9O WgH9C/h2QDBMZCAebHmTnTR0y7G9Cx4YhtIVqnfDF53LsFVCi392Q031gFiSLIBu lJkGNZn9JFXV+3TZ+arIR/Crj1JthqVCxbyfVBEodqqV+Mn+yeZCl3uXsHYPTZpb UTW2y+RUIG4rNW4Yt3ctKqrCek070YVLzFByQAeB++KzRmEhClkREPewQ8KR10Qv vRgxtPmoeoee+f09rgwuR6qCFNUQpdKZ0Nz8/SrHSeyWOyXWHJxPkR4LotG3pSmw A81KqjkStDgOtKmA== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 8070c34e (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO); Tue, 7 Aug 2018 02:26:15 +0000 (UTC) Received: by mail-oi0-f53.google.com with SMTP id d189-v6so25830704oib.6; Mon, 06 Aug 2018 19:38:24 -0700 (PDT) X-Gm-Message-State: AOUpUlG4Yok4QqIbiyBV4avuah1jPleCG6emggLXEsxs2UqSwE+uaH/O eAo3ng2bIvJbwu1sIT0teXKftdmAQkbi8ZkSqzg= X-Received: by 2002:aca:3e56:: with SMTP id l83-v6mr18439038oia.170.1533609504080; Mon, 06 Aug 2018 19:38:24 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:a025:0:0:0:0:0 with HTTP; Mon, 6 Aug 2018 19:38:23 -0700 (PDT) In-Reply-To: <20180807011937.GA133621@gmail.com> References: <20180806223300.113891-1-ebiggers@kernel.org> <20180806230437.21431-1-Jason@zx2c4.com> <20180807011937.GA133621@gmail.com> From: "Jason A. Donenfeld" Date: Mon, 6 Aug 2018 22:38:23 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] crypto: remove speck To: Eric Biggers Cc: linux-crypto@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Herbert Xu , Paul Crowley , Greg Kaiser , Michael Halcrow , Samuel Neves , Tomer Ashur , stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/6/18, Eric Biggers wrote: > > For context, in your commit message can you include a link to my email > mentioning Android's Speck decision > (https://marc.info/?l=linux-crypto-vger&m=153359499015659)? Sure. > > Also: "speck" => "Speck". Ack. > > Also I think the fscrypt code points should be reserved so they don't > get reused for something else: > > #define FS_ENCRYPTION_MODE_SPECK128_256_XTS 7 /* removed */ > #define FS_ENCRYPTION_MODE_SPECK128_256_CTS 8 /* removed */ I thought about this too, but it occurred to me it's highly improbable these were ever used, and I thought it shinier not to leave scars. But if you feel strongly about it, no problem, I'll fix that up and send in a v2 shortly. > > For the record, I think the statements Paul and I have made evaluating > Speck from a technical perspective remain substantially accurate. It wasn't my intention to relitigate this, hence the rather short commit message. You said your thing, Tomer said his, and now I'm just trying to clear out the leftover soda cans. > We've also designed and proposed > an alternative solution for the ARMv7 disk encryption use case, HPolyC. This sounds like a nice and interesting outcome of the whole thing. I'll certainly be looking forward to reading analyses of HPolyC as they come out.