CryptoPkg: Add SHA-256/384/512 PBKDF2 unit tests - #1863
Draft
Flickdm wants to merge 1 commit into
Draft
Conversation
Contributor
✅ QEMU Validation PassedSource Dependencies
Results
Workflow run: https://github.com/microsoft/mu_basecore/actions/runs/30120126391 This comment was automatically generated by the Mu QEMU PR Validation workflow. |
Flickdm
force-pushed
the
feat/pkcs5-pbkdf2-sha384-sha512
branch
from
July 24, 2026 17:22
c5218ae to
3f15752
Compare
5 tasks
Flickdm
force-pushed
the
feat/pkcs5-pbkdf2-sha384-sha512
branch
from
July 24, 2026 18:55
3f15752 to
96a9698
Compare
Extend the PKCS#5 PBKDF2 host unit test to cover additional digest sizes. The test previously validated only HMAC-SHA1; refactor it to be data driven and add known-answer vectors for HMAC-SHA256, HMAC-SHA384 and HMAC-SHA512 derived keys, exercising the newly supported digest sizes in Pkcs5HashPassword. Signed-off-by: Doug Flick <dougflick@microsoft.com>
Flickdm
force-pushed
the
feat/pkcs5-pbkdf2-sha384-sha512
branch
from
July 24, 2026 19:09
96a9698 to
0cb2012
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Extend the PKCS#5 PBKDF2 host unit test to cover additional digest sizes. The test previously validated only HMAC-SHA1; refactor it to be data driven and add known-answer vectors for HMAC-SHA256, HMAC-SHA384 and HMAC-SHA512 derived keys, exercising the newly supported digest sizes in Pkcs5HashPassword.
For details on how to complete these options and their meaning refer to CONTRIBUTING.md.
How This Was Tested
N/A
Integration Instructions
N/A