From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: xiaoyux.lu@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Wed, 29 May 2019 03:42:39 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 May 2019 03:42:38 -0700 X-ExtLoop1: 1 Received: from xiaoyu-dev.sh.intel.com ([10.239.47.11]) by fmsmga004.fm.intel.com with ESMTP; 29 May 2019 03:42:37 -0700 From: "Xiaoyu Lu" To: devel@edk2.groups.io Cc: Xiaoyu Lu , Jian J Wang , Ting Ye , Laszlo Ersek Subject: [PATCH v5 0/9] Crypto: Upgrade OpenSSL to 1.1.1b Date: Wed, 29 May 2019 06:40:29 -0400 Message-Id: <1559126438-9211-1-git-send-email-xiaoyux.lu@intel.com> X-Mailer: git-send-email 2.7.4 This series is also avaiable at: https://github.com/xiaoyuxlu/edk2/commits/bz_1089_upgrade_to_openssl_1_1_1b_v5 Change since v4: 1. Split "[PATCH v4 6/7] CryptoPkg: Upgrade OpenSSL to 1.1.1b" patch into two. a. CryptoPkg/OpensslLib: Add functions for upgrading OpenSSL1_1_1b b. CryptoPkg: Upgrade OpenSSL to 1.1.1b 2. Add "CryptoPkg: Fix possible build problem with Clang" patch. Blow is a link to the problem. Ref: https://edk2.groups.io/g/devel/message/41424 OpenSSL_1_1_1b may build failed with Clang38. So add additional build flag to work around it. Cc: Jian J Wang Cc: Ting Ye Cc: Laszlo Ersek Laszlo Ersek (1): CryptoPkg/OpensslLib: Fix cross-build problem for AARCH64 Xiaoyu Lu (8): CryptoPkg/OpensslLib: Modify process_files.pl for upgrading OpenSSL CryptoPkg/OpensslLib: Exclude unnecessary files in process_files.pl CryptoPkg/IntrinsicLib: Fix possible unresolved external symbol issue CryptoPkg/OpensslLib: Prepare for upgrading OpenSSL CryptoPkg: Fix possible build problem with Clang CryptoPkg/OpensslLib: Add functions for upgrading OpenSSL1_1_1b CryptoPkg: Upgrade OpenSSL to 1.1.1b CryptoPkg/BaseCryptLib: Make HMAC_CTX size backward compatible CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf | 2 + CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 2 + CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | 2 + CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 2 + CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf | 4 +- CryptoPkg/Library/OpensslLib/OpensslLib.inf | 77 ++++- CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf | 68 ++++- CryptoPkg/Library/Include/CrtLibSupport.h | 13 +- CryptoPkg/Library/Include/openssl/opensslconf.h | 54 +++- CryptoPkg/Library/Include/sys/syscall.h | 11 + CryptoPkg/Library/OpensslLib/buildinf.h | 2 + CryptoPkg/Library/OpensslLib/rand_pool_noise.h | 29 ++ CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c | 8 +- .../Library/BaseCryptLib/Hmac/CryptHmacSha1.c | 9 +- .../Library/BaseCryptLib/Hmac/CryptHmacSha256.c | 8 +- CryptoPkg/Library/IntrinsicLib/Ia32/MathFtol.c | 22 ++ CryptoPkg/Library/OpensslLib/ossl_store.c | 17 ++ CryptoPkg/Library/OpensslLib/rand_pool.c | 316 +++++++++++++++++++++ CryptoPkg/Library/OpensslLib/rand_pool_noise.c | 29 ++ CryptoPkg/Library/OpensslLib/rand_pool_noise_tsc.c | 43 +++ CryptoPkg/Library/OpensslLib/openssl | 2 +- CryptoPkg/Library/OpensslLib/process_files.pl | 11 +- 22 files changed, 679 insertions(+), 52 deletions(-) create mode 100644 CryptoPkg/Library/Include/sys/syscall.h create mode 100644 CryptoPkg/Library/OpensslLib/rand_pool_noise.h create mode 100644 CryptoPkg/Library/IntrinsicLib/Ia32/MathFtol.c create mode 100644 CryptoPkg/Library/OpensslLib/ossl_store.c create mode 100644 CryptoPkg/Library/OpensslLib/rand_pool.c create mode 100644 CryptoPkg/Library/OpensslLib/rand_pool_noise.c create mode 100644 CryptoPkg/Library/OpensslLib/rand_pool_noise_tsc.c -- 2.7.4