From: "Li, Yi" <yi1.li@intel.com>
To: devel@edk2.groups.io
Cc: Yi Li <yi1.li@intel.com>, Jiewen Yao <jiewen.yao@intel.com>,
Jian J Wang <jian.j.wang@intel.com>,
Xiaoyu Lu <xiaoyu1.lu@intel.com>,
Guomin Jiang <guomin.jiang@intel.com>,
Michael D Kinney <michael.d.kinney@intel.com>,
Liming Gao <gaoliming@byosoft.com.cn>
Subject: [PATCH V3 0/3] CryptoPkg: Extend Tls library
Date: Mon, 10 Oct 2022 10:39:56 +0800 [thread overview]
Message-ID: <cover.1665369262.git.yi1.li@intel.com> (raw)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3892
Review PR: https://github.com/tianocore/edk2/pull/3400
This patch sequence is used to extend Tls library, which are wrapped
over OpenSSL. The implementation provides library functions for EFI
DXE dirver and Protocol.
All APIs passed unit test and fuzzing test, detail as:
1. Unit test:
New Tls APIs tested on Intel platform as part of WIFI WPA3 feature.
2. Fuzzing test:
Various Fuzz Testing are employed across the all introduced APIs, and the
test is used AFL (2.52b) and Libfuzzer (clang+llvm-11.0.0) as the fuzzer,
based on HBFA.
Fuzzing Pass Rate is 100%;
The Code Coverage of new APIs is 91%.
All test case show in:
https://github.com/liyi77/edk2-staging/tree/HBFA/HBFA/UefiHostFuzzTestCasePkg/TestCase/CryptoPkg
V2 change:
Move the newly added APIs to the end of struct PCD.
V3 change:
Corrected tls specification reference and tls cipher suite names.
Tested-by: Yi Li <yi1.li@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Yi Li <yi1.li@intel.com>
Yi Li (3):
MdePkg: Add Tls configuration related define
CryptoPkg: Extend Tls function library
CryptoPkg: Add new Tls APIs to DXE and protocol
CryptoPkg/Driver/Crypto.c | 155 +++++++-
CryptoPkg/Include/Library/TlsLib.h | 126 +++++-
.../Pcd/PcdCryptoServiceFamilyEnable.h | 5 +
.../BaseCryptLibOnProtocolPpi/CryptLib.c | 146 ++++++-
CryptoPkg/Library/TlsLib/InternalTlsLib.h | 4 +
CryptoPkg/Library/TlsLib/TlsConfig.c | 366 +++++++++++++++++-
CryptoPkg/Library/TlsLib/TlsProcess.c | 32 ++
CryptoPkg/Library/TlsLibNull/TlsConfigNull.c | 123 +++++-
CryptoPkg/Library/TlsLibNull/TlsProcessNull.c | 23 ++
CryptoPkg/Private/Protocol/Crypto.h | 136 ++++++-
MdePkg/Include/IndustryStandard/Tls1.h | 112 ++++--
11 files changed, 1177 insertions(+), 51 deletions(-)
--
2.31.1.windows.1
next reply other threads:[~2022-10-10 2:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-10 2:39 Li, Yi [this message]
2022-10-10 2:39 ` [PATCH V3 1/3] MdePkg: Add Tls configuration related define Li, Yi
2022-10-10 3:06 ` Michael D Kinney
2022-10-10 2:39 ` [PATCH V3 2/3] CryptoPkg: Extend Tls function library Li, Yi
2022-10-10 2:39 ` [PATCH V3 3/3] CryptoPkg: Add new Tls APIs to DXE and protocol Li, Yi
2022-10-10 2:46 ` [PATCH V3 0/3] CryptoPkg: Extend Tls library Yao, Jiewen
[not found] ` <171C9530E5033AAA.32766@groups.io>
2022-10-10 4:45 ` [edk2-devel] " Yao, Jiewen
2022-10-10 5:38 ` Li, Yi
2022-10-10 6:31 ` Yao, Jiewen
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=cover.1665369262.git.yi1.li@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