Lines Matching refs:mdevp
112 const EVP_MD **mdevp; in dane_ctx_enable() local
118 if (dctx->mdevp != NULL) in dane_ctx_enable()
121 mdevp = OPENSSL_zalloc(n * sizeof(*mdevp)); in dane_ctx_enable()
124 if (mdord == NULL || mdevp == NULL) { in dane_ctx_enable()
126 OPENSSL_free(mdevp); in dane_ctx_enable()
137 mdevp[dane_mds[i].mtype] = md; in dane_ctx_enable()
141 dctx->mdevp = mdevp; in dane_ctx_enable()
150 OPENSSL_free(dctx->mdevp); in dane_ctx_final()
151 dctx->mdevp = NULL; in dane_ctx_final()
225 const EVP_MD **mdevp; in dane_mtype_set() local
229 mdevp = OPENSSL_realloc(dctx->mdevp, n * sizeof(*mdevp)); in dane_mtype_set()
230 if (mdevp == NULL) in dane_mtype_set()
232 dctx->mdevp = mdevp; in dane_mtype_set()
241 mdevp[i] = NULL; in dane_mtype_set()
248 dctx->mdevp[mtype] = md; in dane_mtype_set()
259 return dane->dctx->mdevp[mtype]; in tlsa_md_get()