Skip to content
Unverified Commit 0a804a13 authored by Stephan Mueller's avatar Stephan Mueller
Browse files

JENT: Fix APT



The library generally assumes a min entropy lower bound entropy of
1/osr, but the APT cutoff was fixed and based on the old assumption
of 1 bit of min entropy per raw sample (the estimate has since been
reduced to 1/3 by default). This pull request makes the cutoff
dependent on the choice of osr (and thus the presumed entropy level),
which is consistent with how the RCT cutoff is treated.

Finally, the APT test that was implemented wasn’t quite what was
specified in 90B (due to reuse of the last symbol of a window as the
first symbol of the next window). I doubt this difference had any real
impact, but it does impact SP 800-90B validation.

Sighed-off-by: Joshua E. Hill
Signed-off-by: default avatarStephan Mueller <smueller@chronox.de>
parent 1b6d77c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment