-
Notifications
You must be signed in to change notification settings - Fork 792
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kmac] Switch to Trivium-based PRNG implementation
This commit switches the LFSR-based PRNG with an unrolled, Trivium-based PRNG implementation to avoid brute-forcing attacks on the LFSR states. The overall PRNG state decreases from 800 bits to 288 bits but due to the heavy unrolling, the primitive can still generate 800 bits per cycle as required by the masked SHA3 core. This resolves #20828. Signed-off-by: Pirmin Vogel <[email protected]>
- Loading branch information
Showing
33 changed files
with
778 additions
and
3,972 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
Oops, something went wrong.