From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web11.71234.1584374378715450970 for ; Mon, 16 Mar 2020 08:59:38 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: jian.j.wang@intel.com) IronPort-SDR: kZfLsCPbkCB0LiY6iFs03/C+LWsaGocawho8pUWVmaoLwuhE2DyP9iaxHHRq/FiJEQ5C6pUqX4 zoAavWIToc3A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2020 08:59:38 -0700 IronPort-SDR: KtHovAVYhKND/OR58MI/dI+ZNip7Y6tICrAX6ICgnPRR7efxV06RdlHeKfAEqsJ5cZLdeJpA4Q T2/ecXq38ccQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,561,1574150400"; d="scan'208";a="290736875" Received: from shwdeopensfp777.ccr.corp.intel.com ([10.239.158.78]) by FMSMGA003.fm.intel.com with ESMTP; 16 Mar 2020 08:59:37 -0700 From: "Wang, Jian J" To: devel@edk2.groups.io Cc: Jiewen Yao , Chao Zhang , Nishant C Mistry Subject: [PATCH v2 0/3] Add RpmcLib and VariableKeyLib Date: Mon, 16 Mar 2020 23:59:33 +0800 Message-Id: <20200316155936.2039-1-jian.j.wang@intel.com> X-Mailer: git-send-email 2.24.0.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable > v2: change CounterIndex to CounterId in RpmcLib prototype.=0D REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2594=0D Patch branch: https://github.com/jwang36/edk2/tree/bz2594-part1-common-inte= rfaces-between-platform-and-edk2-v2=0D =0D Cc: Jiewen Yao =0D Cc: Chao Zhang =0D Cc: Nishant C Mistry =0D Jian J Wang (3): SecurityPkg: add RpmcLib and VariableKeyLib public headers SecurityPkg: add null version of RpmcLib SecurityPkg: add null version of VariableKeyLib SecurityPkg/Include/Library/RpmcLib.h | 50 ++++++++++++++ SecurityPkg/Include/Library/VariableKeyLib.h | 59 ++++++++++++++++ SecurityPkg/Library/RpmcLibNull/RpmcLibNull.c | 55 +++++++++++++++ .../Library/RpmcLibNull/RpmcLibNull.inf | 33 +++++++++ .../VariableKeyLibNull/VariableKeyLibNull.c | 67 +++++++++++++++++++ .../VariableKeyLibNull/VariableKeyLibNull.inf | 33 +++++++++ SecurityPkg/SecurityPkg.dec | 8 +++ SecurityPkg/SecurityPkg.dsc | 8 +++ 8 files changed, 313 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/VariableKeyLibNu= ll.c create mode 100644 SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNu= ll.inf --=20 2.24.0.windows.2