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

Remove limit on MAC protected headers; MAC code size smaller #276

Merged
merged 7 commits into from
Nov 16, 2023

Conversation

laurencelundblade
Copy link
Owner

This is a rework of the crypto adaptor layer for HMAC to be similar to that for hashes. This facilitates the use of incremental HMAC'ing of the protected headers in place so there is no need for a fixed buffer for them and so their size limit is removed.

This also resulted in a code size and complexity reduction, particularly because both Mac compute and validate use exactly the same utility functions and crypto layer.

@laurencelundblade laurencelundblade changed the title Now no limit on MAC protected headers; MAC code size smaller Remove limit on MAC protected headers; MAC code size smaller Nov 16, 2023
@laurencelundblade laurencelundblade merged commit 1eeef3b into dev Nov 16, 2023
28 checks passed
@laurencelundblade laurencelundblade deleted the better_tbm branch November 16, 2023 19:15
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