You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move the entropy_complex_init function to the init from the cryptolib to ensure
that the library has a correct state to start.
Create a new entropy_complex_health_test_config_check function which
verifies the health test thresholds and alerts and move that function the otcrypto_eval_exit function such
that now every API call finishes by checking the state of the entropy
source. This allows us to remove the entropy_complex_check calls inside
the impl and drivers functions themselves.
However, this changes one critical aspect:
- The crypto functions now assume that the otcrypto_init is called
before. Especially the drivers might be called outside of that
assumption in which case it is left to the user to call the setup and
checking of the entropy source themselves.
Signed-off-by: Siemen Dhooghe <sdhooghe@google.com>
0 commit comments