From: "Qi Zhang" <qi1.zhang@intel.com>
To: devel@edk2.groups.io
Cc: Qi Zhang <qi1.zhang@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>
Subject: [PATCH 0/3] CryptoPkg: Add EC key retrieving and signature interface.
Date: Tue, 11 Oct 2022 14:36:52 +0800 [thread overview]
Message-ID: <cover.1665469855.git.qi1.zhang@intel.com> (raw)
This patch is used to retrieve EC key from PEM and X509 and
carry out the EC-DSA signature and verify it.
The interface was tested by:
1. DeviceSecurity on edk2-staging
https://github.com/tianocore/edk2-staging/tree/DeviceSecurity.
2. Unit test in CryptoPkg/Test
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4102
PR: https://github.com/tianocore/edk2/pull/3464
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>
Signed-off-by: Qi Zhang <qi1.zhang@intel.com>
Qi Zhang (3):
CryptoPkg: Add EC key retrieving and signature interface.
CryptoPkg: Add EC key interface to DXE and protocol
CryptoPkg: add unit test for EC key interface.
CryptoPkg/Driver/Crypto.c | 143 +++++++++-
CryptoPkg/Include/Library/BaseCryptLib.h | 129 +++++++++
.../Pcd/PcdCryptoServiceFamilyEnable.h | 4 +
CryptoPkg/Library/BaseCryptLib/Pem/CryptPem.c | 87 ++++++
.../Library/BaseCryptLib/Pem/CryptPemNull.c | 30 ++
CryptoPkg/Library/BaseCryptLib/Pk/CryptEc.c | 258 ++++++++++++++++++
.../Library/BaseCryptLib/Pk/CryptEcNull.c | 82 ++++++
CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c | 83 ++++++
.../Library/BaseCryptLib/Pk/CryptX509Null.c | 28 ++
.../BaseCryptLibNull/Pem/CryptPemNull.c | 30 ++
.../Library/BaseCryptLibNull/Pk/CryptEcNull.c | 82 ++++++
.../BaseCryptLibNull/Pk/CryptX509Null.c | 28 ++
.../BaseCryptLibOnProtocolPpi/CryptLib.c | 136 +++++++++
CryptoPkg/Private/Protocol/Crypto.h | 129 +++++++++
.../UnitTest/Library/BaseCryptLib/EcTests.c | 156 +++++++++++
15 files changed, 1404 insertions(+), 1 deletion(-)
--
2.26.2.windows.1
next reply other threads:[~2022-10-11 6:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-11 6:36 Qi Zhang [this message]
2022-10-11 6:36 ` [PATCH 1/3] CryptoPkg: Add EC key retrieving and signature interface Qi Zhang
2022-10-11 6:36 ` [PATCH 2/3] CryptoPkg: Add EC key interface to DXE and protocol Qi Zhang
2022-10-11 6:36 ` [PATCH 3/3] CryptoPkg: add unit test for EC key interface Qi Zhang
2022-10-12 0:33 ` [PATCH 0/3] CryptoPkg: Add EC key retrieving and signature interface 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.1665469855.git.qi1.zhang@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