From patchwork Sun Jun 23 11:48:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 806894 Delivered-To: patch@linaro.org Received: by 2002:a5d:508d:0:b0:362:4979:7f74 with SMTP id a13csp1472283wrt; Sun, 23 Jun 2024 04:49:22 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVydSqV0NVRPyqJ/GE+L8i4GYeA/4BjGZmL76JYS0qftrJlEZ1n3grnOJDpwUNQdWKDLgW0apPBvtA0YbrO0qm6 X-Google-Smtp-Source: AGHT+IG4JkaPsq5CVu2+6UVL689nGbfNsOB7DpACQnsZ68iS8zB+BKVvKZxBl1RpZl2JJGyznpOH X-Received: by 2002:a17:906:37cf:b0:a70:3a15:110d with SMTP id a640c23a62f3a-a7245c642damr108375266b.69.1719143362267; Sun, 23 Jun 2024 04:49:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719143362; cv=none; d=google.com; s=arc-20160816; b=JzPNfPGhTWjtl40i5rZosjibYIEVQw4Ur8CAbyeEpLDt7x+vwRKooinVSKs99trhrp fuQjdiFmNuwop69DqFKaPIGfo8b0UBm9em0AwxqzLTc7SwzT/18ZH0Q6/5Zxi+0sI++O qYuWptVvb4adOV2zGUuZpYenXDj+c9HAijoQ/CA/A1uJre1WHMKXneLSxzOAmvNWkf7z aYV0fXAuGIet/tI5VYotsCUxhIDe2DfA1aIx4d2kgLhAn7reXEdwc4NhlaHtchIRyg1H xCuojQ0Dmye5kM9P68bSANNoG5SuLFsfQvv607sfBmNhcQsboEUi5ULfO3avf11vy/CM 0Edw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NJz2oYt4jSXTwcWTYQxqwNejhA7/1Al/S+D8dMqAk1g=; fh=FdnERacOg4fp3Ys7j20Hb1q13pUUBnX87rj98Oei+Ns=; b=hqB9CLwVANMTiTMZBdt93Vxhyqhx0JoE1+Xf20faWWEUseSFYvBcmfOH0kHIh3Cdc4 aDc+jP/6euOScIIBuB52t2BY4MgeDQmw0dpOZpm9/vYsEhC+oumfIo1G6+Ws4U/nPKnq GO2OPST6gfmZyQA/ImJ3jbQ2l5Y0LZIuwk7Vjz5v7b2pc1t/H6aPRtr3PPQLv2ByvbCS j1l1ZXT++8osO45Pl5VANkY+hdwfrePzCC/XtpP8luSij619Ac6ydznZAYI8pNExqspM tbOCxuppJ1BJz4Qqo7cZPZqcUXS+a6RHpFPbI6W1pVI6TAThp2EgyqiqFqvuTmI5njy9 W9/g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oZVCXEmn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a640c23a62f3a-a7247c89926si71429766b.987.2024.06.23.04.49.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 04:49:22 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oZVCXEmn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 09F9D883C8; Sun, 23 Jun 2024 13:49:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="oZVCXEmn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D9737882B8; Sun, 23 Jun 2024 13:48:58 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DEA5B883C8 for ; Sun, 23 Jun 2024 13:48:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2ec50a5e230so19858251fa.0 for ; Sun, 23 Jun 2024 04:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719143336; x=1719748136; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NJz2oYt4jSXTwcWTYQxqwNejhA7/1Al/S+D8dMqAk1g=; b=oZVCXEmn23Nub0scsZuD7M7ZqyyMZKsppvH1nQRYQISkHaCa3xdh/HrUN2TgxdB9LV Zv4ajb7TEXOW6CLRgT6fkIuIxBrMNFjqyR13e2XPrVZH8ZDFwRTREAsV6DOFqFT6sMvP Jy3TDBUdiubJimm275RY97Ofw0zfNSMRoKR227EsRIOTvt+LmGJh8HOXLLMC7qGA/Qma X1OjNBH1AhtT7TjFwKPPcSOaa4ZgGAGdug5AWlph0/2m9Gdrtlk/g0jzMar354wRGVdp os70vTOhCAMq6Z7sQzJVsVDuOAxoAXsB4KC5yNzWqx2D3hyhS421G09HuX1u48CIMgWK bmXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719143336; x=1719748136; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NJz2oYt4jSXTwcWTYQxqwNejhA7/1Al/S+D8dMqAk1g=; b=o9HSUaJSltGMXb491l9mi2Sz63gD0ZQvCle5XoHOIEQL3J6XnLLtQDycJ+JHXza0L1 NgWYAmejovrSlpEuzBDG33QUp/M/wh2PY+Pfhk6CQkS8sKNlMJro8GfRXMAMktCZhXr2 I8Dj7QfN90SIkU6lfX13YvtU0PXR3+DYH0qS204pJYv5X05yoFoeVMclQxG01yMwnfdr qeAE7fVohaA3ezePwo/J+g/VL78h5DX8nSU8w2JNftIyI2dHzXej6AvsAYeGtlZ9bDR6 aYrU80XwWFDzsXhUp1kJ0545bRoPjy/mhu6uzl0nF7wKa+UxZsbGOXlxQZWvt6wTt/iW gyLA== X-Forwarded-Encrypted: i=1; AJvYcCXttvSj77GEKzPEieJP40qPVkfv29917g3eR/YzOpGQ2ESvezNgKpWZCxA3qDmQEKhb+fk+XboMLp/zb+O0czanW4A6TQ== X-Gm-Message-State: AOJu0YyfvzkRqsLkrJc3EBoZ+2nSCtgeWFMaeJX8jJk537oc/9y6zCrU Ex2ZFi9mHMfVTfY35H/EvoKEwUX3bR/4uoxPXrsoFLd916cb8IFKyuszchzHj5E= X-Received: by 2002:a2e:b0f5:0:b0:2ec:4086:ea6d with SMTP id 38308e7fff4ca-2ec5b2695d9mr11802791fa.4.1719143335903; Sun, 23 Jun 2024 04:48:55 -0700 (PDT) Received: from localhost.localdomain (ppp046103020130.access.hol.gr. [46.103.20.130]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57d30534ffasm3402053a12.60.2024.06.23.04.48.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 04:48:55 -0700 (PDT) From: Ilias Apalodimas To: xypron.glpk@gmx.de, sjg@chromium.org, trini@konsulko.com Cc: Ilias Apalodimas , Eddie James , Mattijs Korpershoek , Tim Harvey , Bin Meng , Sean Anderson , Michal Simek , Manorit Chawdhry , Oleksandr Suvorov , AKASHI Takahiro , Masahisa Kojima , u-boot@lists.denx.de Subject: [PATCH v2 3/8] efi_loader: remove unused TCG algo definitions Date: Sun, 23 Jun 2024 14:48:13 +0300 Message-ID: <20240623114838.14639-4-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240623114838.14639-1-ilias.apalodimas@linaro.org> References: <20240623114838.14639-1-ilias.apalodimas@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean commit 97707f12fdab ("tpm: Support boot measurements") moved some of the EFI TCG code to the TPM subsystem. Those definitions are now in tpm-v2.h. Let's remove the stale entries Reviewed-by: Heinrich Schuchardt Signed-off-by: Ilias Apalodimas --- include/efi_tcg2.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/efi_tcg2.h b/include/efi_tcg2.h index a75b5a35b6e7..54490969b2d1 100644 --- a/include/efi_tcg2.h +++ b/include/efi_tcg2.h @@ -25,14 +25,6 @@ #define PE_COFF_IMAGE 0x0000000000000010 #define EFI_TCG2_MAX_PCR_INDEX 23 - -/* Algorithm Registry */ -#define EFI_TCG2_BOOT_HASH_ALG_SHA1 0x00000001 -#define EFI_TCG2_BOOT_HASH_ALG_SHA256 0x00000002 -#define EFI_TCG2_BOOT_HASH_ALG_SHA384 0x00000004 -#define EFI_TCG2_BOOT_HASH_ALG_SHA512 0x00000008 -#define EFI_TCG2_BOOT_HASH_ALG_SM3_256 0x00000010 - #define EFI_TCG2_FINAL_EVENTS_TABLE_VERSION 1 #define TPM2_EVENT_LOG_SIZE CONFIG_EFI_TCG2_PROTOCOL_EVENTLOG_SIZE