summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Library/Include
diff options
context:
space:
mode:
authorWenxing Hou <wenxing.hou@intel.com>2023-08-18 15:21:47 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-10-12 05:31:19 +0000
commitb26f7dfe2927a276bf5c3238bec363abadd5a52f (patch)
tree9a1cca79269d6430521b943fd09de46187b7a653 /CryptoPkg/Library/Include
parent97f51f2e9b78ce94127c2972841342edaefbcc80 (diff)
downloadedk2-b26f7dfe2927a276bf5c3238bec363abadd5a52f.tar.gz
edk2-b26f7dfe2927a276bf5c3238bec363abadd5a52f.tar.bz2
edk2-b26f7dfe2927a276bf5c3238bec363abadd5a52f.zip
CryptoPkg: Add all .inf files for BaseCryptLibMbedTls
Add .inf files and other support files. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4177 Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Yi Li <yi1.li@intel.com> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Signed-off-by: Wenxing Hou <wenxing.hou@intel.com> Reviewed-by: Yi Li <yi1.li@intel.com>
Diffstat (limited to 'CryptoPkg/Library/Include')
-rw-r--r--CryptoPkg/Library/Include/stdint.h19
-rw-r--r--CryptoPkg/Library/Include/stubs-32.h9
2 files changed, 28 insertions, 0 deletions
diff --git a/CryptoPkg/Library/Include/stdint.h b/CryptoPkg/Library/Include/stdint.h
new file mode 100644
index 0000000000..17b8c767d7
--- /dev/null
+++ b/CryptoPkg/Library/Include/stdint.h
@@ -0,0 +1,19 @@
+/** @file
+ Include file to support building the third-party cryptographic library.
+
+Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#include <CrtLibSupport.h>
+
+typedef INT8 int8_t;
+typedef UINT8 uint8_t;
+typedef INT16 int16_t;
+typedef UINT16 uint16_t;
+typedef INT32 int32_t;
+typedef UINT32 uint32_t;
+typedef INT64 int64_t;
+typedef UINT64 uint64_t;
+typedef UINTN uintptr_t;
diff --git a/CryptoPkg/Library/Include/stubs-32.h b/CryptoPkg/Library/Include/stubs-32.h
new file mode 100644
index 0000000000..786d57e8d5
--- /dev/null
+++ b/CryptoPkg/Library/Include/stubs-32.h
@@ -0,0 +1,9 @@
+/** @file
+ Include file to support building the third-party cryptographic library.
+
+Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#include <CrtLibSupport.h>