iPXE

Adaptive proportion test state. More...
#include <entropy.h>
Data Fields  
noise_sample_t  current_counted_sample 
A = the sample value currently being counted. More...  
unsigned int  sample_count 
S = the number of samples examined in this run of the test so far. More...  
unsigned int  repetition_count 
B = the current number of times that S (sic) has been seen in the W (sic) samples examined so far. More...  
unsigned int  cutoff 
C = the cutoff value above which the repetition test should fail. More...  
Adaptive proportion test state.
This is the state for the Adaptive Proportion Test for the Most Common Value defined in ANS X9.82 Part 2 (October 2011 Draft) Section 8.5.2.1.3.
noise_sample_t entropy_adaptive_proportion_test::current_counted_sample 
unsigned int entropy_adaptive_proportion_test::sample_count 
unsigned int entropy_adaptive_proportion_test::repetition_count 
unsigned int entropy_adaptive_proportion_test::cutoff 
C = the cutoff value above which the repetition test should fail.
Filled in by entropy_init().
Definition at line 94 of file entropy.h.
Referenced by entropy_init().