Lines Matching refs:algctx
97 return rand->meth->enable_locking(rand->algctx); in EVP_RAND_enable_locking()
106 return rand->meth->lock(rand->algctx); in evp_rand_lock()
114 rand->meth->unlock(rand->algctx); in evp_rand_unlock()
367 parent_ctx = parent->algctx; in EVP_RAND_CTX_new()
370 if ((ctx->algctx = rand->newctx(ossl_provider_ctx(rand->prov), parent_ctx, in EVP_RAND_CTX_new()
374 rand->freectx(ctx->algctx); in EVP_RAND_CTX_new()
397 ctx->meth->freectx(ctx->algctx); in EVP_RAND_CTX_free()
398 ctx->algctx = NULL; in EVP_RAND_CTX_free()
413 return ctx->meth->get_ctx_params(ctx->algctx, params); in evp_rand_get_ctx_params_locked()
431 return ctx->meth->set_ctx_params(ctx->algctx, params); in evp_rand_set_ctx_params_locked()
480 return ctx->meth->gettable_ctx_params(ctx->algctx, provctx); in EVP_RAND_CTX_gettable_params()
490 return ctx->meth->settable_ctx_params(ctx->algctx, provctx); in EVP_RAND_CTX_settable_params()
517 return ctx->meth->instantiate(ctx->algctx, strength, prediction_resistance, in evp_rand_instantiate_locked()
538 return ctx->meth->uninstantiate(ctx->algctx); in evp_rand_uninstantiate_locked()
570 if (!ctx->meth->generate(ctx->algctx, out, chunk, strength, in evp_rand_generate_locked()
603 return ctx->meth->reseed(ctx->algctx, prediction_resistance, in evp_rand_reseed_locked()
651 if (ctx->meth->nonce(ctx->algctx, out, str, outlen, outlen)) in evp_rand_nonce_locked()
681 return ctx->meth->verify_zeroization(ctx->algctx); in evp_rand_verify_zeroization_locked()
710 return ctx->meth->get_seed(ctx->algctx, buffer, in evp_rand_get_seed_locked()
740 ctx->meth->clear_seed(ctx->algctx, buffer, b_len); in evp_rand_clear_seed_locked()