REf: https://bugzilla.tianocore.org/show_bug.cgi?id=1682
V1: Add new PCD to disable MD5 & SHA1. Using the PCD to remove the decalration and definition of the MD5 & SHA1 functions. V2: Using the MARCO as DISABLE_NEW_DEPRECATED_INTERFACES to disable the MD5 & SHA1. This MARCO would make the platform able to disable MD5 & SHA1 by setting the MARCO at their platform dsc file. In the future, if MD5 and SHA1 related functions are removed totally, we can remove all the content of MD5 & SHA1. Cc: Jian J Wang <[email protected]> Cc: Xiaoyu Lu <[email protected]> Cc: Jiewen Yao <[email protected]> Cc: Siyuan Fu <[email protected]> Cc: Michael D Kinney <[email protected]> Signed-off-by: Zhichao Gao <[email protected]> Zhichao Gao (2): CryptoPkg/BaseCryptLib: Add MARCO to disable the deprecated MD5 CryptoPkg/BaseCryptLib: Add MARCO to disable the deprecated SHA1 CryptoPkg/Driver/Crypto.c | 320 ++++++++++++++++++ CryptoPkg/Include/Library/BaseCryptLib.h | 4 + .../Library/BaseCryptLib/Hash/CryptMd5.c | 3 +- .../Library/BaseCryptLib/Hash/CryptSha1.c | 3 +- .../BaseCryptLibOnProtocolPpi/CryptLib.c | 4 + 5 files changed, 332 insertions(+), 2 deletions(-) -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#61450): https://edk2.groups.io/g/devel/message/61450 Mute This Topic: https://groups.io/mt/74950017/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
