iPXE
Data Fields
entropy_adaptive_proportion_test Struct Reference

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...
 

Detailed Description

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.

Definition at line 75 of file entropy.h.

Field Documentation

◆ current_counted_sample

noise_sample_t entropy_adaptive_proportion_test::current_counted_sample

A = the sample value currently being counted.

Definition at line 79 of file entropy.h.

◆ sample_count

unsigned int entropy_adaptive_proportion_test::sample_count

S = the number of samples examined in this run of the test so far.

Definition at line 83 of file entropy.h.

◆ repetition_count

unsigned int entropy_adaptive_proportion_test::repetition_count

B = the current number of times that S (sic) has been seen in the W (sic) samples examined so far.

Definition at line 88 of file entropy.h.

◆ cutoff

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().


The documentation for this struct was generated from the following file: