-
Notifications
You must be signed in to change notification settings - Fork 733
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify Poly1305 C implementation and make it more type-safe.
The code had effective type rule violations as the `opaque` buffer was of type `uint8_t[]` but the code was reading/writing it as a structure type. Fix that by making the code more statically type-safe in the case where the C implementation is being used. Note that this doesn't affect the currently-supported platforms because they all use the assembly language implementations.
- Loading branch information
1 parent
5d22c58
commit aebb3b9
Showing
1 changed file
with
52 additions
and
31 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