public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: xiaoyux.lu@intel.com
To: devel@edk2.groups.io
Cc: Jian J Wang <jian.j.wang@intel.com>, Ting Ye <ting.ye@intel.com>
Subject: [PATCH 0/3] CryptoPkg: Upgrade OpenSSL to 1_1_1b
Date: Mon, 29 Apr 2019 04:15:24 -0400	[thread overview]
Message-ID: <1556525727-14875-1-git-send-email-xiaoyux.lu@intel.com> (raw)

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 <jian.j.wang@intel.com>
Cc: Ting Ye <ting.ye@intel.com>

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


             reply	other threads:[~2019-04-29  8:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-29  8:15 xiaoyux.lu [this message]
2019-04-29  8:15 ` [PATCH 1/3] CryptoPkg/IntrinsicLib: add ftol2 function Xiaoyu lu
2019-04-29  8:15 ` [PATCH 2/3] CryptoPkg: Upgrade openssl to 1.1.1b Xiaoyu lu
2019-04-29 18:01   ` [edk2-devel] " Laszlo Ersek
2019-04-30 10:00     ` Xiaoyu lu
2019-04-30 15:31       ` Laszlo Ersek
2019-05-14  5:21         ` Xiaoyu lu
2019-04-29  8:15 ` [PATCH 3/3] CryptoPkg/BaseCryptLib: updata HMAC_ctx size Xiaoyu lu
2019-04-29 14:28   ` [edk2-devel] " Philippe Mathieu-Daudé
2019-04-29 18:31   ` Laszlo Ersek
2019-04-30  1:16     ` Wang, Jian J
2019-04-30 10:26       ` Laszlo Ersek
2019-04-30 10:47         ` Wang, Jian J

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=1556525727-14875-1-git-send-email-xiaoyux.lu@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