From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BD2EA1A1DF7 for ; Tue, 20 Sep 2016 03:51:45 -0700 (PDT) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP; 20 Sep 2016 03:51:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,367,1470726000"; d="scan'208";a="11682936" Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.9.9]) by orsmga004.jf.intel.com with ESMTP; 20 Sep 2016 03:51:44 -0700 From: Star Zeng To: edk2-devel@lists.01.org Cc: Star Zeng , Chao B Zhang , Jiewen Yao Date: Tue, 20 Sep 2016 18:51:27 +0800 Message-Id: <1474368693-180984-1-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 Subject: [PATCH 0/6] Move/Extract generic duplicated code to Tpm2CommandLib X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2016 10:51:45 -0000 These patches move/extract Tpm2PcrAllocateBanks(), Tpm2GetCapabilitySupportedAndActivePcrs(), CopyDigestListToBuffer(), GetDigestListSize() and GetDigestFromDigestList() to Tpm2CommandLib. Cc: Chao B Zhang Cc: Jiewen Yao Jiewen Yao (5): SecuriryPkg/TPM2: Move Tpm2PcrAllocateBanks() to Tpm2CommandLib SecuriryPkg/TPM2: Move GetDigestFromDigestList() to Tpm2CommandLib SecuriryPkg/TPM2: Move GetDigestListSize() to Tpm2CommandLib SecuriryPkg/TPM2: Move CopyDigestListToBuffer() to Tpm2CommandLib SecuriryPkg/TPM2: Extract GetSupportedAndActivePcrs to Tpm2CommandLib Star Zeng (1): SecuriryPkg/TPM2: Update function header of GetDigestFromDigestList() SecurityPkg/Include/Library/Tpm2CommandLib.h | 85 ++++++++- .../DxeTcg2PhysicalPresenceLib.c | 150 +--------------- .../Library/Tpm2CommandLib/Tpm2Capability.c | 92 ++++++++++ SecurityPkg/Library/Tpm2CommandLib/Tpm2Help.c | 147 +++++++++++++++- SecurityPkg/Library/Tpm2CommandLib/Tpm2Integrity.c | 134 +++++++++++++++ SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 191 +-------------------- SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 145 +--------------- SecurityPkg/Tcg/TrEEDxe/TrEEDxe.c | 37 +--- SecurityPkg/Tcg/TrEEPei/TrEEPei.c | 37 +--- 9 files changed, 470 insertions(+), 548 deletions(-) -- 2.7.0.windows.1