]>
Commit | Line | Data |
---|---|---|
97f98500 HT |
1 | ## @file\r |
2 | # Package for cryptography modules.\r | |
3 | #\r | |
7a2f2ec3 DG |
4 | # This Package provides cryptographic-related libraries for UEFI security modules.\r |
5 | # It also provides a test application to test libraries.\r | |
97f98500 | 6 | #\r |
2c061de0 | 7 | # Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.<BR>\r |
2009f6b4 | 8 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
2c867744 | 9 | #\r |
97f98500 HT |
10 | ##\r |
11 | \r | |
97f98500 HT |
12 | [Defines]\r |
13 | DEC_SPECIFICATION = 0x00010005\r | |
14 | PACKAGE_NAME = CryptoPkg\r | |
7a2f2ec3 | 15 | PACKAGE_UNI_FILE = CryptoPkg.uni\r |
97f98500 | 16 | PACKAGE_GUID = 36470E80-36F2-4ba0-8CC8-937C7D9FF888\r |
cd9349ac | 17 | PACKAGE_VERSION = 0.98\r |
97f98500 HT |
18 | \r |
19 | [Includes]\r | |
20 | Include\r | |
abc4c817 LQ |
21 | \r |
22 | [Includes.Common.Private]\r | |
23 | Library/Include\r | |
2c867744 QL |
24 | Library/OpensslLib/openssl/include\r |
25 | Library/OpensslLib/openssl/crypto/include\r | |
97f98500 HT |
26 | \r |
27 | [LibraryClasses]\r | |
28 | ## @libraryclass Provides basic library functions for cryptographic primitives.\r | |
29 | ##\r | |
30 | BaseCryptLib|Include/Library/BaseCryptLib.h\r | |
31 | \r | |
9396cdfe JW |
32 | ## @libraryclass Provides TLS library functions for EFI TLS protocol.\r |
33 | ##\r | |
34 | TlsLib|Include/Library/TlsLib.h\r | |
35 | \r | |
3feea54e AS |
36 | ## @libraryclass Provides Unified API for different hash implementations.\r |
37 | #\r | |
38 | HashApiLib|Include/Library/HashApiLib.h\r | |
39 | \r | |
2c061de0 AS |
40 | [Guids]\r |
41 | ## Crypto package token space guid.\r | |
42 | gEfiCryptoPkgTokenSpaceGuid = { 0x6bd7de60, 0x9ef7, 0x4899, { 0x97, 0xd0, 0xab, 0xff, 0xfd, 0xe9, 0x70, 0xf2 } }\r | |
43 | \r | |
3feea54e AS |
44 | [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r |
45 | ## This PCD indicates the HASH algorithm to calculate hash of data\r | |
46 | # Based on the value set, the required algorithm is chosen to calculate\r | |
47 | # the hash of data.<BR>\r | |
48 | # The default hashing algorithm for BaseHashApiLib is set to SHA256.<BR>\r | |
49 | # 0x00000001 - MD4.<BR>\r | |
50 | # 0x00000002 - MD5.<BR>\r | |
51 | # 0x00000003 - SHA1.<BR>\r | |
52 | # 0x00000004 - SHA256.<BR>\r | |
53 | # 0x00000005 - SHA384.<BR>\r | |
54 | # 0x00000006 - SHA512.<BR>\r | |
55 | # 0x00000007 - SM3_256.<BR>\r | |
56 | # @Prompt Set policy for hashing unsigned image for Secure Boot.\r | |
57 | # @ValidRange 0x80000001 | 0x00000001 - 0x00000007\r | |
58 | gEfiCryptoPkgTokenSpaceGuid.PcdHashApiLibPolicy|0x04|UINT8|0x00000001\r | |
59 | \r | |
7a2f2ec3 DG |
60 | [UserExtensions.TianoCore."ExtraFiles"]\r |
61 | CryptoPkgExtra.uni\r |