From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web11.32483.1585208988652183387 for ; Thu, 26 Mar 2020 00:49:48 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: jian.j.wang@intel.com) IronPort-SDR: ikmSy54GcpD+xkvZdaFQgLenYaIkD5ZaBuXoaLvHWkMMkUcjt8ojuidTNT3fOVYizHHYy6yKtp BR8Ydg8EmCjg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2020 00:49:48 -0700 IronPort-SDR: qmvSYcRTNCH7dfDeAP8/41Z3t/3cQ5I5ULS+huGiewy/HP+l6b7dBfesL2pRaQn3VARnQeB81t SSnVPfLfsMOA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,307,1580803200"; d="scan'208";a="271080245" Received: from shwdeopensfp777.ccr.corp.intel.com ([10.239.158.78]) by fmsmga004.fm.intel.com with ESMTP; 26 Mar 2020 00:49:47 -0700 From: "Wang, Jian J" To: devel@edk2.groups.io Cc: Jiewen Yao , Chao Zhang , Nishant C Mistry Subject: [PATCH v5 0/3] Add RpmcLib and VariableKeyLib Date: Thu, 26 Mar 2020 15:49:43 +0800 Message-Id: <20200326074946.1304-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 > v5: change VariableRootKey to VariableKey=0D > v4: remove CounterId which should not be exposed=0D > v3: update retval description in RpmcLib.h and RpmcLibNull.c=0D > v2: change CounterIndex to CounterId in RpmcLib prototype.=0D =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-v5=0D =0D Cc: Jiewen Yao =0D Cc: Chao Zhang =0D Cc: Nishant C Mistry 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 | 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/VariableKeyLibNu= ll.c create mode 100644 SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNu= ll.inf --=20 2.24.0.windows.2