From 25942a40262083042798b0d92908091343d645e5 Mon Sep 17 00:00:00 2001 From: Long Qin Date: Wed, 26 Apr 2017 15:50:23 +0800 Subject: [PATCH] CryptoPkg/SmmCryptLib: Enable HMAC-SHA256 support for SMM. Enable HMAC-SHA256 cipher support in SmmCryptLib instance. Cc: Ting Ye Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qin Long Reviewed-by: Ting Ye --- CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf index 5674714cea..36552bc4f4 100644 --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf @@ -7,7 +7,7 @@ # buffer overflow or integer overflow. # # Note: MD4 Digest functions, SHA-384 Digest functions, SHA-512 Digest functions, -# HMAC-MD5 functions, HMAC-SHA1/SHA256 functions, TDES/ARC4 functions, RSA external +# HMAC-MD5 functions, HMAC-SHA1 functions, TDES/ARC4 functions, RSA external # functions, PKCS#7 SignedData sign functions, Diffie-Hellman functions, and # authenticode signature verification functions are not supported in this instance. # @@ -46,7 +46,7 @@ Hash/CryptSha512Null.c Hmac/CryptHmacMd5Null.c Hmac/CryptHmacSha1Null.c - Hmac/CryptHmacSha256Null.c + Hmac/CryptHmacSha256.c Cipher/CryptAes.c Cipher/CryptTdesNull.c Cipher/CryptArc4Null.c -- 2.39.2