summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
diff options
context:
space:
mode:
authorZhichao Gao <zhichao.gao@intel.com>2020-04-23 15:04:37 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-05-15 07:22:36 +0000
commitb6174e2d09bd03b71e13f8b842c92ae44b25a3ff (patch)
tree4e30a19cc2aca627e2459c640b8d1362c429ca3e /CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
parent89db28b9c941f86879458987fe974647c82d558d (diff)
downloadedk2-b6174e2d09bd03b71e13f8b842c92ae44b25a3ff.tar.gz
edk2-b6174e2d09bd03b71e13f8b842c92ae44b25a3ff.tar.bz2
edk2-b6174e2d09bd03b71e13f8b842c92ae44b25a3ff.zip
CryptoPkg/BaseCryptLib: Retire HMAC MD5 algorithm
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1898 HMAC MD5 is not secure any longer. Remove the HMAC MD5 support from edk2. Change the HMAC MD5 field name in EDKII_CRYPTO_PROTOCOL to indicate the function is unsupported any longer. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyux.lu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf')
-rw-r--r--CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf3
1 files changed, 1 insertions, 2 deletions
diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
index cc3556ae3f..ec9c8e7c05 100644
--- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
+++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
@@ -7,7 +7,7 @@
# buffer overflow or integer overflow.
#
# Note: SHA-384 Digest functions, SHA-512 Digest functions,
-# HMAC-MD5 functions, HMAC-SHA1 functions, RSA external
+# HMAC-SHA1 functions, RSA external
# functions, PKCS#7 SignedData sign functions, Diffie-Hellman functions, and
# authenticode signature verification functions are not supported in this instance.
#
@@ -39,7 +39,6 @@
Hash/CryptSha256.c
Hash/CryptSm3.c
Hash/CryptSha512Null.c
- Hmac/CryptHmacMd5Null.c
Hmac/CryptHmacSha1Null.c
Hmac/CryptHmacSha256.c
Kdf/CryptHkdfNull.c