public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch 0/2] Extending the signing algorithms for Authenticated Variables
@ 2020-12-09 18:32 Wadhawan, Divneil R
  2020-12-09 18:32 ` [Patch 1/2] MdeModulePkg: Add unit test " Wadhawan, Divneil R
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Wadhawan, Divneil R @ 2020-12-09 18:32 UTC (permalink / raw)
  To: devel

Authenticated Variables currently only supports SHA256 as the digest algorithm.
This patch series extends it to include SHA384 and SHA512. The series is composed
of 2 patches.
a. Unit Test for Authenticated Variables
b. AuthService change to allow SHA384/SHA512 as digest algorithms.

Divneil Rai Wadhawan (2):
  MdeModulePkg: Add unit test for Authenticated Variables
  SecurityPkg: Add support for SHA-384/SHA-512 digest algos

 .../Variable/RuntimeDxe/UnitTest/AuthVarUnitTest.c | 494 +++++++++++++++++++++
 .../RuntimeDxe/UnitTest/PkNewRsa2048Sha256.c       | 139 ++++++
 .../RuntimeDxe/UnitTest/PkNewRsa3072Sha256.c       | 179 ++++++++
 .../RuntimeDxe/UnitTest/PkNewRsa3072Sha384.c       | 179 ++++++++
 .../RuntimeDxe/UnitTest/PkNewRsa4096Sha256.c       | 219 +++++++++
 .../RuntimeDxe/UnitTest/PkNewRsa4096Sha512.c       | 219 +++++++++
 .../Variable/RuntimeDxe/UnitTest/PkRsa2048Sha256.c | 139 ++++++
 .../Variable/RuntimeDxe/UnitTest/PkRsa3072Sha256.c | 179 ++++++++
 .../Variable/RuntimeDxe/UnitTest/PkRsa3072Sha384.c | 179 ++++++++
 .../Variable/RuntimeDxe/UnitTest/PkRsa4096Sha256.c | 219 +++++++++
 .../Variable/RuntimeDxe/UnitTest/PkRsa4096Sha512.c | 219 +++++++++
 SecurityPkg/Library/AuthVariableLib/AuthService.c  |   8 +-
 AuthVariableDigestUpdate.md                        |  41 ++
 MdeModulePkg/MdeModulePkg.dsc                      |   4 +
 .../UnitTest/AuthVarUnitTestUefiShell.inf          |  42 ++
 15 files changed, 2457 insertions(+), 2 deletions(-)
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/UnitTest/AuthVarUnitTest.c
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/UnitTest/PkNewRsa2048Sha256.c
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/UnitTest/PkNewRsa3072Sha256.c
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/UnitTest/PkNewRsa3072Sha384.c
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/UnitTest/PkNewRsa4096Sha256.c
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/UnitTest/PkNewRsa4096Sha512.c
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/UnitTest/PkRsa2048Sha256.c
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/UnitTest/PkRsa3072Sha256.c
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/UnitTest/PkRsa3072Sha384.c
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/UnitTest/PkRsa4096Sha256.c
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/UnitTest/PkRsa4096Sha512.c
 create mode 100644 AuthVariableDigestUpdate.md
 create mode 100644 MdeModulePkg/Universal/Variable/RuntimeDxe/UnitTest/AuthVarUnitTestUefiShell.inf

-- 
2.16.2.windows.1


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

end of thread, other threads:[~2020-12-10  7:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-09 18:32 [Patch 0/2] Extending the signing algorithms for Authenticated Variables Wadhawan, Divneil R
2020-12-09 18:32 ` [Patch 1/2] MdeModulePkg: Add unit test " Wadhawan, Divneil R
2020-12-09 20:18   ` [EXTERNAL] [edk2-devel] " Bret Barkelew
2020-12-10  7:56     ` Wadhawan, Divneil R
2020-12-09 18:32 ` [Patch 2/2] SecurityPkg: Add support for SHA-384/SHA-512 digest algos Wadhawan, Divneil R
2020-12-09 20:21   ` [EXTERNAL] [edk2-devel] " Bret Barkelew
2020-12-09 21:46     ` Michael D Kinney
2020-12-09 22:28       ` Yao, Jiewen
2020-12-09 18:49 ` [edk2-devel] [Patch 0/2] Extending the signing algorithms for Authenticated Variables Michael D Kinney

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