2 # Cryptographic Library Instance for PEIM.
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 # Note: MD4 Digest functions, SHA-384 Digest functions, SHA-512 Digest functions,
10 # HMAC-MD5 functions, HMAC-SHA1 functions, AES/TDES/ARC4 functions, RSA external
11 # functions, PKCS#7 SignedData sign functions, Diffie-Hellman functions, X.509
12 # certificate handler functions, authenticode signature verification functions,
13 # PEM handler functions, and pseudorandom number generator functions are not
14 # supported in this instance.
16 # Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
17 # This program and the accompanying materials
18 # are licensed and made available under the terms and conditions of the BSD License
19 # which accompanies this distribution. The full text of the license may be found at
20 # http://opensource.org/licenses/bsd-license.php
22 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
23 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
28 INF_VERSION = 0x00010005
29 BASE_NAME = PeiCryptLib
30 MODULE_UNI_FILE = PeiCryptLib.uni
31 FILE_GUID = 9a2a4375-194c-4e97-9f67-547ec98d96ca
34 LIBRARY_CLASS = BaseCryptLib|PEIM PEI_CORE
37 # The following information is for reference only and not required by the build tools.
39 # VALID_ARCHITECTURES = IA32 X64
47 Hash/CryptSha512Null.c
48 Hmac/CryptHmacMd5Null.c
49 Hmac/CryptHmacSha1Null.c
51 Cipher/CryptTdesNull.c
52 Cipher/CryptArc4Null.c
56 Pk/CryptPkcs7SignNull.c
61 Pk/CryptAuthenticodeNull.c
68 SysCall/ConstantTimeClock.c
69 SysCall/BaseMemAllocation.c
73 CryptoPkg/CryptoPkg.dec
84 # Remove these [BuildOptions] after this library is cleaned up
87 GCC:*_GCC44_IA32_CC_FLAGS = "-D__cdecl=__attribute__((cdecl))" "-D__declspec(t)=__attribute__((t))"