Gavin Acquroff
6aceb51e43
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_CTR_DRBG_RESEED_INTERVAL.
Signed-off-by: gacquroff <gavina352@gmail.com>
2020-11-25 14:25:56 -08:00
..
2015-06-25 10:59:56 +02:00
2020-11-09 20:44:08 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-21 12:57:08 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-10-08 12:09:44 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-11-18 08:09:49 -08:00
2020-11-06 09:40:21 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-10-20 13:44:44 +01:00
2020-08-19 10:35:41 +02:00
2020-11-25 14:25:56 -08:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-20 11:07:12 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-09-30 17:02:25 +02:00
2020-10-01 11:27:17 +02:00
2020-08-19 10:35:41 +02:00
2020-11-16 15:02:16 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-11-25 14:25:56 -08:00
2020-09-16 11:40:06 +01:00
2020-08-21 21:08:56 +02:00
2020-08-21 21:08:56 +02:00
2020-08-21 21:08:56 +02:00
2020-08-21 09:19:12 +02:00
2020-08-19 10:35:41 +02:00
2020-09-30 16:53:37 +08:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-11-10 16:00:41 +01:00
2020-11-10 16:00:41 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-09-22 11:57:16 +02:00
2020-11-10 16:00:41 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-11-20 13:57:15 +01:00
2020-11-02 11:37:42 +01:00
2020-10-26 16:41:37 +01:00
2020-11-10 16:18:07 +01:00
2020-11-10 16:18:07 +01:00
2020-08-19 10:35:41 +02:00
2020-10-07 10:54:24 +02:00
2020-08-19 10:35:41 +02:00
2020-11-20 13:57:15 +01:00
2020-11-20 13:57:15 +01:00
2020-11-10 16:18:07 +01:00
2020-11-10 16:18:07 +01:00
2020-11-20 18:48:33 +01:00
2020-08-25 22:49:19 +02:00
2020-08-21 21:08:56 +02:00
2020-08-19 10:35:41 +02:00
2020-09-25 08:43:57 -05:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-21 21:08:56 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-11-10 16:00:41 +01:00
2020-08-19 10:35:41 +02:00
2020-08-25 14:35:55 +01:00
2020-10-20 15:29:14 +01:00
2020-11-20 18:48:33 +01:00
2020-08-19 10:35:41 +02:00
2020-09-16 09:50:17 +01:00
2020-09-16 09:50:17 +01:00
2020-11-10 16:00:41 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-10-29 01:14:49 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-20 11:07:12 +01:00
2020-08-26 12:56:11 +02:00
2020-08-19 10:35:41 +02:00
2020-09-01 11:04:53 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00