Repository navigation
Tags
Tags
Merge pull request #12046 from aidankeefe2022/ecc-fix Fenrir fixes : ecc.c
Declare wc_RNG_DRBG_GetReseedCtr as a local function
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.
backports from mainline #11435: wolfcrypt/src/random.c, 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.
Merge pull request #11064 from holtrop-wolfssl/wolfssl-wolfcrypt-2.2.0 Rust wrapper: bump wolfssl-wolfcrypt crate to v2.2.0
Reject total CMAC input of more than 2^32-1 bytes per context
Enforce SP 800-38B CMAC minimum tag size and clean up return codes
PreviousNext