From patchwork Fri Sep 3 01:55:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahisa Kojima X-Patchwork-Id: 506464 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp594171jai; Thu, 2 Sep 2021 18:54:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqm3k7S//QgjWK7o9FiULrupm2XGERnnFzDjAN4SWZdbgPZsqBnBQP9zAcvgS6meoEb7Ty X-Received: by 2002:aa7:c4ce:: with SMTP id p14mr1392454edr.175.1630634060019; Thu, 02 Sep 2021 18:54:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630634060; cv=none; d=google.com; s=arc-20160816; b=Klh8jJOKXMTReHA3sL2nlYPMs+F9V0ygtkB5xCGAroKfEDHWbjUvS2Jg/0u0XXGVQh 1JGZkWkUO1LWvWFYBDw+4agdi95knNZjuCKpAHUz0QgO3P/KZ7Q0HXBZk90NMrzMKjsY cBDRBr4v5E7vLX+WBHlF5ecr/Ft7j/Kb8syhkq1WM7GhOteKuNxccAQf5d/eOFSOJzCy Y5DzqRQu+L3KPjM4/mta0f6ey0fT+2kQNdgoMENaeriR2PblD9qYsXELGxpoNb1pAFTr 9NXxYTTB6ZR/BbJx8XPjxSNAVY+a4OfYB5qLa3Jmp5rZQapHAsbBt35PHRzfHTTgY1gh ThOQ== 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:message-id:date:subject:to:from :dkim-signature; bh=7steWrALR+XKls/yzCNjJ5HZMzU5n2o6xe3iBXizV8Q=; b=pSR4ZTCn45TiFd889yCfHMnTGqHpf4arQiDpSZQQTqUDUteiIPSThH8M4VVysTM7WJ zQ9y5lrFiK7Dp9mW8n5H2Kwsi7x4nZDJBqbS93JvUOWJrFJ7kQVAT+XpvK14a//neB79 eyrUM5rU8mOJ3j/LG++/QHn87hPhlS0A7uS6flTwgI2Wi+4zKpe8RfHo7Acs6WIYQoTI kEyu3nuYNL0ISngOlo+s8HhQbx7SvIHesquJfa+BTiwkxkmuQx4Au5GfBMorZTZfoIkK sKkkOqW37n+O7BXueMRRvRIRcF8H4OGOvvqjjwmopjNw69SnLcjOCj1dc/mAPGSkaBvg lFBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FWRxGbnH; 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 d7si3803490edq.7.2021.09.02.18.54.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Sep 2021 18:54:20 -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=FWRxGbnH; 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 A307D83503; Fri, 3 Sep 2021 03:54:14 +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="FWRxGbnH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5DCAC834F9; Fri, 3 Sep 2021 03:54:12 +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-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (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 CC480834BA for ; Fri, 3 Sep 2021 03:54:08 +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=masahisa.kojima@linaro.org Received: by mail-pg1-x535.google.com with SMTP id 8so3986768pga.7 for ; Thu, 02 Sep 2021 18:54:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id; bh=7steWrALR+XKls/yzCNjJ5HZMzU5n2o6xe3iBXizV8Q=; b=FWRxGbnHpwPYxClzoQCEpLhY/3nNwtHZJCZy89arEcQGGbU3e1YDrMJQhcc1ukYfO/ 9rV5VIuAv94YdGPzkHglyrRQDU5IJ/T1TLTHSfQFJKsu+egBUY4AxXGlrUC9YJNaz1f8 PUyGgW8RCi02WgStv60l//bLznKZ+l20rOfq5QTV7BtQ1RuyjL3SPQhaCXHoUi0O1dGE UbG/gpfuF+q0CgqVkPhzouc6WLo1F5dEK0kM4KlX37dmaWQyWHINY2DqaX3uRHEnGBQw +fNINbukxwZntNG5sYMDigf22Ho5shI7OVCwMsnP3Q2vb9BApBhBWqyXgOVZEpLSQWHk WTeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=7steWrALR+XKls/yzCNjJ5HZMzU5n2o6xe3iBXizV8Q=; b=lFnP3l7zI9HNmiyFYAFqoa2MryFtu9v8oTpTt5ws8L/O6uzqM0IzyZXR3mEDX8JHL5 jOhOeOnhLoasuxLciqRrE2RGzxHIJHJIDYlFaZ+yH5Ks1hiqtWnGa6R94ooi/1r/v8Jt e3Pzy1jT8pJGdR1v7sZkhOtgt8aQrAKNWjF5VTpW6fMn/2rBMxOMf+4F272HfKlSQKMc 4mTvJnNn6+CDTXvDImIIyJ1SeEm1b3C6EZ5BgKqb358LqHf0ojdx1X1JsfnlREQRNCmw GExESdAgDCo6vH8M6QhDbayLTsUCxwui4XHQfdkBDBPawzfMx/nyg93YArk5gxOe6oy7 feYw== X-Gm-Message-State: AOAM531NAZ5yc742kWtoay8LgzHJxQk8ocOchsCkLyPRGjOGwvLQOdGZ iZJiNBX8eMKmkwDdEy35W62d7A== X-Received: by 2002:a62:bd15:0:b029:31c:a584:5f97 with SMTP id a21-20020a62bd150000b029031ca5845f97mr956175pff.33.1630634047043; Thu, 02 Sep 2021 18:54:07 -0700 (PDT) Received: from localhost.localdomain ([2400:2411:502:a100:82fa:5bff:fe4b:26b1]) by smtp.gmail.com with ESMTPSA id g37sm4182198pgl.94.2021.09.02.18.54.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Sep 2021 18:54:06 -0700 (PDT) From: Masahisa Kojima To: Heinrich Schuchardt , Alexander Graf , Ilias Apalodimas , Simon Glass , AKASHI Takahiro , u-boot@lists.denx.de Subject: [PATCH 0/3] Miscellaneous fixes of efi_tcg2 Date: Fri, 3 Sep 2021 10:55:49 +0900 Message-Id: <20210903015552.17180-1-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Arm is preparing the BBSR(Base Boot Security Requirement) compiance test tool. This tool covers Measured Boot, it checks TCG EFI Protocol compliance. This patch series fix the failure items detected by this BBSR compliance test tool. Masahisa Kojima (3): efi_loader: add missing parameter check for EFI_TCG2_PROTOCOL api efi_loader: fix boot_service_capability_min calculation efi_loader: fix efi_tcg2_hash_log_extend_event() parameter check include/efi_tcg2.h | 4 +++- lib/efi_loader/efi_tcg2.c | 21 ++++++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) -- 2.17.1