1
0
mirror of https://github.com/wolfSSL/wolfssl.git synced 2026-10-24 04:09:07 +03:00
Files
wolfssl/wolfcrypt
Daniel Pouzzner e80596da7e wolfcrypt/src/random.c and wolfssl/wolfcrypt/random.h:
* 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.
2026-09-28 17:56:36 -05:00
..
2021-11-12 10:27:49 -08:00