Lines Matching refs:meth
40 ctx->meth = kdf; in EVP_KDF_CTX_new()
49 ctx->meth->freectx(ctx->algctx); in EVP_KDF_CTX_free()
51 EVP_KDF_free(ctx->meth); in EVP_KDF_CTX_free()
59 if (src == NULL || src->algctx == NULL || src->meth->dupctx == NULL) in EVP_KDF_CTX_dup()
67 if (!EVP_KDF_up_ref(dst->meth)) { in EVP_KDF_CTX_dup()
73 dst->algctx = src->meth->dupctx(src->algctx); in EVP_KDF_CTX_dup()
108 return ctx->meth; in EVP_KDF_CTX_kdf()
116 if (ctx->meth->reset != NULL) in EVP_KDF_CTX_reset()
117 ctx->meth->reset(ctx->algctx); in EVP_KDF_CTX_reset()
129 if (ctx->meth->get_ctx_params != NULL in EVP_KDF_CTX_get_kdf_size()
130 && ctx->meth->get_ctx_params(ctx->algctx, params)) in EVP_KDF_CTX_get_kdf_size()
132 if (ctx->meth->get_params != NULL in EVP_KDF_CTX_get_kdf_size()
133 && ctx->meth->get_params(params)) in EVP_KDF_CTX_get_kdf_size()
144 return ctx->meth->derive(ctx->algctx, key, keylen, params); in EVP_KDF_derive()
162 if (ctx->meth->get_ctx_params != NULL) in EVP_KDF_CTX_get_params()
163 return ctx->meth->get_ctx_params(ctx->algctx, params); in EVP_KDF_CTX_get_params()
169 if (ctx->meth->set_ctx_params != NULL) in EVP_KDF_CTX_set_params()
170 return ctx->meth->set_ctx_params(ctx->algctx, params); in EVP_KDF_CTX_set_params()