From: "Gao, Zhichao" <zhichao.gao@intel.com>
To: devel@edk2.groups.io
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>,
Philippe Mathieu-Daude <philmd@redhat.com>,
Liming Gao <liming.gao@intel.com>
Subject: [PATCH V6 00/13] CryptoPkg: Retire the deprecated functions
Date: Fri, 15 May 2020 12:39:35 +0800 [thread overview]
Message-ID: <20200515043948.15028-1-zhichao.gao@intel.com> (raw)
Retire below deprecated functions:
MD4, ARC4, TDES, AES ECB MODE, HMAC MD5, HMAC SHA1.
V2:
Seprate the MD5 and SHA1 changes to other patch set.
Change the deprecated function wrapper implementatuion in
EDKII_CRYPTO_PROTOCOL to call a dummy function to print debug
message and assert.
V3:
Remove the missing part of deprecated functions in V2.
Change the name field in the EDKII_CRYPTO_PROTOCOL to indicate
the function is deprecated and unsupported.
V4:
Fixed some typos.
Separate the change of OpensslLib and make the change with
process_files.pl.
Moving the incorrect changes of AES_ECB from HAMC MD5 patch
to Aes Ecb one.
V5:
Fix incorrect symbol in patch #2.
Separate the patch #8 OpensslLib changes and create it thru
change the process_files.pl.
Change the incorrect Author Name of patch #2, #4, #6.
Add function comment for the deprecated functions for patch #2,
#4, #6, #8, #10, #11.
The V5 patch set can also view at the fork branch:
https://github.com/ZhichaoGao/edk2/commits/deprecated_algo
V6:
Change the line ending of opensslconfig.h in patch #3, #5, #7,
#9.
Add one more patch #12 to convert the line ending from '\n' to '\r\n'
to align the format and match the patch check.
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: Philippe Mathieu-Daude <philmd@redhat.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Zhichao Gao (13):
CryptoPkg/CryptoDxe: Add function to indicate the deprecated algorithm
CryptoPkg/BaseCrpytLib: Retire MD4 algorithm
CryptoPkg/OpensslLib: Set MD4 disable in OpensslLib
CryptoPkg/BaseCryptLib: Retire ARC4 algorithm
CryptoPkg/OpensslLib: Set ARC4 disable in OpensslLib
CryptoPkg/BaseCryptLib: Retire the TDES algorithm
CryptoPkg/OpensslLib: Set TDES disable in OpensslLib
CryptoPkg/BaseCryptLib: Retire Aes Ecb mode algorithm
CryptoPkg/OpensslLib: Remove the Aes Ecb file in the OpensslLib
CryptoPkg/BaseCryptLib: Retire HMAC MD5 algorithm
CryptoPkg/BaseCryptLib: Retire HMAC SHA1 algorithm
CryptoPkg/opensslconf.h: Covert the file ending to dos format
CryptoPkg/Crypto.h: Update the version of Crypto Driver
CryptoPkg/CryptoPkg.dsc | 46 +-
CryptoPkg/Driver/Crypto.c | 599 +++------
CryptoPkg/Include/Library/BaseCryptLib.h | 809 ------------
.../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 +-
.../Library/BaseCryptLib/PeiCryptLib.uni | 8 +-
CryptoPkg/Library/BaseCryptLib/Pem/CryptPem.c | 7 +-
.../Library/BaseCryptLib/RuntimeCryptLib.inf | 11 +-
.../Library/BaseCryptLib/RuntimeCryptLib.uni | 8 +-
.../Library/BaseCryptLib/SmmCryptLib.inf | 12 +-
.../Library/BaseCryptLib/SmmCryptLib.uni | 8 +-
.../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 --
.../BaseCryptLibOnProtocolPpi/CryptLib.c | 1157 ++---------------
.../Library/Include/openssl/opensslconf.h | 689 +++++-----
CryptoPkg/Library/OpensslLib/OpensslLib.inf | 28 -
.../Library/OpensslLib/OpensslLibCrypto.inf | 28 -
CryptoPkg/Library/OpensslLib/process_files.pl | 4 +
CryptoPkg/Private/Protocol/Crypto.h | 709 ++--------
36 files changed, 793 insertions(+), 6205 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
next reply other threads:[~2020-05-15 4:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-15 4:39 Gao, Zhichao [this message]
2020-05-15 4:39 ` [PATCH V6 01/13] CryptoPkg/CryptoDxe: Add function to indicate the deprecated algorithm Gao, Zhichao
2020-05-15 4:39 ` [PATCH V6 02/13] CryptoPkg/BaseCrpytLib: Retire MD4 algorithm Gao, Zhichao
2020-05-15 4:39 ` [PATCH V6 03/13] CryptoPkg/OpensslLib: Set MD4 disable in OpensslLib Gao, Zhichao
2020-05-15 4:39 ` [PATCH V6 04/13] CryptoPkg/BaseCryptLib: Retire ARC4 algorithm Gao, Zhichao
2020-05-15 4:39 ` [PATCH V6 05/13] CryptoPkg/OpensslLib: Set ARC4 disable in OpensslLib Gao, Zhichao
2020-05-15 4:39 ` [PATCH V6 06/13] CryptoPkg/BaseCryptLib: Retire the TDES algorithm Gao, Zhichao
2020-05-15 4:39 ` [PATCH V6 07/13] CryptoPkg/OpensslLib: Set TDES disable in OpensslLib Gao, Zhichao
2020-05-15 4:39 ` [PATCH V6 08/13] CryptoPkg/BaseCryptLib: Retire Aes Ecb mode algorithm Gao, Zhichao
2020-05-15 4:39 ` [PATCH V6 09/13] CryptoPkg/OpensslLib: Remove the Aes Ecb file in the OpensslLib Gao, Zhichao
2020-05-15 4:39 ` [PATCH V6 10/13] CryptoPkg/BaseCryptLib: Retire HMAC MD5 algorithm Gao, Zhichao
2020-05-15 4:39 ` [PATCH V6 11/13] CryptoPkg/BaseCryptLib: Retire HMAC SHA1 algorithm Gao, Zhichao
2020-05-15 4:39 ` [PATCH V6 12/13] CryptoPkg/opensslconf.h: Covert the file ending to dos format Gao, Zhichao
2020-05-15 4:43 ` Wang, Jian J
2020-05-18 5:37 ` Xiaoyu Lu
2020-05-19 1:58 ` Gao, Zhichao
2020-05-15 4:39 ` [PATCH V6 13/13] CryptoPkg/Crypto.h: Update the version of Crypto Driver Gao, Zhichao
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=20200515043948.15028-1-zhichao.gao@intel.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