public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v3 0/1] CryptoPkg: Add RSA PSS verify support
@ 2021-05-04 17:54 Agrawal, Sachin
  2021-05-04 17:54 ` [PATCH v3 1/1] CryptoPkg: BaseCryptLib: " Agrawal, Sachin
  0 siblings, 1 reply; 7+ messages in thread
From: Agrawal, Sachin @ 2021-05-04 17:54 UTC (permalink / raw)
  To: devel; +Cc: Jiewen Yao, Jian J Wang, Xiaoyu Lu, Guomin Jiang

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-17 10:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-04 17:54 [PATCH v3 0/1] CryptoPkg: Add RSA PSS verify support Agrawal, Sachin
2021-05-04 17:54 ` [PATCH v3 1/1] CryptoPkg: BaseCryptLib: " Agrawal, Sachin
2021-05-05  2:08   ` Yao, Jiewen
2021-05-14  3:46     ` Wang, Jian J
2021-05-17  8:35   ` [edk2-devel] " Ard Biesheuvel
2021-05-17  8:49     ` Yao, Jiewen
2021-05-17 10:34       ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox