From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 778041A1EC7 for ; Wed, 21 Sep 2016 19:49:00 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP; 21 Sep 2016 19:49:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,376,1470726000"; d="scan'208";a="11948330" Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by fmsmga005.fm.intel.com with ESMTP; 21 Sep 2016 19:49:00 -0700 Received: from orsmsx163.amr.corp.intel.com (10.22.240.88) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 21 Sep 2016 19:48:59 -0700 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.161]) by ORSMSX163.amr.corp.intel.com ([169.254.9.42]) with mapi id 14.03.0248.002; Wed, 21 Sep 2016 19:48:59 -0700 From: "Kinney, Michael D" To: Peter Jones , "edk2-devel@ml01.01.org" , "Kinney, Michael D" Thread-Topic: [edk2] [PATCH] Add Pkcs7VerifyPkg Thread-Index: AQHSFFhjOXAloG9DDEWVr8x0eCtGAqCEzhqg Date: Thu, 22 Sep 2016 02:48:58 +0000 Message-ID: References: <20160921223426.9796-1-pjones@redhat.com> In-Reply-To: <20160921223426.9796-1-pjones@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzA1NGQ5NmQtYzE4Ni00MGUzLTgyZTQtNzQ5MzVmNmYxZTM1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InIwaGJFR2RERm50d2srMDFDMnczWmtUcFZhd3JDdkV2RVk4OGNSRkw4UW89In0= x-originating-ip: [10.22.254.139] MIME-Version: 1.0 Subject: Re: [PATCH] Add Pkcs7VerifyPkg 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: Thu, 22 Sep 2016 02:49:00 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Peter, Instead of adding a new package, would it make more sense to add this DSC to the SecurityPkg? Actually, the SecurityPkg.dsc already builds this module. Does the current SecurityPkg.dsc use the correct lib mappings, PCD settings, and build flags= ? Thanks, Mike > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Pe= ter Jones > Sent: Wednesday, September 21, 2016 3:34 PM > To: edk2-devel@ml01.01.org > Cc: Peter Jones > Subject: [edk2] [PATCH] Add Pkcs7VerifyPkg >=20 > This patch adds a Pkcs7VerifyPkg package, which builds the Pkcs7Verify > DXE API as a standalone driver. This allows us to build a driver that > can be loaded on UEFI 2.4 systems, so that UEFI applications can move to > the newer APIs without breaking compatibility. >=20 > Signed-off-by: Peter Jones > --- > Pkcs7VerifyPkg/Pkcs7VerifyPkg.dec | 25 +++++++++++++++++ > Pkcs7VerifyPkg/Pkcs7VerifyPkg.dsc | 59 +++++++++++++++++++++++++++++++++= ++++++ > 2 files changed, 84 insertions(+) > create mode 100644 Pkcs7VerifyPkg/Pkcs7VerifyPkg.dec > create mode 100644 Pkcs7VerifyPkg/Pkcs7VerifyPkg.dsc >=20 > diff --git a/Pkcs7VerifyPkg/Pkcs7VerifyPkg.dec b/Pkcs7VerifyPkg/Pkcs7Veri= fyPkg.dec > new file mode 100644 > index 0000000..00d50c9 > --- /dev/null > +++ b/Pkcs7VerifyPkg/Pkcs7VerifyPkg.dec > @@ -0,0 +1,25 @@ > +## @file > +# > +# PKCS7 Verify Package > +# > +# PKCS7 Verify Driver > +# > +# This program and the accompanying materials are licensed and made ava= ilable > +# under the terms and conditions of the BSD License which accompanies t= his > +# distribution. The full text of the license may be found at > +# http://opensource.org/licenses/bsd-license.php > +# > +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, > +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR = IMPLIED. > +# > +## > + > +[Defines] > + DEC_SPECIFICATION =3D 0x00010005 > + PACKAGE_NAME =3D Pkcs7VerifyPkg > + PACKAGE_UNI_FILE =3D Pkcs7VerifyPkg.uni > + PACKAGE_GUID =3D 322d72de-efb5-4ef4-af15-294e31a562f= d > + PACKAGE_VERSION =3D 0.1 > + > +[Includes] > + Include > diff --git a/Pkcs7VerifyPkg/Pkcs7VerifyPkg.dsc b/Pkcs7VerifyPkg/Pkcs7Veri= fyPkg.dsc > new file mode 100644 > index 0000000..dff2ab2 > --- /dev/null > +++ b/Pkcs7VerifyPkg/Pkcs7VerifyPkg.dsc > @@ -0,0 +1,59 @@ > +## @file > +# > +# Build Binary Pkcs7Verify Driver Modules > +# > +# This program and the accompanying materials are licensed and made ava= ilable > +# under the terms and conditions of the BSD License which accompanies t= his > +# distribution. The full text of the license may be found at > +# http://opensource.org/licenses/bsd-license.php > +# > +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, > +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR = IMPLIED. > +# > +## > + > +[Defines] > + PLATFORM_NAME =3D Pkcs7Verify > + PLATFORM_GUID =3D 3346fed4-ba87-42f0-bbf2-ae2be12ad0f= 0 > + PLATFORM_VERSION =3D 0.1 > + DSC_SPECIFICATION =3D 0x00010005 > + SUPPORTED_ARCHITECTURES =3D IA32|X64|EBC|ARM|AARCH64 > + OUTPUT_DIRECTORY =3D Build/Pkcs7VerifyPkg > + BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT > + SKUID_IDENTIFIER =3D DEFAULT > + > +[BuildOptions] > + GCC:RELEASE_*_*_CC_FLAGS =3D -DMDEPKG_NDEBUG > + INTEL:RELEASE_*_*_CC_FLAGS =3D /D MDEPKG_NDEBUG > + MSFT:RELEASE_*_*_CC_FLAGS =3D /D MDEPKG_NDEBUG /ALIGN:256 > + RVCT:RELEASE_*_*_CC_FLAGS =3D -DMDEPKG_NDEBUG /ALIGN:256 > + > +[LibraryClasses] > + # > + # Entry Point Libraries > + # > + UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEnt= ryPoint.inf > + # > + # Common Libraries > + # > + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf > + > UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoot= ServicesTabl > eLib.inf > + > UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/Ue= fiRuntimeSer > vicesTableLib.inf > + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf > + > MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllo= cationLib.in > f > + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf > + OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf > + IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf > + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf > + > +[LibraryClasses.common.DXE_DRIVER] > + BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf > + > +[Components] > + # > + # PKCS7 Verification > + # > + SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf > -- > 2.10.0 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel