mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Initial entropy run should be context specific
Otherwise test influence each other. Is a change to the context but only if the NV seed feature is enabled
This commit is contained in:
committed by
Simon Butcher
parent
66fdf34e81
commit
fc9c7c8bf4
@ -134,6 +134,9 @@ typedef struct
|
||||
#if defined(MBEDTLS_THREADING_C)
|
||||
mbedtls_threading_mutex_t mutex; /*!< mutex */
|
||||
#endif
|
||||
#if defined(MBEDTLS_ENTROPY_NV_SEED)
|
||||
int initial_entropy_run;
|
||||
#endif
|
||||
}
|
||||
mbedtls_entropy_context;
|
||||
|
||||
|
Reference in New Issue
Block a user