usnistgov / SP800-90B_EntropyAssessment

The SP800-90B_EntropyAssessment C++package implements the min-entropy assessment methods included in Special Publication 800-90B.
195 stars 88 forks source link

ea_conditioning does not work correctly for non-vetted conditioning functions #210

Closed joshuaehill closed 1 year ago

joshuaehill commented 1 year ago

At some point ea_conditioning gained the ability to find h' by performing a statistical test on provided data. This isn't performed correctly for single-bit data (it always decides that h' = 1.0 for all binary data), and the logic is obscure for all types of data.

joshuaehill commented 1 year ago

In addition, h' is not calculated correctly in the IID case.