Lines Matching refs:mdord
115 uint8_t *mdord; in dane_ctx_enable() local
124 mdord = OPENSSL_zalloc(n * sizeof(*mdord)); in dane_ctx_enable()
126 if (mdord == NULL || mdevp == NULL) { in dane_ctx_enable()
127 OPENSSL_free(mdord); in dane_ctx_enable()
141 mdord[dane_mds[i].mtype] = dane_mds[i].ord; in dane_ctx_enable()
145 dctx->mdord = mdord; in dane_ctx_enable()
156 OPENSSL_free(dctx->mdord); in dane_ctx_final()
157 dctx->mdord = NULL; in dane_ctx_final()
229 uint8_t *mdord; in dane_mtype_set() local
239 mdord = OPENSSL_realloc(dctx->mdord, n * sizeof(*mdord)); in dane_mtype_set()
240 if (mdord == NULL) { in dane_mtype_set()
244 dctx->mdord = mdord; in dane_mtype_set()
249 mdord[i] = 0; in dane_mtype_set()
257 dctx->mdord[mtype] = (md == NULL) ? 0 : ord; in dane_mtype_set()
438 if (dane->dctx->mdord[rec->mtype] > dane->dctx->mdord[mtype]) in dane_tlsa_add()