mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 16:12:22 +01:00
* in wolfcrypt_test_main(), when WOLFSSL_TRACK_MEMORY, check and error if wc_MemStats_Ptr->currentBytes > 0; * don't call the hash initialization APIs for hash structs that are later copied over with the hash copy API (sha224_test(), sha256_test(), sha512_test(), etc) * in hash_test(), either wc_HashNew() or wc_HashInit(), not both (fixes leaks); * in hmac_*_test(), add test coverage for wc_HmacCopy(); * in _rng_test(), when WOLFSSL_TRACK_MEMORY && WOLFSSL_SMALL_STACK_CACHE, check that wc_MemStats_Ptr->totalAllocs doesn't increase when wc_RNG_GenerateBlock() is called, and if HAVE_HASHDRBG) && !CUSTOM_RAND_GENERATE_BLOCK, check that forcing a reseed doesn't result in an increase. * add missing context cleanups in openSSL_evpMD_test().