Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4160762imm; Mon, 6 Aug 2018 18:30:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpduyIOl05AmvFzO7CJWps5eFQIywjcXeSl/ywcSHI6ggzPjdTw9NhjMEYemeu3ZOXXzomKB X-Received: by 2002:a63:dd49:: with SMTP id g9-v6mr16395271pgj.356.1533605434224; Mon, 06 Aug 2018 18:30:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533605434; cv=none; d=google.com; s=arc-20160816; b=W7+ByxbnACRORmX9OP4hyMGvzNwWm/09zE2vXQQwzMzJum5c19mw3ZCJgg7eZwQy1J zgqGtjGM3uYNS8WHK5AjtDP+g4SuY6l6XtlzozNcubg+bPDN//wHpY+EeE+eaQwfnXs+ Rsy1eTXeeFP4QVaGjrKgK1+PceIBsOh7LTXc4yxzxHG5zCE8yOV89jd/3hn5zcvktK3u GN7e+GHpTphH5PB/AUhvL8mCnffRpaNdOyxhBYHGN+g4wOIw/PFBlCxeGkMptjvpU85D K+Us9LEfOYYpqhbpxtxlN/enWBuw+FKvD1TkiFt1jftdtM+L4vIuHAwn3TZ6GswD5jXz Sj/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=xpl9UkfuxnBAX7Cpn7tQ2VauhrmS9NR+My+Bl7Ey8EA=; b=uCuTOq+q1/hYYu5vXd4mTzsUcO4Kh6neYD71dwLBmy/RanvmRSEhTuBgPTP8ZxFceT wNgnfgqmUUda5r/mVxbczAKz4+n/+dBmlPjkfZUDvAeG0P93PV0xBGP9sPOSUjAd85Ev 9YRWud1BqT7whGGsPl9+orxPzzp9bUwbW2gCC0dFiVirF88KaPLAS4xFK+IXxLSew7yM 2Z2sbKTIgdU4Jtv3/iRIrfMbXK36FqI9KgEnHet2b8wapbSvqsBKKt9V8M00zYfzTo9u GA61/717NBYQlEUGUnsfTF9LApNTbhKZgVYsO7dGjxxOIyb42pFHAP0szF17WiCBzCPt MIrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QGNRtSpK; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d30-v6si3132pla.110.2018.08.06.18.30.18; Mon, 06 Aug 2018 18:30:34 -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=@kernel.org header.s=default header.b=QGNRtSpK; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733022AbeHGDb0 (ORCPT + 99 others); Mon, 6 Aug 2018 23:31:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:43078 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731982AbeHGDb0 (ORCPT ); Mon, 6 Aug 2018 23:31:26 -0400 Received: from gmail.com (unknown [104.132.51.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C92BC21A6D; Tue, 7 Aug 2018 01:19:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1533604778; bh=heOaBTjqd+t5oSyYNBPEIC0q42qH1ICNZU0NPNpU5/E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QGNRtSpKjWQ9Yqu/cFG5Ik7jUx/kQca5Udwi+ALR2o4+pEDx6Htq1AFm4eaBRIg/C 1Cy+UUcDmMSMLpI4htO3rc4JoLnHQd+4UFmJF1lnTTagNYR7m8kwxEdBRcdCp7/a/q gX0Wk3eZflDtUIKxDPHjunxlvFFCbpsO88rSXylk= Date: Mon, 6 Aug 2018 18:19:37 -0700 From: Eric Biggers To: "Jason A. Donenfeld" 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 Subject: Re: [PATCH] crypto: remove speck Message-ID: <20180807011937.GA133621@gmail.com> References: <20180806223300.113891-1-ebiggers@kernel.org> <20180806230437.21431-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180806230437.21431-1-Jason@zx2c4.com> User-Agent: Mutt/1.10.1+60 (20b17ca5) (2018-08-02) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jason, On Tue, Aug 07, 2018 at 01:04:37AM +0200, Jason A. Donenfeld wrote: > These are unused, undesired, and have never actually been used by > anybody. The original authors of this code have changed their mind about > its inclusion. Therefore, this patch removes it. > > Signed-off-by: Jason A. Donenfeld > Cc: stable@vger.kernel.org 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)? Also: "speck" => "Speck". 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 */ Otherwise: Acked-by: Eric Biggers For the record, I think the statements Paul and I have made evaluating Speck from a technical perspective remain substantially accurate. However, clearly today there are more than just technical considerations when choosing cryptographic primitives. So ultimately, enough people didn't *want* Speck that we weren't able to offer it, even though it was only meant to replace no encryption. We've also designed and proposed an alternative solution for the ARMv7 disk encryption use case, HPolyC. So given the above, and that I no longer know of any specific users of the Speck code (so in principle it can still be removed without breaking userspace), and that it's possible that similar considerations will make Speck difficult for others to use, and that some people heavily object to Speck being optionally supported in the kernel at all, I'm okay with it being removed... Thanks, - Eric