Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support set *_drbg reseed interval before seed #3393

Merged
merged 2 commits into from Dec 7, 2020

Commits on Nov 25, 2020

  1. 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>
    gavacq committed Nov 25, 2020
    Configuration menu
    Copy the full SHA
    6aceb51 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2020

  1. Add changelog entry file for bugfix 2927

    Signed-off-by: gacquroff <gavina352@gmail.com>
    gavacq committed Dec 3, 2020
    Configuration menu
    Copy the full SHA
    1bfeb8a View commit details
    Browse the repository at this point in the history