Lines Matching refs:algctx
95 return rand->meth->enable_locking(rand->algctx); in EVP_RAND_enable_locking()
104 return rand->meth->lock(rand->algctx); in evp_rand_lock()
112 rand->meth->unlock(rand->algctx); in evp_rand_unlock()
354 parent_ctx = parent->algctx; in EVP_RAND_CTX_new()
357 if ((ctx->algctx = rand->newctx(ossl_provider_ctx(rand->prov), parent_ctx, in EVP_RAND_CTX_new()
361 rand->freectx(ctx->algctx); in EVP_RAND_CTX_new()
385 ctx->meth->freectx(ctx->algctx); in EVP_RAND_CTX_free()
386 ctx->algctx = NULL; in EVP_RAND_CTX_free()
401 return ctx->meth->get_ctx_params(ctx->algctx, params); in evp_rand_get_ctx_params_locked()
419 return ctx->meth->set_ctx_params(ctx->algctx, params); in evp_rand_set_ctx_params_locked()
468 return ctx->meth->gettable_ctx_params(ctx->algctx, provctx); in EVP_RAND_CTX_gettable_params()
478 return ctx->meth->settable_ctx_params(ctx->algctx, provctx); in EVP_RAND_CTX_settable_params()
505 return ctx->meth->instantiate(ctx->algctx, strength, prediction_resistance, in evp_rand_instantiate_locked()
526 return ctx->meth->uninstantiate(ctx->algctx); in evp_rand_uninstantiate_locked()
558 if (!ctx->meth->generate(ctx->algctx, out, chunk, strength, in evp_rand_generate_locked()
591 return ctx->meth->reseed(ctx->algctx, prediction_resistance, in evp_rand_reseed_locked()
639 if (ctx->meth->nonce(ctx->algctx, out, str, outlen, outlen)) in evp_rand_nonce_locked()
669 return ctx->meth->verify_zeroization(ctx->algctx); in evp_rand_verify_zeroization_locked()