From: "Wang, Jian J" <jian.j.wang@intel.com>
To: "Gao, Zhichao" <zhichao.gao@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Lu, XiaoyuX" <xiaoyux.lu@intel.com>,
"Yao, Jiewen" <jiewen.yao@intel.com>,
"Fu, Siyuan" <siyuan.fu@intel.com>,
"Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: [PATCH V2 0/2] CryptoPkg: Add MARCO to disable MD5 & SHA1
Date: Mon, 22 Jun 2020 02:56:27 +0000 [thread overview]
Message-ID: <SN6PR11MB331201241A139B6FE88DA671B6970@SN6PR11MB3312.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20200618004137.40276-1-zhichao.gao@intel.com>
For this patch series,
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Regards,
Jian
> -----Original Message-----
> From: Gao, Zhichao <zhichao.gao@intel.com>
> Sent: Thursday, June 18, 2020 8:42 AM
> To: devel@edk2.groups.io
> Cc: Wang, Jian J <jian.j.wang@intel.com>; Lu, XiaoyuX <xiaoyux.lu@intel.com>;
> Yao, Jiewen <jiewen.yao@intel.com>; Fu, Siyuan <siyuan.fu@intel.com>; Kinney,
> Michael D <michael.d.kinney@intel.com>
> Subject: [PATCH V2 0/2] CryptoPkg: Add MARCO to disable MD5 & SHA1
>
> 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 <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>
>
> 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
prev parent reply other threads:[~2020-06-22 2:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-18 0:41 [PATCH V2 0/2] CryptoPkg: Add MARCO to disable MD5 & SHA1 Gao, Zhichao
2020-06-18 0:41 ` [PATCH V2 1/2] CryptoPkg/BaseCryptLib: Add MARCO to disable the deprecated MD5 Gao, Zhichao
2020-06-18 0:41 ` [PATCH V2 2/2] CryptoPkg/BaseCryptLib: Add MARCO to disable the deprecated SHA1 Gao, Zhichao
2020-06-22 2:56 ` Wang, Jian J [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SN6PR11MB331201241A139B6FE88DA671B6970@SN6PR11MB3312.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox