Lines Matching refs:meth

96     if (rand->meth->enable_locking != NULL)  in EVP_RAND_enable_locking()
97 return rand->meth->enable_locking(rand->algctx); in EVP_RAND_enable_locking()
105 if (rand->meth->lock != NULL) in evp_rand_lock()
106 return rand->meth->lock(rand->algctx); in evp_rand_lock()
113 if (rand->meth->unlock != NULL) in evp_rand_unlock()
114 rand->meth->unlock(rand->algctx); in evp_rand_unlock()
368 parent_dispatch = parent->meth->dispatch; in EVP_RAND_CTX_new()
380 ctx->meth = rand; in EVP_RAND_CTX_new()
397 ctx->meth->freectx(ctx->algctx); in EVP_RAND_CTX_free()
399 EVP_RAND_free(ctx->meth); in EVP_RAND_CTX_free()
407 return ctx->meth; in EVP_RAND_CTX_get0_rand()
413 return ctx->meth->get_ctx_params(ctx->algctx, params); in evp_rand_get_ctx_params_locked()
430 if (ctx->meth->set_ctx_params != NULL) in evp_rand_set_ctx_params_locked()
431 return ctx->meth->set_ctx_params(ctx->algctx, params); in evp_rand_set_ctx_params_locked()
477 if (ctx->meth->gettable_ctx_params == NULL) in EVP_RAND_CTX_gettable_params()
479 provctx = ossl_provider_ctx(EVP_RAND_get0_provider(ctx->meth)); in EVP_RAND_CTX_gettable_params()
480 return ctx->meth->gettable_ctx_params(ctx->algctx, provctx); in EVP_RAND_CTX_gettable_params()
487 if (ctx->meth->settable_ctx_params == NULL) in EVP_RAND_CTX_settable_params()
489 provctx = ossl_provider_ctx(EVP_RAND_get0_provider(ctx->meth)); in EVP_RAND_CTX_settable_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()
602 if (ctx->meth->reseed != NULL) in evp_rand_reseed_locked()
603 return ctx->meth->reseed(ctx->algctx, prediction_resistance, in evp_rand_reseed_locked()
649 if (ctx->meth->nonce == NULL) in evp_rand_nonce_locked()
651 if (ctx->meth->nonce(ctx->algctx, out, str, outlen, outlen)) in evp_rand_nonce_locked()
680 if (ctx->meth->verify_zeroization != NULL) in evp_rand_verify_zeroization_locked()
681 return ctx->meth->verify_zeroization(ctx->algctx); in evp_rand_verify_zeroization_locked()
698 return ctx->meth->get_seed != NULL; in evp_rand_can_seed()
709 if (ctx->meth->get_seed != NULL) in evp_rand_get_seed_locked()
710 return ctx->meth->get_seed(ctx->algctx, buffer, in evp_rand_get_seed_locked()
739 if (ctx->meth->clear_seed != NULL) in evp_rand_clear_seed_locked()
740 ctx->meth->clear_seed(ctx->algctx, buffer, b_len); in evp_rand_clear_seed_locked()