mbedtls/tests
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
..
.jenkins Add Jenkinsfile for PR job 2018-10-19 15:25:57 +01:00
configs Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
data_files Fix "make -C tests/data_files -f ..." 2020-10-07 11:22:35 +02:00
git-scripts Fix license header in pre-commit hook 2020-08-20 09:27:07 +02:00
scripts Add a build with MBEDTLS_ERROR_STRERROR_DUMMY 2020-11-16 16:13:13 +01:00
suites Support set *_drbg reseed interval before seed 2020-12-03 13:08:37 -08:00
.gitignore
CMakeLists.txt Add a facility to skip running some test suites 2018-12-14 18:50:34 +01:00
compat.sh Fix printf escape errors in shell scripts 2020-10-27 23:48:40 +01:00
Descriptions.txt
Makefile Merge remote-tracking branch 'origin/pr/2320' into mbedtls-2.7 2019-06-21 15:55:21 +01:00
ssl-opt.sh Fix printf escape errors in shell scripts 2020-10-27 23:48:40 +01:00