public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/3] CryptoPkg: Upgrade OpenSSL to 1_1_1b
@ 2019-04-29  8:15 xiaoyux.lu
  2019-04-29  8:15 ` [PATCH 1/3] CryptoPkg/IntrinsicLib: add ftol2 function Xiaoyu lu
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: xiaoyux.lu @ 2019-04-29  8:15 UTC (permalink / raw)
  To: devel; +Cc: Jian J Wang, Ting Ye

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


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

end of thread, other threads:[~2019-05-14  5:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-29  8:15 [PATCH 0/3] CryptoPkg: Upgrade OpenSSL to 1_1_1b xiaoyux.lu
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

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