Can you also update CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf to use CryptSha512.c?
Thanks Liming > -----邮件原件----- > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Xiaoyu Lu > 发送时间: 2021年6月1日 8:48 > 收件人: devel@edk2.groups.io; jiewen....@intel.com; > jian.j.w...@intel.com; guomin.ji...@intel.com > 抄送: xiaoyux...@intel.com; shengfengx....@intel.com > 主题: [edk2-devel] [PATCH] CryptoPkg/BaseCryptLib: Enabled CryptSha512 > for Smm drivers. > > From: Shengfengx Xue <shengfengx....@intel.com> > > in SmmCryptLib.inf, change CryptSha512NULL.c to CryptSha512.c. > > Signed-off-by: Shengfengx Xue <shengfengx....@intel.com> > --- > 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 07c376ce04..e6470d7a21 100644 > --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf > +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf > @@ -10,7 +10,7 @@ > # RSA external functions, PKCS#7 SignedData sign functions, Diffie-Hellman > functions, and > # authenticode signature verification functions are not supported in this > instance. > # > -# Copyright (c) 2010 - 2020, Intel Corporation. All rights reserved.<BR> > +# Copyright (c) 2010 - 2021, Intel Corporation. All rights reserved.<BR> > # SPDX-License-Identifier: BSD-2-Clause-Patent > # > ## > @@ -37,7 +37,7 @@ > Hash/CryptSha1.c > Hash/CryptSha256.c > Hash/CryptSm3.c > - Hash/CryptSha512Null.c > + Hash/CryptSha512.c > Hmac/CryptHmacSha256.c > Kdf/CryptHkdfNull.c > Cipher/CryptAes.c > -- > 2.26.2.windows.1 > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#75883): https://edk2.groups.io/g/devel/message/75883 Mute This Topic: https://groups.io/mt/83222854/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-