mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-10-24 04:09:07 +03:00
* backport wc_InitRngNonceRBGC(), wc_RNG_DRBG_Reseed_Now(),
wc_RNG_DRBG_Reseed_Uncredited(), wc_RNG_DRBG_ReseedRBGC(), and
wc_RNG_DRBG_GetReseedCtr().
* backport WC_RNG.RBGCStratum.
* don't update RBGStratum after init, except in wc_RNG_DRBG_Reseed(), bump up to
WC_RNG_RBGC_USER_SEED_STRATUM if not already in the user stratum band. In
wc_RNG_DRBG_ReseedRBGC(), refuse to RBGC-reseed any primary-seeded RNG.
* implement nonce stirring in wc_RNG_DRBG_Reseed_Now(), and fix
WOLFSSL_DEBUG_TRACE_ERROR_CODES.
* fix smallstackcache ForceZero(newSeed, ...) in PollAndReSeed().
* in wc_RNG_GenerateBlock(), percolate DRBG_CONT_FIPS_E in the PID-changed path.
* add addIn{A,B}{,Sz} args to wc_RNG_HealthTest_ex_internal() and pass them to
Hash_DRBG_Generate().
* add file-local wc_RNG_HealthTest_AddIn_ex() and WOLFSSL_API
wc_RNG_HealthTest_AddIn(), with presence signaled by
WC_RNG_HAVE_HEALTHTEST_ADDIN.