Skip to content

[crypto] Hash keymgr diversification data to remove length restrictions#195

Open
pqcfox wants to merge 1 commit intomasterfrom
kat/keymgr-diversification-hash
Open

[crypto] Hash keymgr diversification data to remove length restrictions#195
pqcfox wants to merge 1 commit intomasterfrom
kat/keymgr-diversification-hash

Conversation

@pqcfox
Copy link
Contributor

@pqcfox pqcfox commented Feb 6, 2026

This PR changes the computation of key manager diversification data in cryptolib to remove length restrictions on the provided keyblob.

In particular, the first word of the keyblob is still used as the version, but the remainder is now concatenated with the mode and hashed to obtain the salt.

@pqcfox pqcfox requested a review from jadephilipoom February 6, 2026 17:50
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