Commit ec0757d
authored
universal-hash: add
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.UhfBackend::blocks_needed_to_align (#1059)1 parent 0b2a4a2 commit ec0757d
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
| |||
0 commit comments