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.w...@intel.com>
Cc: Xiaoyu Lu <xiaoyux...@intel.com>
Cc: Siyuan Fu <siyuan...@intel.com>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Signed-off-by: Zhichao Gao <zhichao....@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


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#58781): https://edk2.groups.io/g/devel/message/58781
Mute This Topic: https://groups.io/mt/74041192/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to