Files
mbedtls/library
Gavin Acquroff ceb9990a69 Support set *_drbg reseed interval before seed
mbedtls_ctr_drbg_set_reseed_interval() and
mbedtls_hmac_drbg_set_reseed_interval() can now be called before
their seed functions and the reseed_interval value will persist.
Previously it would be overwritten with the default value.

*_drbg_reseed_interval is now set in init() and free().

mbedtls_ctr_drbg_free() and mbedtls_hmac_drbg_free() now
reset the drbg context to the state immediately after init().

Tests:
- Added test to check that DRBG reseeds when reseed_counter
reaches reseed_interval, if reseed_interval set before seed
and reseed_interval is less than MBEDTLS_*_DRBG_RESEED_INTERVAL.

Signed-off-by: gacquroff <gavina352@gmail.com>
2020-12-03 13:08:37 -08:00
..
2020-10-22 10:34:20 +02:00
2020-08-26 15:28:48 +01:00
2020-11-16 16:09:41 +01:00
2020-09-22 16:19:25 +02:00
2020-09-30 07:39:15 -05:00
2020-11-29 14:45:10 -03:00
2020-08-26 11:38:41 +02:00