Skip to content

CryptoPkg: Add SHA-256/384/512 PBKDF2 unit tests - #1863

Draft
Doug Flick (Flickdm) wants to merge 1 commit into
microsoft:release/202511from
Flickdm:feat/pkcs5-pbkdf2-sha384-sha512
Draft

Doug Flick (Flickdm) wants to merge 1 commit into
microsoft:release/202511from
Flickdm:feat/pkcs5-pbkdf2-sha384-sha512

Conversation

@Flickdm

Copy link
Copy Markdown
Member

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.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

N/A

Integration Instructions

N/A

@mu-automation

mu-automation Bot commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

❌ QEMU Validation Failed

Source Dependencies

Repository Commit
mu_basecore e7fe954
mu_tiano_platforms 8ab604a

Results

Platform Target Build Boot Overall Boot Time Build Logs Boot Logs
Q35 DEBUG ❌ failure ⏩ skipped N/A Build Logs N/A
ArmVirt DEBUG ❌ failure ⏩ skipped N/A Build Logs N/A

Workflow run: https://github.com/microsoft/mu_basecore/actions/runs/36169268875

This comment was automatically generated by the Mu QEMU PR Validation workflow.

@Flickdm
Doug Flick (Flickdm) force-pushed the feat/pkcs5-pbkdf2-sha384-sha512 branch from c5218ae to 3f15752 Compare July 24, 2026 17:22
@Flickdm
Doug Flick (Flickdm) force-pushed the feat/pkcs5-pbkdf2-sha384-sha512 branch 2 times, most recently from 96a9698 to 0cb2012 Compare July 24, 2026 19:09
@Flickdm
Doug Flick (Flickdm) force-pushed the feat/pkcs5-pbkdf2-sha384-sha512 branch from 0cb2012 to 2973964 Compare August 7, 2026 19:53
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
Doug Flick (Flickdm) force-pushed the feat/pkcs5-pbkdf2-sha384-sha512 branch from 2973964 to e7fe954 Compare September 25, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant