From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web11.3861.1585273741697116502 for ; Thu, 26 Mar 2020 18:49:01 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: jiewen.yao@intel.com) IronPort-SDR: KiofXuLiUZoKc3yGq75MlpAXeDhwpmGUMUz1cc3bUCUMRbUj3VpYBkU7wiqBCU8BA6EGPwZztq Q7wAOI9vY/Kg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2020 18:49:01 -0700 IronPort-SDR: 2EmiWUwVT5zxF74CoBL3/jFiacex7XdsC/unFnzc4ZgMdCmakBOV9Ay8JwK2imvLSIx181WnLp 8cHGFaewbWnQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,310,1580803200"; d="scan'208";a="241157151" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga008.jf.intel.com with ESMTP; 26 Mar 2020 18:49:00 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 26 Mar 2020 18:48:41 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 26 Mar 2020 18:48:40 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.50]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.86]) with mapi id 14.03.0439.000; Fri, 27 Mar 2020 09:48:37 +0800 From: "Yao, Jiewen" To: "Wang, Jian J" , "devel@edk2.groups.io" CC: "Zhang, Chao B" , "Mistry, Nishant C" Subject: Re: [PATCH v5 0/3] Add RpmcLib and VariableKeyLib Thread-Topic: [PATCH v5 0/3] Add RpmcLib and VariableKeyLib Thread-Index: AQHWA0MkauKbZNj5yEOE15Gacvh4b6hbrRSw Date: Fri, 27 Mar 2020 01:48:36 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503F99FF13@shsmsx102.ccr.corp.intel.com> References: <20200326074946.1304-1-jian.j.wang@intel.com> In-Reply-To: <20200326074946.1304-1-jian.j.wang@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: jiewen.yao@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jiewen.yao@intel.com > -----Original Message----- > From: Wang, Jian J > Sent: Thursday, March 26, 2020 3:50 PM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Zhang, Chao B > ; Mistry, Nishant C > Subject: [PATCH v5 0/3] Add RpmcLib and VariableKeyLib >=20 > > v5: change VariableRootKey to VariableKey >=20 > > v4: remove CounterId which should not be exposed >=20 > > v3: update retval description in RpmcLib.h and RpmcLibNull.c >=20 > > v2: change CounterIndex to CounterId in RpmcLib prototype. >=20 >=20 >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2594 >=20 > Patch branch: https://github.com/jwang36/edk2/tree/bz2594-part1-common- > interfaces-between-platform-and-edk2-v5 >=20 >=20 >=20 > Cc: Jiewen Yao >=20 > Cc: Chao Zhang >=20 > Cc: Nishant C Mistry >=20 > Jian J Wang (3): > SecurityPkg: add RpmcLib and VariableKeyLib public headers > SecurityPkg: add null version of RpmcLib > SecurityPkg: add null version of VariableKeyLib >=20 > SecurityPkg/Include/Library/RpmcLib.h | 42 ++++++++++++ > SecurityPkg/Include/Library/VariableKeyLib.h | 59 ++++++++++++++++ > SecurityPkg/Library/RpmcLibNull/RpmcLibNull.c | 47 +++++++++++++ > .../Library/RpmcLibNull/RpmcLibNull.inf | 33 +++++++++ > .../VariableKeyLibNull/VariableKeyLibNull.c | 67 +++++++++++++++++++ > .../VariableKeyLibNull/VariableKeyLibNull.inf | 33 +++++++++ > SecurityPkg/SecurityPkg.dec | 8 +++ > SecurityPkg/SecurityPkg.dsc | 8 +++ > 8 files changed, 297 insertions(+) > create mode 100644 SecurityPkg/Include/Library/RpmcLib.h > create mode 100644 SecurityPkg/Include/Library/VariableKeyLib.h > create mode 100644 SecurityPkg/Library/RpmcLibNull/RpmcLibNull.c > create mode 100644 SecurityPkg/Library/RpmcLibNull/RpmcLibNull.inf > create mode 100644 > SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.c > create mode 100644 > SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.inf >=20 > -- > 2.24.0.windows.2