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

universal-hash: add UhfBackend::blocks_needed_to_align #1059

Merged
merged 1 commit into from
Jul 24, 2022

Conversation

tarcieri
Copy link
Member

Originally suggested by @str4d here:

#965 (comment)

The use case is ensuring unbuffered processing of the input AEAD message body when the AAD does not line up with the number of blocks it's processing in parallel.

This number of blocks can be input from the start of the message body to finish completely filling the buffer, ensuring all subsequent processing occurs at the start of the buffer.

Originally suggested by @str4d here:

#965 (comment)

The use case is ensuring unbuffered processing of the input AEAD message
body when the AAD does not line up with the number of blocks it's
processing in parallel.

This number of blocks can be input from the start of the message body to
finish completely filling the buffer, ensuring all subsequent processing
occurs at the start of the buffer.
@tarcieri tarcieri requested review from newpavlov and str4d July 24, 2022 17:33
@tarcieri tarcieri merged commit ec0757d into master Jul 24, 2022
@tarcieri tarcieri deleted the universal-hash/blocks-needed-to-align branch July 24, 2022 17:36
@tarcieri tarcieri mentioned this pull request Jul 30, 2022
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