Lines Matching refs:meth
35 ctx->meth = mac; in EVP_MAC_CTX_new()
44 ctx->meth->freectx(ctx->algctx); in EVP_MAC_CTX_free()
47 EVP_MAC_free(ctx->meth); in EVP_MAC_CTX_free()
65 if (!EVP_MAC_up_ref(dst->meth)) { in EVP_MAC_CTX_dup()
71 dst->algctx = src->meth->dupctx(src->algctx); in EVP_MAC_CTX_dup()
82 return ctx->meth; in EVP_MAC_CTX_get0_mac()
93 if (ctx->meth->get_ctx_params != NULL) { in get_size_t_ctx_param()
94 if (ctx->meth->get_ctx_params(ctx->algctx, params)) in get_size_t_ctx_param()
96 } else if (ctx->meth->get_params != NULL) { in get_size_t_ctx_param()
97 if (ctx->meth->get_params(params)) in get_size_t_ctx_param()
121 return ctx->meth->init(ctx->algctx, key, keylen, params); in EVP_MAC_init()
126 return ctx->meth->update(ctx->algctx, data, datalen); in EVP_MAC_update()
137 if (ctx == NULL || ctx->meth == NULL) { in evp_mac_final()
141 if (ctx->meth->final == NULL) { in evp_mac_final()
168 res = ctx->meth->final(ctx->algctx, out, &l, outsize); in evp_mac_final()
200 if (ctx->meth->get_ctx_params != NULL) in EVP_MAC_CTX_get_params()
201 return ctx->meth->get_ctx_params(ctx->algctx, params); in EVP_MAC_CTX_get_params()
207 if (ctx->meth->set_ctx_params != NULL) in EVP_MAC_CTX_set_params()
208 return ctx->meth->set_ctx_params(ctx->algctx, params); in EVP_MAC_CTX_set_params()