Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
universal-hash: add
UhfBackend::blocks_needed_to_align
(#1059)
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.
- Loading branch information