From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com []) by mx.groups.io with SMTP id smtpd.web12.10675.1594885483457594320 for ; Thu, 16 Jul 2020 00:44:53 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: qi1.zhang@intel.com) IronPort-SDR: R6T17uICG+oPz1jssXs4Gys0dxOJI2HwsBasOL1gjGpHr5HPzFlqSCtE3D5+AK8UzDsjmv42Ut MCW/4NO8AmyA== X-IronPort-AV: E=McAfee;i="6000,8403,9683"; a="214071709" X-IronPort-AV: E=Sophos;i="5.75,358,1589266800"; d="scan'208";a="214071709" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2020 00:44:52 -0700 IronPort-SDR: 6M6QzpF+pSyTWKUEhGbik/Gi43WuOn/RpV5rz+FiAZVuyqj8q///esR0w0PWTr8MO32OIhrc6S GHUjODVOCAkg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,358,1589266800"; d="scan'208";a="430407279" Received: from shwdesssddpdqi.ccr.corp.intel.com ([10.239.9.10]) by orsmga004.jf.intel.com with ESMTP; 16 Jul 2020 00:44:50 -0700 From: Qi Zhang To: devel@edk2.groups.io Cc: Qi Zhang , Michael D Kinney , Liming Gao , Jiewen Yao Subject: [PATCH v2 7/7] MdePkg/Tcg2Protocol: define Flag EFI_TCG2_PRE_HASH Date: Thu, 16 Jul 2020 15:44:29 +0800 Message-Id: <20200716074430.9675-8-qi1.zhang@intel.com> X-Mailer: git-send-email 2.26.2.windows.1 In-Reply-To: <20200716074430.9675-1-qi1.zhang@intel.com> References: <20200716074430.9675-1-qi1.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2841 Cc: Michael D Kinney Cc: Liming Gao Cc: Jiewen Yao Cc: Qi Zhang Signed-off-by: Qi Zhang --- MdePkg/Include/Protocol/Tcg2Protocol.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MdePkg/Include/Protocol/Tcg2Protocol.h b/MdePkg/Include/Protoc= ol/Tcg2Protocol.h index 5ef13cc607..4659802251 100644 --- a/MdePkg/Include/Protocol/Tcg2Protocol.h +++ b/MdePkg/Include/Protocol/Tcg2Protocol.h @@ -98,6 +98,10 @@ typedef struct tdEFI_TCG2_BOOT_SERVICE_CAPABILITY { //=0D #define EFI_TCG2_EXTEND_ONLY 0x0000000000000001=0D //=0D +// This bit is shall be set when HashData is the pre-hash digest.=0D +//=0D +#define EFI_TCG2_PRE_HASH 0x0000000000000010=0D +//=0D // This bit shall be set when the intent is to measure a PE/COFF image.=0D //=0D #define PE_COFF_IMAGE 0x0000000000000010=0D --=20 2.26.2.windows.1