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.126, mailfrom: xiaoyux.lu@intel.com) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by groups.io with SMTP; Mon, 29 Apr 2019 01:15:46 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Apr 2019 01:15:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,409,1549958400"; d="scan'208";a="154652172" Received: from xiaoyu-dev.sh.intel.com ([10.239.47.11]) by orsmga002.jf.intel.com with ESMTP; 29 Apr 2019 01:15:44 -0700 From: xiaoyux.lu@intel.com To: devel@edk2.groups.io Cc: Jian J Wang , Ting Ye Subject: [PATCH 0/3] CryptoPkg: Upgrade OpenSSL to 1_1_1b Date: Mon, 29 Apr 2019 04:15:24 -0400 Message-Id: <1556525727-14875-1-git-send-email-xiaoyux.lu@intel.com> X-Mailer: git-send-email 2.7.4 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1089 Upgrade openssl to 1_1_1b Release. 1. add instrinsic function 2. disable ossl_store functions. we don't use them. 3. dummy implement rand_pool funtions. 4. fix HMAC_CTX size to compatible previous API. We tested https boot on OvmfPkg and Nt32Pkg. And also tested BaseCryptLib on various platform. It works well. Next we will enable SMx algorithm and TSL1.3 for uefi. Cc: Jian J Wang Cc: Ting Ye Xiaoyu Lu (3): CryptoPkg/IntrinsicLib: add ftol2 function CryptoPkg: Upgrade openssl to 1.1.1b CryptoPkg/BaseCryptLib: updata HMAC_ctx size CryptoPkg/Library/BaseCryptLib/Hmac/CryptHmacMd5.c | 11 +++- .../Library/BaseCryptLib/Hmac/CryptHmacSha1.c | 12 +++- .../Library/BaseCryptLib/Hmac/CryptHmacSha256.c | 12 +++- CryptoPkg/Library/Include/CrtLibSupport.h | 7 +++ CryptoPkg/Library/Include/openssl/opensslconf.h | 54 ++++++++++++----- CryptoPkg/Library/IntrinsicLib/Ia32/MathFtol.c | 22 +++++++ CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf | 4 +- CryptoPkg/Library/OpensslLib/OpensslLib.inf | 60 ++++++++++++++----- CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf | 51 ++++++++++++---- CryptoPkg/Library/OpensslLib/buildinf.h | 2 + CryptoPkg/Library/OpensslLib/openssl | 2 +- CryptoPkg/Library/OpensslLib/ossl_store.c | 21 +++++++ CryptoPkg/Library/OpensslLib/rand_pool.c | 69 ++++++++++++++++++++++ 13 files changed, 280 insertions(+), 47 deletions(-) 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 -- 2.7.4