1 | ## @file
|
---|
2 | # CI configuration for CryptoPkg
|
---|
3 | #
|
---|
4 | # Copyright (c) Microsoft Corporation
|
---|
5 | # Copyright (c) 2020 - 2022, Intel Corporation. All rights reserved.<BR>
|
---|
6 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
7 | ##
|
---|
8 | {
|
---|
9 | "PrEval": {
|
---|
10 | "DscPath": "CryptoPkg.dsc",
|
---|
11 | },
|
---|
12 | "LicenseCheck": {
|
---|
13 | "IgnoreFiles": [
|
---|
14 | # These directories contain auto-generated OpenSSL content
|
---|
15 | "Library/OpensslLib/OpensslGen"
|
---|
16 | ]
|
---|
17 | },
|
---|
18 | "EccCheck": {
|
---|
19 | ## Exception sample looks like below:
|
---|
20 | ## "ExceptionList": [
|
---|
21 | ## "<ErrorID>", "<KeyWord>"
|
---|
22 | ## ]
|
---|
23 | "ExceptionList": [
|
---|
24 | "8001", "IsLeap",
|
---|
25 | "8001", "OBJ_get0_data",
|
---|
26 | "8001", "OBJ_length",
|
---|
27 | "5005", "X509PopCertificate"
|
---|
28 | ],
|
---|
29 | ## Both file path and directory path are accepted.
|
---|
30 | "IgnoreFiles": [
|
---|
31 | "Library/OpensslLib/openssl",
|
---|
32 | "Library/OpensslLib/OpensslGen",
|
---|
33 | # The unit testing folder is not to be checked
|
---|
34 | "Test/UnitTest",
|
---|
35 | # This has OpenSSL interfaces that aren't UEFI spec compliant
|
---|
36 | "Library/BaseCryptLib/SysCall",
|
---|
37 | # This has OpenSSL interfaces that aren't UEFI spec compliant
|
---|
38 | "Library/OpensslLib/OpensslStub",
|
---|
39 | # This has OpenSSL interfaces that aren't UEFI spec compliant
|
---|
40 | "Library/Include/CrtLibSupport.h",
|
---|
41 | # This has OpenSSL interfaces that aren't UEFI spec compliant
|
---|
42 | "Library/BaseCryptLib/Hash/CryptParallelHash.h",
|
---|
43 | "Library/Include/fcntl.h",
|
---|
44 | # This has Mbedtls interfaces that aren't UEFI spec compliant
|
---|
45 | "Library/Include/stdint.h",
|
---|
46 | "Library/Include/stubs-32.h",
|
---|
47 | "Library/Include/inttypes.h",
|
---|
48 | # These directories contain auto-generated OpenSSL content
|
---|
49 | "Library/OpensslLib",
|
---|
50 | "Library/IntrinsicLib",
|
---|
51 | "Library/BaseCryptLib/Pk/CryptPkcs7VerifyBase.c",
|
---|
52 | # mbedtls
|
---|
53 | "Library/MbedTlsLib/mbedtls",
|
---|
54 | # This has mbedtls interfaces that aren't UEFI spec compliant
|
---|
55 | "Library/MbedTlsLib/EcSm2Null.c",
|
---|
56 | "Library/MbedTlsLib/CrtWrapper.c",
|
---|
57 | "Library/MbedTlsLib/Include/mbedtls/mbedtls_config.h",
|
---|
58 | "Library/BaseCryptLibMbedTls/SysCall"
|
---|
59 | ]
|
---|
60 | },
|
---|
61 | "CompilerPlugin": {
|
---|
62 | "DscPath": "CryptoPkg.dsc"
|
---|
63 | },
|
---|
64 | ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
|
---|
65 | "HostUnitTestCompilerPlugin": {
|
---|
66 | "DscPath": "Test/CryptoPkgHostUnitTest.dsc"
|
---|
67 | },
|
---|
68 | "CharEncodingCheck": {
|
---|
69 | "IgnoreFiles": []
|
---|
70 | },
|
---|
71 | "DependencyCheck": {
|
---|
72 | "AcceptableDependencies": [
|
---|
73 | "MdePkg/MdePkg.dec",
|
---|
74 | "MdeModulePkg/MdeModulePkg.dec",
|
---|
75 | "CryptoPkg/CryptoPkg.dec",
|
---|
76 | ],
|
---|
77 | # For host based unit tests
|
---|
78 | "AcceptableDependencies-HOST_APPLICATION":[],
|
---|
79 | # For UEFI shell based apps
|
---|
80 | "AcceptableDependencies-UEFI_APPLICATION":[],
|
---|
81 | "IgnoreInf": []
|
---|
82 | },
|
---|
83 | "DscCompleteCheck": {
|
---|
84 | "DscPath": "CryptoPkg.dsc",
|
---|
85 | "IgnoreInf": []
|
---|
86 | },
|
---|
87 | "GuidCheck": {
|
---|
88 | "IgnoreGuidName": [],
|
---|
89 | "IgnoreGuidValue": [],
|
---|
90 | "IgnoreFoldersAndFiles": []
|
---|
91 | },
|
---|
92 | "LibraryClassCheck": {
|
---|
93 | "IgnoreHeaderFile": []
|
---|
94 | },
|
---|
95 |
|
---|
96 | ## options defined ci/Plugin/SpellCheck
|
---|
97 | "SpellCheck": {
|
---|
98 | "skip": True,
|
---|
99 | "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files
|
---|
100 | "ExtendWords": [], # words to extend to the dictionary for this package
|
---|
101 | "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
|
---|
102 | "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
|
---|
103 | },
|
---|
104 |
|
---|
105 | # options defined in .pytool/Plugin/UncrustifyCheck
|
---|
106 | "UncrustifyCheck": {
|
---|
107 | "IgnoreFiles": [
|
---|
108 | "Library/OpensslLib/OpensslGen/include/crypto/bn_conf.h",
|
---|
109 | "Library/OpensslLib/OpensslGen/include/crypto/dso_conf.h",
|
---|
110 | "Library/OpensslLib/OpensslGen/include/openssl/asn1.h",
|
---|
111 | "Library/OpensslLib/OpensslGen/include/openssl/asn1t.h",
|
---|
112 | "Library/OpensslLib/OpensslGen/include/openssl/bio.h",
|
---|
113 | "Library/OpensslLib/OpensslGen/include/openssl/cmp.h",
|
---|
114 | "Library/OpensslLib/OpensslGen/include/openssl/cms.h",
|
---|
115 | "Library/OpensslLib/OpensslGen/include/openssl/conf.h",
|
---|
116 | "Library/OpensslLib/OpensslGen/include/openssl/configuration-ec.h",
|
---|
117 | "Library/OpensslLib/OpensslGen/include/openssl/configuration-noec.h",
|
---|
118 | "Library/OpensslLib/OpensslGen/include/openssl/configuration.h",
|
---|
119 | "Library/OpensslLib/OpensslGen/include/openssl/crmf.h",
|
---|
120 | "Library/OpensslLib/OpensslGen/include/openssl/crypto.h",
|
---|
121 | "Library/OpensslLib/OpensslGen/include/openssl/ct.h",
|
---|
122 | "Library/OpensslLib/OpensslGen/include/openssl/err.h",
|
---|
123 | "Library/OpensslLib/OpensslGen/include/openssl/ess.h",
|
---|
124 | "Library/OpensslLib/OpensslGen/include/openssl/fipskey.h",
|
---|
125 | "Library/OpensslLib/OpensslGen/include/openssl/lhash.h",
|
---|
126 | "Library/OpensslLib/OpensslGen/include/openssl/ocsp.h",
|
---|
127 | "Library/OpensslLib/OpensslGen/include/openssl/opensslv.h",
|
---|
128 | "Library/OpensslLib/OpensslGen/include/openssl/pkcs12.h",
|
---|
129 | "Library/OpensslLib/OpensslGen/include/openssl/pkcs7.h",
|
---|
130 | "Library/OpensslLib/OpensslGen/include/openssl/safestack.h",
|
---|
131 | "Library/OpensslLib/OpensslGen/include/openssl/srp.h",
|
---|
132 | "Library/OpensslLib/OpensslGen/include/openssl/ssl.h",
|
---|
133 | "Library/OpensslLib/OpensslGen/include/openssl/ui.h",
|
---|
134 | "Library/OpensslLib/OpensslGen/include/openssl/x509.h",
|
---|
135 | "Library/OpensslLib/OpensslGen/include/openssl/x509v3.h",
|
---|
136 | "Library/OpensslLib/OpensslGen/include/openssl/x509_vfy.h",
|
---|
137 | "Library/OpensslLib/OpensslGen/providers/common/der/der_digests_gen.c",
|
---|
138 | "Library/OpensslLib/OpensslGen/providers/common/der/der_ecx_gen.c",
|
---|
139 | "Library/OpensslLib/OpensslGen/providers/common/der/der_ec_gen.c",
|
---|
140 | "Library/OpensslLib/OpensslGen/providers/common/der/der_rsa_gen.c",
|
---|
141 | "Library/OpensslLib/OpensslGen/providers/common/der/der_wrap_gen.c",
|
---|
142 | "Library/OpensslLib/OpensslGen/providers/common/include/prov/der_digests.h",
|
---|
143 | "Library/OpensslLib/OpensslGen/providers/common/include/prov/der_ec.h",
|
---|
144 | "Library/OpensslLib/OpensslGen/providers/common/include/prov/der_ecx.h",
|
---|
145 | "Library/OpensslLib/OpensslGen/providers/common/include/prov/der_rsa.h",
|
---|
146 | "Library/OpensslLib/OpensslGen/providers/common/include/prov/der_wrap.h",
|
---|
147 | "Library/OpensslLib/OpensslStub/uefiprov.c"
|
---|
148 | ]
|
---|
149 | }
|
---|
150 | }
|
---|