# This external input must be validated carefully to avoid security issues such as\r
# buffer overflow or integer overflow.\r
#\r
-# Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
##\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64\r
+# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64\r
#\r
\r
[Sources]\r
InternalCryptLib.h\r
- Hash/CryptMd4.c\r
Hash/CryptMd5.c\r
Hash/CryptSha1.c\r
Hash/CryptSha256.c\r
Hash/CryptSha512.c\r
+ Hash/CryptSm3.c\r
Hmac/CryptHmacMd5.c\r
Hmac/CryptHmacSha1.c\r
Hmac/CryptHmacSha256.c\r
+ Kdf/CryptHkdf.c\r
Cipher/CryptAes.c\r
Cipher/CryptTdes.c\r
- Cipher/CryptArc4.c\r
Pk/CryptRsaBasic.c\r
Pk/CryptRsaExt.c\r
+ Pk/CryptPkcs1Oaep.c\r
Pk/CryptPkcs5Pbkdf2.c\r
Pk/CryptPkcs7Sign.c\r
Pk/CryptPkcs7VerifyCommon.c\r
SysCall/CrtWrapper.c\r
SysCall/TimerWrapper.c\r
SysCall/BaseMemAllocation.c\r
+ SysCall/inet_pton.c\r
\r
[Sources.Ia32]\r
Rand/CryptRandTsc.c\r
[Sources.AARCH64]\r
Rand/CryptRand.c\r
\r
+[Sources.RISCV64]\r
+ Rand/CryptRand.c\r
+\r
[Packages]\r
MdePkg/MdePkg.dec\r
CryptoPkg/CryptoPkg.dec\r
# -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT\r
# --diag_remark=1 : Reduce severity of "#1-D: last line of file ends without a newline"\r
RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1\r
+\r
+ GCC:*_CLANG35_*_CC_FLAGS = -std=c99\r
+ GCC:*_CLANG38_*_CC_FLAGS = -std=c99\r
+ GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types\r
+\r
+ XCODE:*_*_*_CC_FLAGS = -std=c99\r