HomeFreeBSD

Fortuna: push CTR-mode loop down into randomdev hash.h interface

Description

Fortuna: push CTR-mode loop down into randomdev hash.h interface

As a step towards adding other potential streaming ciphers. As well as just
pushing the loop down into the rijndael APIs (basically 128-bit wide AES-ICM
mode) to eliminate some excess explicit_bzero().

No functional change intended.

(cherry picked from commit 51c68d18e2580e5a3949b8c1b331125b71325e0b)

Details

Provenance
cemAuthored on Mar 1 2019, 7:21 PM
obrienCommitted on Feb 11 2022, 5:47 AM
Parents
rG8f746f7e88d2: random(4): Correct a bare zero to the appropriate enum
Branches
Unknown
Tags
Unknown