2 # Cryptographic Library Instance for DXE_DRIVER.
4 # Caution: This module requires additional review when modified.
5 # This library will have external input - signature.
6 # This external input must be validated carefully to avoid security issues such as
7 # buffer overflow or integer overflow.
9 # Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>
10 # SPDX-License-Identifier: BSD-2-Clause-Patent
15 INF_VERSION = 0x00010005
16 BASE_NAME = BaseCryptLib
17 MODULE_UNI_FILE = BaseCryptLib.uni
18 FILE_GUID = be3bb803-91b6-4da0-bd91-a8b21c18ca5d
19 MODULE_TYPE = DXE_DRIVER
21 LIBRARY_CLASS = BaseCryptLib|DXE_DRIVER DXE_CORE UEFI_APPLICATION UEFI_DRIVER
24 # The following information is for reference only and not required by the build tools.
26 # VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
38 Hmac/CryptHmacSha256.c
47 Pk/CryptPkcs7VerifyCommon.c
48 Pk/CryptPkcs7VerifyBase.c
49 Pk/CryptPkcs7VerifyEku.c
52 Pk/CryptAuthenticode.c
57 SysCall/TimerWrapper.c
58 SysCall/BaseMemAllocation.c
74 CryptoPkg/CryptoPkg.dec
80 UefiRuntimeServicesTableLib
87 # Remove these [BuildOptions] after this library is cleaned up
91 # suppress the following warnings so we do not break the build with warnings-as-errors:
92 # C4090: 'function' : different 'const' qualifiers
94 MSFT:*_*_*_CC_FLAGS = /wd4090
96 # -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT
97 # --diag_remark=1 : Reduce severity of "#1-D: last line of file ends without a newline"
98 RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1
100 GCC:*_CLANG38_*_CC_FLAGS = -std=c99