How usnistgov/sp800-90b_entropyassessment works
EntropyAssessment is a C++ command-line implementation of NIST SP 800-90B entropy-source assessment. Users supply sampled data to separate IID and non-IID assessment tools; these read and translate the symbols, run statistical tests and entropy estimators, then report assessed min-entropy and test details. A restart tool applies row-based restart testing, while a conditioning tool estimates entropy reduction from conditioner parameters. The graph reflects documented capabilities and sampled call sites; unsampled internals are represented only at supported directory paths.
Main entry points: iid_main.cpp IID tool · non_iid_main.cpp Non-IID tool · restart_main.cpp Restart tool · conditioning_main.cpp Conditioning tool
Components 19
Command-line tools
- IID tool
cpp/iid_main.cpp - Non-IID tool
cpp/non_iid_main.cpp - Restart tool
cpp/restart_main.cpp - Conditioning tool
cpp/conditioning_main.cpp
Data handling
- Data reader
cpp/shared/utils.h - Baseline statistics
cpp/shared/utils.h
IID assessment
- IID tests
cpp/iid - Chi-square tests
cpp/iid/chi_square_tests.h - Permutation tests
cpp/iid/permutation_tests.h - Most-common estimator
cpp/shared/most_common.h - IID results
cpp/iid/iid_test_run.h
Non-IID assessment
- Non-IID tests
cpp/non_iid - Most-common estimator
cpp/shared/most_common.h - LRS estimator
cpp/shared/lrs_test.h - Non-IID results
cpp/non_iid/non_iid_test_run.h
Conditioning analysis
- Entropy calculation
cpp/conditioning_main.cpp
Other components
- Analyst
- Sample data
- Assessment output
Connections 31
- Analyst → IID tool: runs
- Analyst → Non-IID tool: runs
- Analyst → Restart tool: runs
- Analyst → Conditioning tool: runs
- Sample data → IID tool: supplies data
- Sample data → Non-IID tool: supplies data
- Sample data → Restart tool: supplies data
- Sample data → Conditioning tool: supplies data
- IID tool → Data reader: reads data
- Non-IID tool → Data reader: reads data
- Restart tool → Data reader: reads data
- Conditioning tool → Data reader: reads data
- IID tool → Baseline statistics: calculates
- IID tool → Chi-square tests: runs
- IID tool → Permutation tests: runs
- IID tool → Most-common estimator: estimates entropy
- IID tool → IID tests: runs
- Non-IID tool → Non-IID tests: runs
- Non-IID tool → Most-common estimator: estimates entropy
- Non-IID tool → LRS estimator: estimates entropy
- Restart tool → IID tests: runs IID tests
- Restart tool → Non-IID tests: runs non-IID tests
- Conditioning tool → Entropy calculation: calculates entropy
- IID tool → IID results: records results
- Non-IID tool → Non-IID results: records results
- Restart tool → IID results: records IID results
- Restart tool → Non-IID results: records non-IID results
- IID tool → Assessment output: writes report
- Non-IID tool → Assessment output: writes report
- Restart tool → Assessment output: writes report
- Conditioning tool → Assessment output: writes result