]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
CryptoPkg/BaseCryptLib: Retire ARC4 algorithm
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / BaseCryptLib.inf
index 2e403d669ff2df1dbd8dd19d0331702ebf215eda..da38ea552ff63498356156c8ba27641a200ab308 100644 (file)
@@ -6,7 +6,8 @@
 #  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
   Pk/CryptPkcs7VerifyBase.c\r
+  Pk/CryptPkcs7VerifyEku.c\r
   Pk/CryptDh.c\r
   Pk/CryptX509.c\r
   Pk/CryptAuthenticode.c\r
@@ -54,6 +57,7 @@
   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
@@ -67,6 +71,9 @@
 [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