Lines Matching refs:md
105 EVP_MD *md; member
119 if (pdsactx->md != NULL) { in dsa_get_md_size()
120 md_size = EVP_MD_get_size(pdsactx->md); in dsa_get_md_size()
153 EVP_MD *md = NULL; in dsa_setup_md() local
164 md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in dsa_setup_md()
165 md_nid = ossl_digest_get_approved_nid(md); in dsa_setup_md()
167 if (md == NULL || md_nid < 0) { in dsa_setup_md()
168 if (md == NULL) in dsa_setup_md()
180 if (EVP_MD_xof(md)) { in dsa_setup_md()
201 && !EVP_MD_is_a(md, ctx->mdname)) { in dsa_setup_md()
206 EVP_MD_free(md); in dsa_setup_md()
211 EVP_MD_free(ctx->md); in dsa_setup_md()
233 ctx->md = md; in dsa_setup_md()
239 EVP_MD_free(md); in dsa_setup_md()
534 if (!EVP_DigestInit_ex2(pdsactx->mdctx, pdsactx->md, params)) in dsa_digest_signverify_init()
619 EVP_MD_free(ctx->md); in dsa_freectx()
646 if (srcctx->md != NULL && !EVP_MD_up_ref(srcctx->md)) in dsa_dupctx()
648 dstctx->md = srcctx->md; in dsa_dupctx()
812 if (pdsactx->md == NULL) in dsa_gettable_ctx_md_params()
815 return EVP_MD_gettable_ctx_params(pdsactx->md); in dsa_gettable_ctx_md_params()
832 if (pdsactx->md == NULL) in dsa_settable_ctx_md_params()
835 return EVP_MD_settable_ctx_params(pdsactx->md); in dsa_settable_ctx_md_params()
917 if (!EVP_DigestInit_ex2(pdsactx->mdctx, pdsactx->md, params)) in dsa_sigalg_signverify_init()
978 #define IMPL_DSA_SIGALG(md, MD) \ argument
979 static OSSL_FUNC_signature_sign_init_fn dsa_##md##_sign_init; \
981 dsa_##md##_sign_message_init; \
982 static OSSL_FUNC_signature_verify_init_fn dsa_##md##_verify_init; \
984 dsa_##md##_verify_message_init; \
987 dsa_##md##_sign_init(void *vpdsactx, void *vdsa, \
1000 dsa_##md##_sign_message_init(void *vpdsactx, void *vdsa, \
1013 dsa_##md##_verify_init(void *vpdsactx, void *vdsa, \
1026 dsa_##md##_verify_message_init(void *vpdsactx, void *vdsa, \
1038 const OSSL_DISPATCH ossl_dsa_##md##_signature_functions[] = { \
1041 (void (*)(void))dsa_##md##_sign_init }, \
1044 (void (*)(void))dsa_##md##_sign_message_init }, \
1050 (void (*)(void))dsa_##md##_verify_init }, \
1054 (void (*)(void))dsa_##md##_verify_message_init }, \