mbedtls/include/mbedtls
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
..
aes.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
aesni.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
arc4.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
asn1.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
asn1write.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
base64.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
bignum.h adjusting comment on sliding window memory usage. 2020-09-08 12:24:48 +02:00
blowfish.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
bn_mul.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
camellia.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
ccm.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
certs.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
check_config.h Merge branch 'mbedtls-2.7' into mbedtls-2.7-restricted 2020-08-25 10:59:51 +02:00
cipher.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
cipher_internal.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
cmac.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
compat-1.3.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
config.h fixing spelling mistakes (window <-- windows) 2020-09-08 12:24:39 +02:00
ctr_drbg.h Support set *_drbg reseed interval before seed 2020-12-03 13:08:37 -08:00
debug.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
des.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
dhm.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
ecdh.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
ecdsa.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
ecjpake.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
ecp.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
ecp_internal.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
entropy.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
entropy_poll.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
error.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
gcm.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
havege.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
hmac_drbg.h Support set *_drbg reseed interval before seed 2020-12-03 13:08:37 -08:00
md.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
md2.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
md4.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
md5.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
md_internal.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
memory_buffer_alloc.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
net.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
net_sockets.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
oid.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
padlock.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
pem.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
pk.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
pk_internal.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
pkcs5.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
pkcs11.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
pkcs12.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
platform.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
platform_time.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
ripemd160.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
rsa.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
rsa_internal.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
sha1.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
sha256.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
sha512.h Move "internal use" sentence attached to the wrong function 2020-11-26 19:33:51 +01:00
ssl.h Fix typo in mbedtls_ssl_set_bio description. 2020-09-09 14:15:22 +02:00
ssl_cache.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
ssl_ciphersuites.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
ssl_cookie.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
ssl_internal.h Add mbedtls_ssl_cf_memcpy_offset() with tests 2020-08-25 12:00:07 +02:00
ssl_ticket.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
threading.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
timing.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
version.h Bump version to Mbed TLS 2.7.17 2020-08-26 15:28:48 +01:00
x509.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
x509_crl.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
x509_crt.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
x509_csr.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00
xtea.h Update copyright notices to use Linux Foundation guidance 2020-08-19 16:54:51 +02:00