public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Peter Jones <pjones@redhat.com>
To: edk2-devel@ml01.01.org
Cc: Peter Jones <pjones@redhat.com>
Subject: [PATCH] Add Pkcs7VerifyPkg
Date: Wed, 21 Sep 2016 18:34:26 -0400	[thread overview]
Message-ID: <20160921223426.9796-1-pjones@redhat.com> (raw)

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.

Signed-off-by: Peter Jones <pjones@redhat.com>
---
 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

diff --git a/Pkcs7VerifyPkg/Pkcs7VerifyPkg.dec b/Pkcs7VerifyPkg/Pkcs7VerifyPkg.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 available
+#  under the terms and conditions of the BSD License which accompanies this
+#  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              = 0x00010005
+  PACKAGE_NAME                   = Pkcs7VerifyPkg
+  PACKAGE_UNI_FILE               = Pkcs7VerifyPkg.uni
+  PACKAGE_GUID                   = 322d72de-efb5-4ef4-af15-294e31a562fd
+  PACKAGE_VERSION                = 0.1
+
+[Includes]
+  Include
diff --git a/Pkcs7VerifyPkg/Pkcs7VerifyPkg.dsc b/Pkcs7VerifyPkg/Pkcs7VerifyPkg.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 available
+#  under the terms and conditions of the BSD License which accompanies this
+#  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                  = Pkcs7Verify
+  PLATFORM_GUID                  = 3346fed4-ba87-42f0-bbf2-ae2be12ad0f0
+  PLATFORM_VERSION               = 0.1
+  DSC_SPECIFICATION              = 0x00010005
+  SUPPORTED_ARCHITECTURES        = IA32|X64|EBC|ARM|AARCH64
+  OUTPUT_DIRECTORY               = Build/Pkcs7VerifyPkg
+  BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
+  SKUID_IDENTIFIER               = DEFAULT
+
+[BuildOptions]
+  GCC:RELEASE_*_*_CC_FLAGS             = -DMDEPKG_NDEBUG
+  INTEL:RELEASE_*_*_CC_FLAGS           = /D MDEPKG_NDEBUG
+  MSFT:RELEASE_*_*_CC_FLAGS            = /D MDEPKG_NDEBUG /ALIGN:256
+  RVCT:RELEASE_*_*_CC_FLAGS            = -DMDEPKG_NDEBUG /ALIGN:256
+
+[LibraryClasses]
+  #
+  # Entry Point Libraries
+  #
+  UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
+  #
+  # Common Libraries
+  #
+  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
+  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
+  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
+  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
+  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
+  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
+  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



             reply	other threads:[~2016-09-21 22:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21 22:34 Peter Jones [this message]
2016-09-22  2:48 ` [PATCH] Add Pkcs7VerifyPkg Kinney, Michael D

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160921223426.9796-1-pjones@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox