]> git.proxmox.com Git - mirror_edk2.git/commit - CryptoPkg/Include/Library/BaseCryptLib.h
CryptoPkg/BaseCryptLib: Add MARCO to disable the deprecated SHA1
authorZhichao Gao <zhichao.gao@intel.com>
Tue, 16 Jun 2020 05:01:44 +0000 (13:01 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 29 Jun 2020 05:25:55 +0000 (05:25 +0000)
commit0f01cec52f4794777feb067e4fa0bfcedfdc124e
tree590aa76f532074101db8c91aaa43c15d4a36f735
parentacfd55579542de64418cd4fb1c5560524a79d61f
CryptoPkg/BaseCryptLib: Add MARCO to disable the deprecated SHA1

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

SHA1 is deprecated but it is required for compatible issue.
So add a MARCO for the platform to disable the usage of SHA1 for
security.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
CryptoPkg/Driver/Crypto.c
CryptoPkg/Include/Library/BaseCryptLib.h
CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/CryptLib.c