public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH V2 0/7] CryptoPkg: Retire the deprecated functions
@ 2020-04-23  8:46 Gao, Zhichao
  2020-04-23  8:46 ` [PATCH V2 1/7] CryptoPkg/BaseCrpytLib: Retire MD4 algorithm Gao, Zhichao
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Gao, Zhichao @ 2020-04-23  8:46 UTC (permalink / raw)
  To: devel
  Cc: Jian J Wang, Xiaoyu Lu, Siyuan Fu, Michael D Kinney, Jiewen Yao,
	Laszlo Ersek

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

Retire below deprecated functions:
MD4, ARC4, TDES, AES ECB MODE, HMAC MD5, HMAC SHA1

Update the Crypto Driver's version to indicate the binary change.

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>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>

Zhichao Gao (7):
  CryptoPkg/BaseCrpytLib: Retire MD4 algorithm
  CryptoPkg/BaseCryptLib: Retire ARC4 algorithm
  CryptoPkg/BaseCryptLib: Retire the Tdes algorithm
  CryptoPkg/BaseCryptLib: Retire Aes Ecb mode algorithm
  CryptoPkg/BaseCryptLib: Retire HMAC MD5 algorithm
  CryptoPkg/BaseCryptLib: Retire HMAC SHA1 algorithm
  CryptoPkg/Crypto.h: Update the version of Crypto Driver

 CryptoPkg/CryptoPkg.dsc                       |  46 +-
 CryptoPkg/Driver/Crypto.c                     |  62 +--
 CryptoPkg/Include/Library/BaseCryptLib.h      | 481 ------------------
 .../Library/BaseCryptLib/BaseCryptLib.inf     |   7 +-
 .../Library/BaseCryptLib/Cipher/CryptAes.c    | 114 -----
 .../BaseCryptLib/Cipher/CryptAesNull.c        |  52 --
 .../Library/BaseCryptLib/Cipher/CryptArc4.c   | 205 --------
 .../BaseCryptLib/Cipher/CryptArc4Null.c       | 124 -----
 .../Library/BaseCryptLib/Cipher/CryptTdes.c   | 364 -------------
 .../BaseCryptLib/Cipher/CryptTdesNull.c       | 160 ------
 .../Library/BaseCryptLib/Hash/CryptMd4.c      | 223 --------
 .../Library/BaseCryptLib/Hash/CryptMd4Null.c  | 143 ------
 .../Library/BaseCryptLib/Hmac/CryptHmacMd5.c  | 216 --------
 .../BaseCryptLib/Hmac/CryptHmacMd5Null.c      | 139 -----
 .../Library/BaseCryptLib/Hmac/CryptHmacSha1.c | 216 --------
 .../BaseCryptLib/Hmac/CryptHmacSha1Null.c     | 139 -----
 .../Library/BaseCryptLib/PeiCryptLib.inf      |  11 +-
 CryptoPkg/Library/BaseCryptLib/Pem/CryptPem.c |   7 +-
 .../Library/BaseCryptLib/RuntimeCryptLib.inf  |  11 +-
 .../Library/BaseCryptLib/SmmCryptLib.inf      |  12 +-
 .../BaseCryptLibNull/BaseCryptLibNull.inf     |   5 -
 .../BaseCryptLibNull/Cipher/CryptAesNull.c    |  52 --
 .../BaseCryptLibNull/Cipher/CryptArc4Null.c   | 124 -----
 .../BaseCryptLibNull/Cipher/CryptTdesNull.c   | 160 ------
 .../BaseCryptLibNull/Hash/CryptMd4Null.c      | 143 ------
 .../BaseCryptLibNull/Hmac/CryptHmacMd5Null.c  | 139 -----
 .../BaseCryptLibNull/Hmac/CryptHmacSha1Null.c | 139 -----
 .../Library/Include/openssl/opensslconf.h     |   9 +
 CryptoPkg/Library/OpensslLib/OpensslLib.inf   |  28 -
 .../Library/OpensslLib/OpensslLibCrypto.inf   |  28 -
 CryptoPkg/Private/Protocol/Crypto.h           |   2 +-
 31 files changed, 75 insertions(+), 3486 deletions(-)
 delete mode 100644 CryptoPkg/Library/BaseCryptLib/Cipher/CryptArc4.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLib/Cipher/CryptArc4Null.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLib/Cipher/CryptTdes.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLib/Cipher/CryptTdesNull.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLib/Hash/CryptMd4Null.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5Null.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacSha1Null.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLibNull/Cipher/CryptArc4Null.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLibNull/Cipher/CryptTdesNull.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLibNull/Hash/CryptMd4Null.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLibNull/Hmac/CryptHmacMd5Null.c
 delete mode 100644 CryptoPkg/Library/BaseCryptLibNull/Hmac/CryptHmacSha1Null.c

-- 
2.21.0.windows.1


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-04-27  0:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-23  8:46 [PATCH V2 0/7] CryptoPkg: Retire the deprecated functions Gao, Zhichao
2020-04-23  8:46 ` [PATCH V2 1/7] CryptoPkg/BaseCrpytLib: Retire MD4 algorithm Gao, Zhichao
2020-04-23  8:46 ` [PATCH V2 2/7] CryptoPkg/BaseCryptLib: Retire ARC4 algorithm Gao, Zhichao
2020-04-23  8:46 ` [PATCH V2 3/7] CryptoPkg/BaseCryptLib: Retire the Tdes algorithm Gao, Zhichao
2020-04-23  8:46 ` [PATCH V2 4/7] CryptoPkg/BaseCryptLib: Retire Aes Ecb mode algorithm Gao, Zhichao
2020-04-23  8:46 ` [PATCH V2 5/7] CryptoPkg/BaseCryptLib: Retire HMAC MD5 algorithm Gao, Zhichao
2020-04-23  8:46 ` [PATCH V2 6/7] CryptoPkg/BaseCryptLib: Retire HMAC SHA1 algorithm Gao, Zhichao
2020-04-23  8:46 ` [PATCH V2 7/7] CryptoPkg/Crypto.h: Update the version of Crypto Driver Gao, Zhichao
2020-04-25  9:44   ` Siyuan, Fu
2020-04-25 13:48     ` Yao, Jiewen
2020-04-26  6:43       ` Gao, Zhichao
2020-04-26  6:48         ` Yao, Jiewen
2020-04-27  0:31           ` [edk2-devel] " Gao, Zhichao
2020-04-27  0:41             ` Siyuan, Fu
2020-04-23  9:31 ` [edk2-devel] [PATCH V2 0/7] CryptoPkg: Retire the deprecated functions Yao, Jiewen
2020-04-23  9:58   ` Gao, Zhichao
2020-04-24 13:25 ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox