[edk2-devel] [PATCH v3 0/1] CryptoPkg: Add RSA PSS verify support

Agrawal, Sachin posted 1 patch 1 week, 6 days ago
Failed in applying to current master (apply log)
CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPss.c                        | 146 +++++++++++++++
CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssNull.c                    |  46 +++++
CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssSign.c                    | 169 +++++++++++++++++
CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssSignNull.c                |  60 ++++++
CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaPssNull.c                |  46 +++++
CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaPssSignNull.c            |  60 ++++++
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/CryptLib.c                 |  66 +++++++
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/BaseCryptLibUnitTests.c   |   1 +
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RsaPssTests.c             | 191 ++++++++++++++++++++
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RsaTests.c                |   2 +
CryptoPkg/Include/Library/BaseCryptLib.h                               |  74 ++++++++
CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf                        |   2 +
CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf                         |   2 +
CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf                     |   2 +
CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf                         |   2 +
CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf            |   2 +
CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf                |   2 +
CryptoPkg/Private/Protocol/Crypto.h                                    |  78 ++++++++
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLib.h        |   3 +
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibHost.inf  |   1 +
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibShell.inf |   1 +
21 files changed, 956 insertions(+)
create mode 100644 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPss.c
create mode 100644 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssNull.c
create mode 100644 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssSign.c
create mode 100644 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssSignNull.c
create mode 100644 CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaPssNull.c
create mode 100644 CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaPssSignNull.c
create mode 100644 CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RsaPssTests.c

[edk2-devel] [PATCH v3 0/1] CryptoPkg: Add RSA PSS verify support

Posted by Agrawal, Sachin 1 week, 6 days ago
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3314

This patch uses Openssl's EVP API's to perform RSASSA-PSS verification
of a binary blob.

Patch v1 Cover Letter :  https://edk2.groups.io/g/devel/message/74286?p=,,,20,0,0,0::Created,,sachin,20,2,0,82225507
Patch v2 Cover Letter :  https://edk2.groups.io/g/devel/message/74565?p=,,,20,0,0,0::Created,,sachin,20,2,0,82434091

https://github.com/sagraw2/edk2/tree/pss_1
https://github.com/sagraw2/edk2/tree/pss_2
https://github.com/sagraw2/edk2/tree/pss_3

Updates from v2:
    - Fixed gcc compilation error [CI System]
	
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>

Sachin Agrawal (1):
  CryptoPkg: BaseCryptLib: Add RSA PSS verify support

 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPss.c                        | 146 +++++++++++++++
 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssNull.c                    |  46 +++++
 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssSign.c                    | 169 +++++++++++++++++
 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssSignNull.c                |  60 ++++++
 CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaPssNull.c                |  46 +++++
 CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaPssSignNull.c            |  60 ++++++
 CryptoPkg/Library/BaseCryptLibOnProtocolPpi/CryptLib.c                 |  66 +++++++
 CryptoPkg/Test/UnitTest/Library/BaseCryptLib/BaseCryptLibUnitTests.c   |   1 +
 CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RsaPssTests.c             | 191 ++++++++++++++++++++
 CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RsaTests.c                |   2 +
 CryptoPkg/Include/Library/BaseCryptLib.h                               |  74 ++++++++
 CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf                        |   2 +
 CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf                         |   2 +
 CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf                     |   2 +
 CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf                         |   2 +
 CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf            |   2 +
 CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf                |   2 +
 CryptoPkg/Private/Protocol/Crypto.h                                    |  78 ++++++++
 CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLib.h        |   3 +
 CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibHost.inf  |   1 +
 CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibShell.inf |   1 +
 21 files changed, 956 insertions(+)
 create mode 100644 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPss.c
 create mode 100644 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssNull.c
 create mode 100644 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssSign.c
 create mode 100644 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssSignNull.c
 create mode 100644 CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaPssNull.c
 create mode 100644 CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaPssSignNull.c
 create mode 100644 CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RsaPssTests.c

-- 
2.14.3.windows.1



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