# CI configuration for CryptoPkg\r
#\r
# Copyright (c) Microsoft Corporation\r
+# Copyright (c) 2020 - 2022, Intel Corporation. All rights reserved.<BR>\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
##\r
{\r
"LicenseCheck": {\r
- "IgnoreFiles": []\r
+ "IgnoreFiles": [\r
+ # These directories contain auto-generated OpenSSL content\r
+ "Library/OpensslLib/X64",\r
+ "Library/OpensslLib/X64Gcc"\r
+ ]\r
+ },\r
+ "EccCheck": {\r
+ ## Exception sample looks like below:\r
+ ## "ExceptionList": [\r
+ ## "<ErrorID>", "<KeyWord>"\r
+ ## ]\r
+ "ExceptionList": [\r
+ "8001", "IsLeap",\r
+ "8001", "OBJ_get0_data",\r
+ "8001", "OBJ_length"\r
+ ],\r
+ ## Both file path and directory path are accepted.\r
+ "IgnoreFiles": [\r
+ "Library/OpensslLib/openssl",\r
+ # The unit testing folder is not to be checked\r
+ "Test/UnitTest",\r
+ # This has OpenSSL interfaces that aren't UEFI spec compliant\r
+ "Library/BaseCryptLib/SysCall",\r
+ # This has OpenSSL interfaces that aren't UEFI spec compliant\r
+ "Library/OpensslLib/rand_pool.c",\r
+ # This has OpenSSL interfaces that aren't UEFI spec compliant\r
+ "Library/Include/CrtLibSupport.h",\r
+ # This has OpenSSL interfaces that aren't UEFI spec compliant\r
+ "Library/BaseCryptLib/Hash/CryptParallelHash.h",\r
+ "Library/Include/fcntl.h",\r
+ # These directories contain auto-generated OpenSSL content\r
+ "Library/OpensslLib",\r
+ "Library/IntrinsicLib",\r
+ "Library/BaseCryptLib/Pk/CryptPkcs7VerifyBase.c"\r
+ ]\r
},\r
"CompilerPlugin": {\r
"DscPath": "CryptoPkg.dsc"\r
},\r
+ ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin\r
+ "HostUnitTestCompilerPlugin": {\r
+ "DscPath": "Test/CryptoPkgHostUnitTest.dsc"\r
+ },\r
"CharEncodingCheck": {\r
"IgnoreFiles": []\r
},\r
},\r
"DscCompleteCheck": {\r
"DscPath": "CryptoPkg.dsc",\r
- "IgnoreInf": []\r
+ "IgnoreInf": [\r
+ # These are alternatives to OpensslLib.inf\r
+ "CryptoPkg/Library/OpensslLib/OpensslLibX64.inf",\r
+ "CryptoPkg/Library/OpensslLib/OpensslLibX64Gcc.inf"\r
+ ]\r
},\r
"GuidCheck": {\r
"IgnoreGuidName": [],\r