Update OpensslLib INF files to support OpenSSL-1.1.0x source build. The file list was generated from the latest OpenSSL-1.1.0e release. Main changes to support OpensslLib build in this patch include: 1. Use "openssl" instead of "openssl-x.x.xx" as main source directory, Also update include path in CryptoPkg.dec 2. Enable warnings in GCC builds; 3. Update Visual Studio build options to silence current possible build warnings. 4. Move the default opensslconf.h to Include/openssl, and add one dummy dso_conf.h for native UEFI build. The OpensslLib module build was validated as build -t VSXXXX -a XX -p CryptoPkg/CryptoPkg.dsc -m CryptoPkg/Library/OpensslLib/OpensslLib.inf (NOTE: The extra build options for ARM/RVCT/XCODE were kept, which expect further optimizations from community) Cc: Ting Ye <ting.ye@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Gary Lin <glin@suse.com> Cc: Ronald Cron <ronald.cron@arm.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Qin Long <qin.long@intel.com> Reviewed-by: Ting Ye <ting.ye@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Gary Lin <glin@suse.com>
45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
## @file
|
|
# Package for cryptography modules.
|
|
#
|
|
# This Package provides cryptographic-related libraries for UEFI security modules.
|
|
# It also provides a test application to test libraries.
|
|
#
|
|
# Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
|
|
# 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 = CryptoPkg
|
|
PACKAGE_UNI_FILE = CryptoPkg.uni
|
|
PACKAGE_GUID = 36470E80-36F2-4ba0-8CC8-937C7D9FF888
|
|
PACKAGE_VERSION = 0.96
|
|
|
|
[Includes]
|
|
Include
|
|
Library/OpensslLib/openssl/include
|
|
Library/OpensslLib/openssl/crypto/include
|
|
|
|
[LibraryClasses]
|
|
## @libraryclass Provides basic library functions for cryptographic primitives.
|
|
##
|
|
BaseCryptLib|Include/Library/BaseCryptLib.h
|
|
|
|
## @libraryclass Provides TLS library functions for EFI TLS protocol.
|
|
##
|
|
TlsLib|Include/Library/TlsLib.h
|
|
|
|
[Protocols]
|
|
## Include/Protocol/RuntimeCrypt.h
|
|
gEfiRuntimeCryptProtocolGuid = { 0xe1475e0c, 0x1746, 0x4802, {0x86, 0x2e, 0x1, 0x1c, 0x2c, 0x2d, 0x9d, 0x86 }}
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
CryptoPkgExtra.uni
|