[edk2-devel] [PATCH 0/4] CryptoPkg: add more X509 functions.

Qi Zhang posted 4 patches 1 year, 7 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
CryptoPkg/Driver/Crypto.c                     |  430 +++++++
CryptoPkg/Include/Library/BaseCryptLib.h      |  374 ++++++
.../Pcd/PcdCryptoServiceFamilyEnable.h        |   34 +-
CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c | 1036 +++++++++++++++++
.../Library/BaseCryptLib/Pk/CryptX509Null.c   |  429 +++++++
.../BaseCryptLibNull/Pk/CryptX509Null.c       |  429 +++++++
.../BaseCryptLibOnProtocolPpi/CryptLib.c      |  415 +++++++
CryptoPkg/Private/Protocol/Crypto.h           |  790 +++++++++----
.../BaseCryptLib/BaseCryptLibUnitTests.c      |    1 +
.../Library/BaseCryptLib/TestBaseCryptLib.h   |    3 +
.../BaseCryptLib/TestBaseCryptLibHost.inf     |    1 +
.../BaseCryptLib/TestBaseCryptLibShell.inf    |    1 +
.../UnitTest/Library/BaseCryptLib/X509Tests.c |  631 ++++++++++
13 files changed, 4364 insertions(+), 210 deletions(-)
create mode 100644 CryptoPkg/Test/UnitTest/Library/BaseCryptLib/X509Tests.c
[edk2-devel] [PATCH 0/4] CryptoPkg: add more X509 functions.
Posted by Qi Zhang 1 year, 7 months ago
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4082

This patch serial is to add more CryptoX509 functions.

Tested by:
1. https://github.com/tianocore/edk2-staging/tree/DeviceSecurity.
2. Unit test: CryptoPkg/Test/UnitTest/Library/BaseCryptLib/X509Tests.c

Review PR: https://github.com/tianocore/edk2/pull/3380.

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 (4):
  CryptoPkg: add new X509 function definition.
  CryptoPkg: add new X509 function.
  CryptoPkg: add new X509 function to Crypto Service.
  CryptoPkg: add Unit Test for X509 new function.

 CryptoPkg/Driver/Crypto.c                     |  430 +++++++
 CryptoPkg/Include/Library/BaseCryptLib.h      |  374 ++++++
 .../Pcd/PcdCryptoServiceFamilyEnable.h        |   34 +-
 CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c | 1036 +++++++++++++++++
 .../Library/BaseCryptLib/Pk/CryptX509Null.c   |  429 +++++++
 .../BaseCryptLibNull/Pk/CryptX509Null.c       |  429 +++++++
 .../BaseCryptLibOnProtocolPpi/CryptLib.c      |  415 +++++++
 CryptoPkg/Private/Protocol/Crypto.h           |  790 +++++++++----
 .../BaseCryptLib/BaseCryptLibUnitTests.c      |    1 +
 .../Library/BaseCryptLib/TestBaseCryptLib.h   |    3 +
 .../BaseCryptLib/TestBaseCryptLibHost.inf     |    1 +
 .../BaseCryptLib/TestBaseCryptLibShell.inf    |    1 +
 .../UnitTest/Library/BaseCryptLib/X509Tests.c |  631 ++++++++++
 13 files changed, 4364 insertions(+), 210 deletions(-)
 create mode 100644 CryptoPkg/Test/UnitTest/Library/BaseCryptLib/X509Tests.c

-- 
2.26.2.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#94282): https://edk2.groups.io/g/devel/message/94282
Mute This Topic: https://groups.io/mt/93903801/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-