Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign over the key handle, not info_sub, in HMAC-adapted KEM #21

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

emlun
Copy link
Member

@emlun emlun commented Aug 29, 2024

Discovered while testing a prototype implementation - the MAC is computed over the domain separation tags, not the KEM ciphertext. Not sure what I was thinking when I initially wrote that in 52b738e - the initial commit 139af55 has the MAC sign over both the ciphertext and the DST.

The DSTs are still mixed into the MAC since they are part of the derivation of the MAC key.

@emlun emlun requested a review from ve7jtb as a code owner August 29, 2024 14:02
emlun added a commit to wwWallet/wallet-frontend that referenced this pull request Aug 29, 2024
@emlun emlun merged commit 123f33f into main Oct 2, 2024
2 checks passed
@emlun emlun deleted the fix-mac-text branch October 2, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant