[edk2-staging]: [PATCH] UnitTestFrameworkPkg: Add unit test for Authenticated Variables


Wadhawan, Divneil R
 

Hi all,

 

I am working on extending the digest algorithm for Authenticated Variables.

Existing Authenticated variables only support signing SHA256 digest.

The 2 patches below in github follows the edk2 code first approach.

 

The below patch is huge because of the test Authenticated Variables (.auth) header file being > 130 lines * 10 test cases.

I can push the patch in the mail for review, in case its recommended.

Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=2949

Patch: https://github.com/divneil/edk2-staging/pull/new/Bugzilla2949-Unit-Test-for-Authenticated-Variables-MdeModulePkg

 

The below patch modifies AuthService to allow SHA384/SHA512 digest algorithm.

I will send it for email review later, but in order to keep the related information together and easily accessible, I am sharing here for completeness.

Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=2950

Patch: https://github.com/divneil/edk2-staging/pull/new/Bugzilla2950-AuthService-extending-digest-algorithm-support

 

How to test the full feature with EmulatorPkg is detailed in: https://bugzilla.tianocore.org/show_bug.cgi?id=2950#c5

Thanks for your review.

 

Regards,

Divneil

Join devel@edk2.groups.io to automatically receive all group messages.