Lines Matching refs:mdord
113 uint8_t *mdord; in dane_ctx_enable() local
122 mdord = OPENSSL_zalloc(n * sizeof(*mdord)); in dane_ctx_enable()
124 if (mdord == NULL || mdevp == NULL) { in dane_ctx_enable()
125 OPENSSL_free(mdord); in dane_ctx_enable()
138 mdord[dane_mds[i].mtype] = dane_mds[i].ord; in dane_ctx_enable()
142 dctx->mdord = mdord; in dane_ctx_enable()
153 OPENSSL_free(dctx->mdord); in dane_ctx_final()
154 dctx->mdord = NULL; in dane_ctx_final()
226 uint8_t *mdord; in dane_mtype_set() local
234 mdord = OPENSSL_realloc(dctx->mdord, n * sizeof(*mdord)); in dane_mtype_set()
235 if (mdord == NULL) in dane_mtype_set()
237 dctx->mdord = mdord; in dane_mtype_set()
242 mdord[i] = 0; in dane_mtype_set()
250 dctx->mdord[mtype] = (md == NULL) ? 0 : ord; in dane_mtype_set()
432 if (dane->dctx->mdord[rec->mtype] > dane->dctx->mdord[mtype]) in dane_tlsa_add()