Lines Matching refs:mdevp
114 const EVP_MD **mdevp; in dane_ctx_enable() local
120 if (dctx->mdevp != NULL) in dane_ctx_enable()
123 mdevp = OPENSSL_zalloc(n * sizeof(*mdevp)); in dane_ctx_enable()
126 if (mdord == NULL || mdevp == NULL) { in dane_ctx_enable()
128 OPENSSL_free(mdevp); in dane_ctx_enable()
140 mdevp[dane_mds[i].mtype] = md; in dane_ctx_enable()
144 dctx->mdevp = mdevp; in dane_ctx_enable()
153 OPENSSL_free(dctx->mdevp); in dane_ctx_final()
154 dctx->mdevp = NULL; in dane_ctx_final()
228 const EVP_MD **mdevp; in dane_mtype_set() local
232 mdevp = OPENSSL_realloc(dctx->mdevp, n * sizeof(*mdevp)); in dane_mtype_set()
233 if (mdevp == NULL) { in dane_mtype_set()
237 dctx->mdevp = mdevp; in dane_mtype_set()
248 mdevp[i] = NULL; in dane_mtype_set()
255 dctx->mdevp[mtype] = md; in dane_mtype_set()
266 return dane->dctx->mdevp[mtype]; in tlsa_md_get()