Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2502134lqo; Mon, 20 May 2024 07:50:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVeLKCp9tw5sh93iVnR7UcUurQFU3XZThBnW1FAp4sYUnOgFevFsweky4sBPLbeJSFJBo/EJQ2JfLSb8FAH0WYMDTRh2IZ6diZCIPe2BQ== X-Google-Smtp-Source: AGHT+IHYT/KvvJE1wcu70QhLUogtwC5PF6yZdpn6NB50Z9J2mohG2ODxePM/pHt0gUGov1Jne7Cq X-Received: by 2002:ad4:574d:0:b0:6ab:6dd0:80f3 with SMTP id 6a1803df08f44-6ab6dd08debmr16481016d6.24.1716216641317; Mon, 20 May 2024 07:50:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716216641; cv=pass; d=google.com; s=arc-20160816; b=XT3xA5FKDKgUGreUQXWLx7M7NZA/V7/MnotBW+ZQSEmyiR3OdHP8hlVOCrs7BoFapl 8XLv44tcPLuJbK4MsivSs7YNkYFstOuzl2iKVlOKqJLfK9vUbz/FGiNjIefJZ/KN3l4l VFWjSDw48oCVuca53FuR3n20QlXsLXlf8DN+7op8/UU0dIjs9tsKtiVE/k6LzLGOVrRF bPis444mS6jlQ9UN07J+jXwWO6oFHXpwQMFhsIPCxfA7EvmOvV1UkLXrGDeNMbcIWaw5 ITXOd/wOBUckNpnqPPez7nBvJIf6UdNpOJ0RELy7TZRQYFJGoLXr3RiN6cg1VDV7U3Vh sByw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:references:in-reply-to :date:cc:to:from:subject:message-id:dkim-signature:dkim-signature; bh=uMmpW9g+IaMswsI0CCSiOUNpXf2tCeC6j11hCorYUMs=; fh=6YI17pNENdQS9MAa76PvocMaTYhi+788oFB8oQfKH2M=; b=VnpC5QuRsvWMdKuN4yRtvE0oJHbvycmqFbyLmRSftowj+50XZtLV1jKnr2Fyw0Mk+H 3MhbBeJQenz/cicCqI+Tnvv8bnRenpendoakVAk2rry+vxdE94enrRNVujn7iEHIaXKE aTwoIXzjEdimoRn97zI0iIRbY/0aUOavHxbdno/rinjuWt6VTu8ww5zmnWtunnB/HWHT 9Y8JFaCZDHgj+j3cJMYpQ8NaG2tHURqQGmlyOz2piFuV4TNlpJChcIZHReP24nePj/2+ V3ApLBjEMBRWwpsgd/TR3WtWTRF5sj11dbszt1X6breuRhj2Wu5t8Y6YerG4+DCysVND yxNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=D+kk4AG0; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=D+kk4AG0; arc=pass (i=1 spf=pass spfdomain=hansenpartnership.com dkim=pass dkdomain=hansenpartnership.com dkim=pass dkdomain=hansenpartnership.com dmarc=pass fromdomain=hansenpartnership.com); spf=pass (google.com: domain of linux-kernel+bounces-183858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183858-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f30532esi257456566d6.570.2024.05.20.07.50.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 07:50:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=D+kk4AG0; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=D+kk4AG0; arc=pass (i=1 spf=pass spfdomain=hansenpartnership.com dkim=pass dkdomain=hansenpartnership.com dkim=pass dkdomain=hansenpartnership.com dmarc=pass fromdomain=hansenpartnership.com); spf=pass (google.com: domain of linux-kernel+bounces-183858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183858-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com 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 125071C20E9B for ; Mon, 20 May 2024 14:50:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 004C41369B7; Mon, 20 May 2024 14:50:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=hansenpartnership.com header.i=@hansenpartnership.com header.b="D+kk4AG0"; dkim=pass (1024-bit key) header.d=hansenpartnership.com header.i=@hansenpartnership.com header.b="D+kk4AG0" Received: from bedivere.hansenpartnership.com (bedivere.hansenpartnership.com [96.44.175.130]) (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 546591E878; Mon, 20 May 2024 14:50:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=96.44.175.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716216633; cv=none; b=nmXlPKO+tCkr26RCVNlXfO0sd9eoyjB8DYEi4cnWxYbpj5AhVX+N1IGsBSgjD5rj1fOU1HdKjSjDNhXuacImTXMueYPG9E7xJLRchLwvJvqv1XuUzzTFf7eC/BmPwhbLZ+UQJ8FCMG7gSEvO5JcHUBLM+lT5YIqGKpk2tNrUIIQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716216633; c=relaxed/simple; bh=a3b4/nDS8pHPvnKT7j0QAuoDnWKmn0konKkL0z8d35c=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=KEIhNv9oK4paCPmtDeUQnFcnfzZD0tZNKbXPVfVBiR92C3lohbpClvuAXUhu8N44ZZricN76ulonkniQ1dYCVBV3MLFAbHS5XEBTH8HJK4EzXVBUWrlWbA4m9J0LRbV3DDF3hhw8l1OBtEdpn2xHTsPGXkm/6eshyjimA4XW8jw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=HansenPartnership.com; spf=pass smtp.mailfrom=HansenPartnership.com; dkim=pass (1024-bit key) header.d=hansenpartnership.com header.i=@hansenpartnership.com header.b=D+kk4AG0; dkim=pass (1024-bit key) header.d=hansenpartnership.com header.i=@hansenpartnership.com header.b=D+kk4AG0; arc=none smtp.client-ip=96.44.175.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=HansenPartnership.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=HansenPartnership.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1716216630; bh=a3b4/nDS8pHPvnKT7j0QAuoDnWKmn0konKkL0z8d35c=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:From; b=D+kk4AG0QoCIjSouaPRINcQbpA2n+ukVzkMHBxe++5m1vX8AvqhxpMnBcRzOOikgI byZL9IzE/WUXrRlY0lX90yiIcYTRhToUfCIrc8Gvw5jOyP1qBe5MQr8Zs1iYzzml54 tVjmfvHbT1zsC7Rcuz2/P3siTEz0gxntrf5pt1t0= Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 5F2941285FA1; Mon, 20 May 2024 10:50:30 -0400 (EDT) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavis, port 10024) with ESMTP id Da-M4TCAyMMp; Mon, 20 May 2024 10:50:30 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1716216630; bh=a3b4/nDS8pHPvnKT7j0QAuoDnWKmn0konKkL0z8d35c=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:From; b=D+kk4AG0QoCIjSouaPRINcQbpA2n+ukVzkMHBxe++5m1vX8AvqhxpMnBcRzOOikgI byZL9IzE/WUXrRlY0lX90yiIcYTRhToUfCIrc8Gvw5jOyP1qBe5MQr8Zs1iYzzml54 tVjmfvHbT1zsC7Rcuz2/P3siTEz0gxntrf5pt1t0= Received: from lingrow.int.hansenpartnership.com (unknown [IPv6:2601:5c4:4302:c21::a774]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 88E8B1280773; Mon, 20 May 2024 10:50:29 -0400 (EDT) Message-ID: <41466b65a30a351d57869042e9f130cdb68aab5b.camel@HansenPartnership.com> Subject: Re: [PATCH] tpm: Disable TCG_TPM2_HMAC by default From: James Bottomley To: Jarkko Sakkinen , linux-integrity@vger.kernel.org Cc: keyrings@vger.kernel.org, Vitor Soares , Peter Huewe , Jason Gunthorpe , open list Date: Mon, 20 May 2024 10:50:28 -0400 In-Reply-To: <20240518113424.13486-1-jarkko@kernel.org> References: <20240518113424.13486-1-jarkko@kernel.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit On Sat, 2024-05-18 at 14:34 +0300, Jarkko Sakkinen wrote: > Causes performance drop in initialization so needs to be opt-in. > Distributors are capable of opt-in enabling this. Could be also > handled by kernel-command line in the future. > > Reported-by: Vitor Soares > Closes: > https://lore.kernel.org/linux-integrity/bf67346ef623ff3c452c4f968b7d900911e250c3.camel@gmail.com/#t Hey, there's no response on that thread verifying the primary generation is the culprit. Could we at least wait for a reply before taking such drastic action based on surmise? I'd be really surprised if it is primary generation. If I used an RSA primary it would be a problem (My oldest TPM takes a couple of minutes to generate one) but the longest I've seen an EC primary take to generate is still less than a second. James