public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Wenxing Hou" <wenxing.hou@intel.com>
To: devel@edk2.groups.io
Cc: Wenxing Hou <wenxing.hou@intel.com>,
	Jiewen Yao <jiewen.yao@intel.com>, Yi Li <yi1.li@intel.com>
Subject: [edk2-staging/OpenSSL11_EOL PATCH 0/7] Enable MbedTLS for CryptoPkg update Mar 17
Date: Fri, 17 Mar 2023 17:00:46 +0800	[thread overview]
Message-ID: <20230317090053.1895-1-wenxing.hou@intel.com> (raw)

The POC is to explore mbedtls as a smaller alternative to OpenSSL.
The Patch enable EC/X509/Pkcs7 base on Mbedtls for CryptoPkg.


Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Yi Li <yi1.li@intel.com>

Signed-off-by: Wenxing Hou <wenxing.hou@intel.com>

Wenxing Hou (7):
  Update ReadmeMbedtls
  Clear unnecessary API in DH
  Make all BaseCryptLibMbedTls inf files consistent with BaseCryptLib
  Update Pkcs7 api based on MbedTlsLib for CryptoPkg
  Update EC api based on MbedTlsLib for CryptoPkg
  Update X509 api based on MbedTlsLib for CryptoPkg
  Clean SysCall api by adding platform_util.c

 .../BaseCryptLibMbedTls/BaseCryptLib.inf      |   8 +
 .../BaseCryptLibMbedTls/InternalCryptLib.h    |  32 +
 .../Library/BaseCryptLibMbedTls/Pk/CryptDh.c  |  73 --
 .../Library/BaseCryptLibMbedTls/Pk/CryptEc.c  | 634 +++++++++++++++++-
 .../BaseCryptLibMbedTls/Pk/CryptPkcs7Sign.c   |   5 +-
 .../Pk/CryptPkcs7VerifyBase.c                 |  40 +-
 .../Pk/CryptPkcs7VerifyCommon.c               | 338 +++++++++-
 .../Pk/CryptPkcs7VerifyEku.c                  | 454 +------------
 .../BaseCryptLibMbedTls/Pk/CryptX509.c        | 163 ++++-
 .../BaseCryptLibMbedTls/Rand/CryptRandTsc.c   |   7 +
 .../BaseCryptLibMbedTls/RuntimeCryptLib.inf   |   2 +-
 .../BaseCryptLibMbedTls/SmmCryptLib.inf       |   4 +-
 .../SysCall/ConstantTimeClock.c               |  14 -
 .../BaseCryptLibMbedTls/SysCall/CrtWrapper.c  |   5 -
 .../SysCall/TimerWrapper.c                    |  14 -
 .../BaseCryptLibMbedTls/TestBaseCryptLib.inf  |   4 +-
 CryptoPkg/Library/MbedTlsLib/MbedTlsLib.inf   |   2 +
 CryptoPkg/ReadmeMbedtls.md                    |  55 +-
 18 files changed, 1264 insertions(+), 590 deletions(-)

-- 
2.26.2.windows.1


             reply	other threads:[~2023-03-17  9:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-17  9:00 Wenxing Hou [this message]
2023-03-17  9:00 ` [edk2-staging/OpenSSL11_EOL PATCH 1/7] Update ReadmeMbedtls Wenxing Hou
2023-03-17  9:00 ` [edk2-staging/OpenSSL11_EOL PATCH 2/7] Clear unnecessary API in DH Wenxing Hou
2023-03-17  9:00 ` [edk2-staging/OpenSSL11_EOL PATCH 3/7] Make all BaseCryptLibMbedTls inf files consistent with BaseCryptLib Wenxing Hou
2023-03-17  9:00 ` [edk2-staging/OpenSSL11_EOL PATCH 4/7] Update Pkcs7 api based on MbedTlsLib for CryptoPkg Wenxing Hou
2023-03-17  9:00 ` [edk2-staging/OpenSSL11_EOL PATCH 5/7] Update EC " Wenxing Hou
2023-03-17  9:00 ` [edk2-staging/OpenSSL11_EOL PATCH 6/7] Update X509 " Wenxing Hou
2023-03-17  9:00 ` [edk2-staging/OpenSSL11_EOL PATCH 7/7] Clean SysCall api by adding platform_util.c Wenxing Hou

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=20230317090053.1895-1-wenxing.hou@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