Searched refs:crngt_glob (Results 1 – 1 of 1) sorted by relevance
57 CRNG_TEST_GLOBAL *crngt_glob = vcrngt_glob; in rand_crng_ossl_ctx_free() local59 CRYPTO_THREAD_lock_free(crngt_glob->lock); in rand_crng_ossl_ctx_free()60 EVP_MD_free(crngt_glob->md); in rand_crng_ossl_ctx_free()61 OPENSSL_free(crngt_glob); in rand_crng_ossl_ctx_free()66 CRNG_TEST_GLOBAL *crngt_glob = OPENSSL_zalloc(sizeof(*crngt_glob)); in rand_crng_ossl_ctx_new() local68 if (crngt_glob == NULL) in rand_crng_ossl_ctx_new()71 if ((crngt_glob->md = EVP_MD_fetch(ctx, "SHA256", "")) == NULL) { in rand_crng_ossl_ctx_new()72 OPENSSL_free(crngt_glob); in rand_crng_ossl_ctx_new()76 if ((crngt_glob->lock = CRYPTO_THREAD_lock_new()) == NULL) { in rand_crng_ossl_ctx_new()77 EVP_MD_free(crngt_glob->md); in rand_crng_ossl_ctx_new()[all …]