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.w...@intel.com>
Cc: Ting Ye <ting...@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


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#39750): https://edk2.groups.io/g/devel/message/39750
Mute This Topic: https://groups.io/mt/31381051/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to