Lines Matching refs:meth
27 ctx->meth = mac; in EVP_MAC_CTX_new()
43 ctx->meth->freectx(ctx->algctx); in EVP_MAC_CTX_free()
46 EVP_MAC_free(ctx->meth); in EVP_MAC_CTX_free()
62 if (!EVP_MAC_up_ref(dst->meth)) { in EVP_MAC_CTX_dup()
68 dst->algctx = src->meth->dupctx(src->algctx); in EVP_MAC_CTX_dup()
79 return ctx->meth; in EVP_MAC_CTX_get0_mac()
90 if (ctx->meth->get_ctx_params != NULL) { in get_size_t_ctx_param()
91 if (ctx->meth->get_ctx_params(ctx->algctx, params)) in get_size_t_ctx_param()
93 } else if (ctx->meth->get_params != NULL) { in get_size_t_ctx_param()
94 if (ctx->meth->get_params(params)) in get_size_t_ctx_param()
118 return ctx->meth->init(ctx->algctx, key, keylen, params); in EVP_MAC_init()
123 return ctx->meth->update(ctx->algctx, data, datalen); in EVP_MAC_update()
134 if (ctx == NULL || ctx->meth == NULL) { in evp_mac_final()
138 if (ctx->meth->final == NULL) { in evp_mac_final()
165 res = ctx->meth->final(ctx->algctx, out, &l, outsize); in evp_mac_final()
197 if (ctx->meth->get_ctx_params != NULL) in EVP_MAC_CTX_get_params()
198 return ctx->meth->get_ctx_params(ctx->algctx, params); in EVP_MAC_CTX_get_params()
204 if (ctx->meth->set_ctx_params != NULL) in EVP_MAC_CTX_set_params()
205 return ctx->meth->set_ctx_params(ctx->algctx, params); in EVP_MAC_CTX_set_params()