HomeFreeBSD

Fortuna: Add trivial assert to match FS&K definition

Description

Fortuna: Add trivial assert to match FS&K definition

FS&K GenerateBlocks function asserts C (counter) != 0. This should also
be true in our implementation.

Reviewed by: delphij, markm
Approved by: secteam (delphij)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D16936
(cherry picked from commit 84880efae7040bb55e6f63166f53158135574e3a)

Details

Provenance
cemAuthored on Oct 20 2018, 8:12 PM
obrienCommitted on Aug 6 2021, 12:28 AM
Reviewer
delphij
Differential Revision
D16936: Fortuna: Add trivial assert to match FS&K definition
Parents
rGec2942baf536: Fortuna: Clean up reseeding key material to closer match FS&K
Branches
Unknown
Tags
Unknown