|Window size for Adaptive Proportion Test (NIST SP 800-90B 4.4.2). More...|
|Abort factor for von Neumann extractor. More...|
|ADC resolution default configuration. More...|
|ADC line default configuration. More...|
|ADC estimated entropy per sample [2^16 * bit/sample]. More...|
|Disable ADC health test by default. More...|
|Disable ADC conditioning test by default. More...|
|Enable health test by default. More...|
|Disable conditioning by default. More...|
|#define CONFIG_ENTROPY_SOURCE_ADC_COND 0|
|#define CONFIG_ENTROPY_SOURCE_ADC_HEALTH_TEST 0|
|#define CONFIG_ENTROPY_SOURCE_ADC_HMIN (0)|
ADC estimated entropy per sample [2^16 * bit/sample].
The entropy value needs to be estimated and evaluated thoroughly beforehand deployment! To avoid float, the actual entropy value per one byte sample needs to be manually multiplied by 2^16 before before configuring it (e.g., to an entropy value of 1 bit/sample, a value of 1 * 65536 needs to be set) . We default to zero which is an invalid configuration to enforce a thoughtful investigation on the actual entropy properties. See Entropy Sources for further information about entropy source validation. H_min=0 bit/sample * 2^16 is invalid and needs to set manually!
|#define CONFIG_ENTROPY_SOURCE_ADC_LINE ADC_LINE(0)|
ADC line default configuration.
The ADC line maps to an I/O pin. This number acts as index to an array of predefined ADC devices that contain the pin definition. Typically, the array is defined by a board in a periph_conf.h file. Please note that a board is not required to specify a minimum number of lines.
|#define CONFIG_ENTROPY_SOURCE_ADC_RES ADC_RES_10BIT|
|#define CONFIG_ENTROPY_SOURCE_NEUMANN_ABORT (5)|
|#define CONFIG_ENTROPY_SOURCE_TESTS_WIN (512)|
Window size for Adaptive Proportion Test (NIST SP 800-90B 4.4.2).
In (NIST SP 800-90B 4.4.2) a window size of 512 samples is recommended for non-binary sources. Typically, RIOT use cases will not request as many samples, thus, it might be worth considering a smaller window size so the test is more likely to complete a cycle. It is noteworthy that a cutoff value calculated by entropy_source_test_prop_cutoff that is greater than the window size may lead to undetected errors.
|#define CONFIG_ENTROPY_SOURCE_ZERO_COND 0|
|#define CONFIG_ENTROPY_SOURCE_ZERO_HEALTH_TEST 1|