public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: devel@edk2.groups.io, zhichao.gao@intel.com
Cc: Jian J Wang <jian.j.wang@intel.com>,
	Xiaoyu Lu <xiaoyux.lu@intel.com>, Siyuan Fu <siyuan.fu@intel.com>,
	Michael D Kinney <michael.d.kinney@intel.com>,
	Jiewen Yao <jiewen.yao@intel.com>
Subject: Re: [edk2-devel] [PATCH V3 4/8] CryptoPkg/BaseCryptLib: Retire the Tdes algorithm
Date: Thu, 7 May 2020 09:51:03 +0200	[thread overview]
Message-ID: <f738854a-3077-c0e2-e5f8-b38482ee3f9b@redhat.com> (raw)
In-Reply-To: <20200506235746.19500-5-zhichao.gao@intel.com>

On 5/7/20 1:57 AM, Gao, Zhichao wrote:
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1898
> 
> Tdes is not secure any longer.

Please write acronyms in caps: TDES.

> Remove the Tdes support from edk2.
> Change the Tdes field name in EDKII_CRYPTO_PROTOCOL to indicate the
> function is unsupported any longer.
> 
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>
> Cc: Siyuan Fu <siyuan.fu@intel.com>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
> ---
>   CryptoPkg/Driver/Crypto.c                     | 181 +--------
>   CryptoPkg/Include/Library/BaseCryptLib.h      | 196 ----------
>   .../Library/BaseCryptLib/BaseCryptLib.inf     |   1 -
>   .../Library/BaseCryptLib/Cipher/CryptTdes.c   | 364 ------------------
>   .../BaseCryptLib/Cipher/CryptTdesNull.c       | 160 --------
>   .../Library/BaseCryptLib/PeiCryptLib.inf      |   3 +-
>   .../Library/BaseCryptLib/PeiCryptLib.uni      |   6 +-
>   CryptoPkg/Library/BaseCryptLib/Pem/CryptPem.c |   7 +-
>   .../Library/BaseCryptLib/RuntimeCryptLib.inf  |   3 +-
>   .../Library/BaseCryptLib/RuntimeCryptLib.uni  |   6 +-
>   .../Library/BaseCryptLib/SmmCryptLib.inf      |   3 +-
>   .../Library/BaseCryptLib/SmmCryptLib.uni      |   6 +-
>   .../BaseCryptLibNull/BaseCryptLibNull.inf     |   1 -
>   .../BaseCryptLibNull/Cipher/CryptTdesNull.c   | 160 --------
>   .../BaseCryptLibOnProtocolPpi/CryptLib.c      | 214 ----------
>   .../Library/Include/openssl/opensslconf.h     |   3 +
>   CryptoPkg/Library/OpensslLib/OpensslLib.inf   |  21 -
>   .../Library/OpensslLib/OpensslLibCrypto.inf   |  21 -
>   CryptoPkg/Private/Protocol/Crypto.h           | 169 +-------
>   19 files changed, 53 insertions(+), 1472 deletions(-)
>   delete mode 100644 CryptoPkg/Library/BaseCryptLib/Cipher/CryptTdes.c
>   delete mode 100644 CryptoPkg/Library/BaseCryptLib/Cipher/CryptTdesNull.c
>   delete mode 100644 CryptoPkg/Library/BaseCryptLibNull/Cipher/CryptTdesNull.c


  reply	other threads:[~2020-05-07  7:51 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-06 23:57 [PATCH V3 0/8] CryptoPkg: Retire the deprecated functions Gao, Zhichao
2020-05-06 23:57 ` [PATCH V3 1/8] CryptoPkg/CryptoDxe: Add function to indicate the deprecated algorithm Gao, Zhichao
2020-05-07  7:45   ` [edk2-devel] " Philippe Mathieu-Daudé
2020-05-07  7:48     ` Philippe Mathieu-Daudé
2020-05-08  1:09       ` Gao, Zhichao
2020-05-08 12:59         ` Philippe Mathieu-Daudé
2020-05-06 23:57 ` [PATCH V3 2/8] CryptoPkg/BaseCrpytLib: Retire MD4 algorithm Gao, Zhichao
2020-05-08 15:19   ` Wang, Jian J
2020-05-06 23:57 ` [PATCH V3 3/8] CryptoPkg/BaseCryptLib: Retire ARC4 algorithm Gao, Zhichao
2020-05-08 14:34   ` Wang, Jian J
2020-05-06 23:57 ` [PATCH V3 4/8] CryptoPkg/BaseCryptLib: Retire the Tdes algorithm Gao, Zhichao
2020-05-07  7:51   ` Philippe Mathieu-Daudé [this message]
2020-05-08 14:42   ` Wang, Jian J
2020-05-06 23:57 ` [PATCH V3 5/8] CryptoPkg/BaseCryptLib: Retire Aes Ecb mode algorithm Gao, Zhichao
2020-05-08 14:50   ` Wang, Jian J
2020-05-06 23:57 ` [PATCH V3 6/8] CryptoPkg/BaseCryptLib: Retire HMAC MD5 algorithm Gao, Zhichao
2020-05-08 15:03   ` Wang, Jian J
2020-05-06 23:57 ` [PATCH V3 7/8] CryptoPkg/BaseCryptLib: Retire HMAC SHA1 algorithm Gao, Zhichao
2020-05-08 15:11   ` Wang, Jian J
2020-05-06 23:57 ` [PATCH V3 8/8] CryptoPkg/Crypto.h: Update the version of Crypto Driver Gao, Zhichao
2020-05-08 15:13   ` Wang, Jian J
2020-05-08  7:23 ` [edk2-devel] [PATCH V3 0/8] CryptoPkg: Retire the deprecated functions Guomin Jiang
2020-05-08  8:00   ` Dong, Eric

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=f738854a-3077-c0e2-e5f8-b38482ee3f9b@redhat.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