summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
diff options
context:
space:
mode:
authorSean Brogan <sean.brogan@microsoft.com>2019-09-25 10:14:09 -0700
committerMichael D Kinney <michael.d.kinney@intel.com>2019-10-23 18:37:19 -0700
commitd95de082da01f4a4cb3ebf87e15972a12d0f8d53 (patch)
tree8cc202b3f0e7abac63937d5b2d72052c4aa3281d /CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
parent20c082e8d764579bdd374bf156346b28aa3471de (diff)
downloadedk2-d95de082da01f4a4cb3ebf87e15972a12d0f8d53.tar.gz
edk2-d95de082da01f4a4cb3ebf87e15972a12d0f8d53.tar.bz2
edk2-d95de082da01f4a4cb3ebf87e15972a12d0f8d53.zip
CryptoPkg: Add Null instance of the BaseCryptLib class
https://bugzilla.tianocore.org/show_bug.cgi?id=2257 Add a Null instance of the BaseCryptLib class. This lib instance can be used as a template for new implementations of the BaseCryptLib class and can also be used to reduce CI build times for build checks that depend on the BaseCryptLib class. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyux.lu@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf')
-rw-r--r--CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf62
1 files changed, 62 insertions, 0 deletions
diff --git a/CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf b/CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
new file mode 100644
index 0000000000..1e4807968a
--- /dev/null
+++ b/CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
@@ -0,0 +1,62 @@
+## @file
+# Cryptographic Library Null Instance.
+#
+# Caution: This module requires additional review when modified.
+# This library will have external input - signature.
+# This external input must be validated carefully to avoid security issues such as
+# buffer overflow or integer overflow.
+#
+# Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+##
+
+[Defines]
+ INF_VERSION = 0x00010005
+ BASE_NAME = BaseCryptLibNull
+ MODULE_UNI_FILE = BaseCryptLibNull.uni
+ FILE_GUID = ba4b5ba1-0ea1-415a-896c-6caaf32146f3
+ MODULE_TYPE = BASE
+ VERSION_STRING = 1.0
+ LIBRARY_CLASS = BaseCryptLib
+
+#
+# The following information is for reference only and not required by the build tools.
+#
+# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
+#
+
+[Sources]
+ InternalCryptLib.h
+ Hash/CryptMd4Null.c
+ Hash/CryptMd5Null.c
+ Hash/CryptSha1Null.c
+ Hash/CryptSha256Null.c
+ Hash/CryptSha512Null.c
+ Hash/CryptSm3Null.c
+ Hmac/CryptHmacMd5Null.c
+ Hmac/CryptHmacSha1Null.c
+ Hmac/CryptHmacSha256Null.c
+ Cipher/CryptAesNull.c
+ Cipher/CryptTdesNull.c
+ Cipher/CryptArc4Null.c
+ Pk/CryptRsaBasicNull.c
+ Pk/CryptRsaExtNull.c
+ Pk/CryptPkcs1OaepNull.c
+ Pk/CryptPkcs5Pbkdf2Null.c
+ Pk/CryptPkcs7SignNull.c
+ Pk/CryptPkcs7VerifyNull.c
+ Pk/CryptPkcs7VerifyEkuNull.c
+ Pk/CryptDhNull.c
+ Pk/CryptX509Null.c
+ Pk/CryptAuthenticodeNull.c
+ Pk/CryptTsNull.c
+ Pem/CryptPemNull.c
+ Rand/CryptRandNull.c
+
+[Packages]
+ MdePkg/MdePkg.dec
+ CryptoPkg/CryptoPkg.dec
+
+[LibraryClasses]
+ DebugLib