Lines Matching refs:mdname

29 static const char *canon_mdname(const char *mdname)  in canon_mdname()  argument
31 if (mdname != NULL && strcmp(mdname, "UNDEF") == 0) in canon_mdname()
34 return mdname; in canon_mdname()
38 const EVP_MD *type, const char *mdname, in do_sigver_init() argument
94 if (mdname == NULL && type == NULL) in do_sigver_init()
95 mdname = canon_mdname(EVP_MD_get0_name(ctx->reqdigest)); in do_sigver_init()
211 if (mdname == NULL) in do_sigver_init()
212 mdname = canon_mdname(EVP_MD_get0_name(type)); in do_sigver_init()
214 if (mdname == NULL && !reinit) { in do_sigver_init()
218 mdname = canon_mdname(locmdname); in do_sigver_init()
222 if (mdname != NULL) { in do_sigver_init()
238 ctx->fetched_digest = EVP_MD_fetch(locpctx->libctx, mdname, props); in do_sigver_init()
243 ctx->reqdigest = ctx->digest = EVP_get_digestbyname(mdname); in do_sigver_init()
260 mdname, provkey, params); in do_sigver_init()
267 mdname, provkey, params); in do_sigver_init()
274 if (ret > 0 || mdname != NULL) in do_sigver_init()
294 if (type == NULL && mdname != NULL) in do_sigver_init()
295 type = evp_get_digestbyname_ex(locpctx->libctx, mdname); in do_sigver_init()
365 const char *mdname, OSSL_LIB_CTX *libctx, in EVP_DigestSignInit_ex() argument
369 return do_sigver_init(ctx, pctx, NULL, mdname, libctx, props, NULL, pkey, 0, in EVP_DigestSignInit_ex()
381 const char *mdname, OSSL_LIB_CTX *libctx, in EVP_DigestVerifyInit_ex() argument
385 return do_sigver_init(ctx, pctx, NULL, mdname, libctx, props, NULL, pkey, 1, in EVP_DigestVerifyInit_ex()