Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp5854rbb; Fri, 23 Feb 2024 09:56:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXRl0Mv6Lmls48GPf1zAXaPu/uEczDk6DFqSwQTH091bNBtDUhfyn3TO6rLL2Z/QBBMLZDJ4Js1Bg1qHx8gccrOZEYfMCf2A8KsmX3W9g== X-Google-Smtp-Source: AGHT+IEac6gmyqjHbVo5+DR/V+/QjQHj93qd675xwP/hjETRAswVt+FodgsAstAR0nL8JUlva04L X-Received: by 2002:a05:6808:1a0f:b0:3c1:823c:b1be with SMTP id bk15-20020a0568081a0f00b003c1823cb1bemr617585oib.37.1708710964260; Fri, 23 Feb 2024 09:56:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708710964; cv=pass; d=google.com; s=arc-20160816; b=jJoxMwxuuDuO2xusOgXRWIQ7tto2mM1/F0eQFWtJ7JjYZkwG+F5gaDA0X5Nl+FuHCn ++mwRtNUFVWvjgTZmdaQQgGd8ybW1UUj8cDpYBd10qZ1ez8MjNMhNNE0dBBLo9o6yAuI VlM44VSOE/TeuMVP6nmKlmDZ4fsa4tcwC8fm+ySCedwh+cN0MKtJpDNqkT86PwzK6B1O 8Ft2xRDtDAfUfX4m5dLiNnOFP7kcjU+TWia5FlgKlE8hnpGGNQjk8waMUqXwHK2FXAUq 6s+OVhHPZUfFJmLydhl9uIdADlIhBBHWu1lrZNn8KObrp42J20iL0H8YLP64YEVjdRzc KO8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2RHelr+Ph97AiMQ6PESS8TFDHLVaDkzRx9AB7ctN5iY=; fh=T5xa6nUxCXWh35151+Ywt9OOUsD7sIgT26CuPAljqc8=; b=RZcGBs+Y6zie99iaHoJsE/aj7nRJcuKFfT6EyLFI8exCVApZ+3ke+WZAIV4iyeY0UZ Sj+Ie8Qs//RxpWVdyhvMK7biWP74gQvp0E9p6fne3gUCDHKF4LPSMu3TlmWYXe2rsF7a tcyUGmhvwbfT9HFM9q5GJJyjVkrpnNl7qx8PLLaiUHmse6qgjznHdfhjfsUOwitVcpdQ BjL3AJrnAFccjj6xHlpGNJNUBjAPGY3NmcOHtSYn1hRRsLdih1vrkYOKQixKt3OqDzSI 1VhwJiAlBebn+HGBXJg3IP5qZYd0ToVAzdjXctZDm2Rku3ndHWEP74FtEf2c+cN8M333 HIyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sLDmk0vY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-2280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2280-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d3-20020a05620a240300b00787ac6c856bsi2901778qkn.362.2024.02.23.09.56.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:56:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sLDmk0vY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-2280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2280-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 09A7C1C2608E for ; Fri, 23 Feb 2024 17:55:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 65A1D1419AC; Fri, 23 Feb 2024 17:54:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sLDmk0vY" X-Original-To: linux-crypto@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 144FB13A88E; Fri, 23 Feb 2024 17:54:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708710892; cv=none; b=ndX5K2g9auAh9UGwwacaxuyprEonD9brJC8lv05H3hNbfWowmcINO4rX9G/3/xPWUeDOPaXHpZE2KLmqKAuT6/ulQ0wDvSfYSEUw5/iKkYHAZysa+/vOLDyGcoLo5Jx3OCCZfZyrGKMPq2S8vRXmInJ3tiygMHjFs8sAwD/e2YE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708710892; c=relaxed/simple; bh=QDQLjwhGjrv6J0gGJFn9+fBtaCu989tCcvRM0N4xN5I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SAZQEvjYOhoJ8QS9BHtW52RSgJJWEVa3Cv+meX4LZDVgfylYDclRR1Wv/fPOhpgYdS6fRV/RYiLzx/UuuW3EPEs27N3ApnL1w2KnVFgaz/I53BvO/YZ9S/EWjxJg78nBFlgxx+cF8rjMoY+kzwafolDiPIC/BQf/cs5j39i6zwY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sLDmk0vY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C556C43399; Fri, 23 Feb 2024 17:54:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708710891; bh=QDQLjwhGjrv6J0gGJFn9+fBtaCu989tCcvRM0N4xN5I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sLDmk0vYspblgOXAoC1hDGtndhtEX5ClQrqv4HwBrmPOeqoDPmCoH9QecDEkw4k+b le+AJCfHgTBFu7ME44ZsdGBgrPxx1XDntVzq7JqVKDEOoFe7olbmg8/Mlx14w0aKX4 3u2OB28AFlNz0RHygrPBtUvDPALSu+g3uUh4LE/RJbkhBQEe4R9IHYfaoPygrWlBkr x0UQuR43gmgaTidqfHdUjdCr9FiQFhBf9jBVPN6Dhm7K/Wnvc11ns7eAbOUh04bbb/ GIMVyqki0yi5QhPsaSZUOq/tLrKFAzL4NndRsVCcGlq6gjsrZFsKE8F/it6IfkWKaw 4h/c916YgvLHg== Date: Fri, 23 Feb 2024 09:54:49 -0800 From: Eric Biggers To: Andrew Cooper Cc: Ard Biesheuvel , Ross Philipson , linux-kernel@vger.kernel.org, x86@kernel.org, linux-integrity@vger.kernel.org, linux-doc@vger.kernel.org, linux-crypto@vger.kernel.org, kexec@lists.infradead.org, linux-efi@vger.kernel.org, dpsmith@apertussolutions.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, dave.hansen@linux.intel.com, mjg59@srcf.ucam.org, James.Bottomley@hansenpartnership.com, peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca, luto@amacapital.net, nivedita@alum.mit.edu, herbert@gondor.apana.org.au, davem@davemloft.net, kanth.ghatraju@oracle.com, trenchboot-devel@googlegroups.com Subject: Re: [PATCH v8 06/15] x86: Add early SHA support for Secure Launch early measurements Message-ID: <20240223175449.GA1112@sol.localdomain> References: <20240214221847.2066632-1-ross.philipson@oracle.com> <20240214221847.2066632-7-ross.philipson@oracle.com> <98ad92bb-ef17-4c15-88ba-252db2a2e738@citrix.com> <1a8e69a7-89eb-4d36-94d6-0da662d8b72f@citrix.com> <431a0b3a-47e5-4e61-a7fc-31cdf56f4e4c@citrix.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <431a0b3a-47e5-4e61-a7fc-31cdf56f4e4c@citrix.com> On Fri, Feb 23, 2024 at 04:42:11PM +0000, Andrew Cooper wrote: > > Yes, and I agree.? We're not looking to try and force this in with > underhand tactics. > > But a blind "nack to any SHA-1" is similarly damaging in the opposite > direction. > Well, reviewers have said they'd prefer that SHA-1 not be included and given some thoughtful reasons for that. But also they've given suggestions on how to make the SHA-1 support more palatable, such as splitting it into a separate patch and giving it a proper justification. All suggestions have been ignored. - Eric