]> git.proxmox.com Git - mirror_edk2.git/commit
CryptoPkg/BaseCryptLib: Enabled CryptSha512 for Smm/Runtime drivers
authorxueshengfeng <xueshengfeng@byosoft.com.cn>
Tue, 8 Jun 2021 04:30:44 +0000 (12:30 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 24 Jun 2021 02:46:14 +0000 (02:46 +0000)
commiteba32695ee6979137c86c3d20d0711d49d5c3ba8
treedba79c6a2880eacc46420536cd131c47ed842b0f
parent18b2272e4d6cc0856f3011a97ce8a45055cdffa7
CryptoPkg/BaseCryptLib: Enabled CryptSha512 for Smm/Runtime drivers

Intel Platform utility Syscfg/sysfwupdt will trigger SMI
to enter BIOS interface. then BIOS invoke EncodePassword
in SMM mode to check password.
it's need sha384(in CryptSha512.c) in SMM mode.

the origin SmmCryptLib.lib size is 1389KB,
after changed, the size is 1391KB.

the origin RuntimeCryptLib.lib size is 911KB,
after changed,the size is 913KB.

in SmmCryptLib.inf and RuntimeCryptLib.inf,
change CryptSha512NULL.c to CryptSha512.c.

https://bugzilla.tianocore.org/show_bug.cgi?id=3423

Signed-off-by: xueshengfeng <xueshengfeng@byosoft.com.cn>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf