-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
128X-MAC: properly absorb all concatenated tags into the first lane
The `FinalizeMac` function concatenates the tags from all AEGIS instances and absorbs them into the first state, following the behavior of AEGIS-128L. However, the `Update` function referenced here belongs to AEGIS-128X. When the degree is greater than 1, bytes [16..32] correspond to the second AEGIS instance (or, in implementations, the second half of a 256-bit register), rather than the first instance. Adjust the padding to ensure all bytes are correctly loaded into the first instance.
- Loading branch information
Showing
2 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters