Home
last modified time | relevance | path

Searched refs:msg_imprint (Results 1 – 8 of 8) sorted by relevance

/dragonfly/crypto/libressl/crypto/ts/
H A Dts_req_utils.c81 TS_REQ_set_msg_imprint(TS_REQ *a, TS_MSG_IMPRINT *msg_imprint) in TS_REQ_set_msg_imprint() argument
85 if (a->msg_imprint == msg_imprint) in TS_REQ_set_msg_imprint()
87 new_msg_imprint = TS_MSG_IMPRINT_dup(msg_imprint); in TS_REQ_set_msg_imprint()
92 TS_MSG_IMPRINT_free(a->msg_imprint); in TS_REQ_set_msg_imprint()
93 a->msg_imprint = new_msg_imprint; in TS_REQ_set_msg_imprint()
100 return a->msg_imprint; in TS_REQ_get_msg_imprint()
H A Dts_rsp_utils.c177 TS_TST_INFO_set_msg_imprint(TS_TST_INFO *a, TS_MSG_IMPRINT *msg_imprint) in TS_TST_INFO_set_msg_imprint() argument
181 if (a->msg_imprint == msg_imprint) in TS_TST_INFO_set_msg_imprint()
183 new_msg_imprint = TS_MSG_IMPRINT_dup(msg_imprint); in TS_TST_INFO_set_msg_imprint()
188 TS_MSG_IMPRINT_free(a->msg_imprint); in TS_TST_INFO_set_msg_imprint()
189 a->msg_imprint = new_msg_imprint; in TS_TST_INFO_set_msg_imprint()
196 return a->msg_imprint; in TS_TST_INFO_get_msg_imprint()
H A Dts_local.h89 TS_MSG_IMPRINT *msg_imprint; member
132 TS_MSG_IMPRINT *msg_imprint; member
H A Dts_rsp_sign.c518 TS_MSG_IMPRINT *msg_imprint; in TS_RESP_check_request() local
534 msg_imprint = TS_REQ_get_msg_imprint(request); in TS_RESP_check_request()
535 md_alg = TS_MSG_IMPRINT_get_algo(msg_imprint); in TS_RESP_check_request()
560 digest = TS_MSG_IMPRINT_get_msg(msg_imprint); in TS_RESP_check_request()
624 if (!TS_TST_INFO_set_msg_imprint(tst_info, ctx->request->msg_imprint)) in TS_RESP_create_tst_info()
H A Dts_rsp_verify.c689 TS_MSG_IMPRINT *msg_imprint; in TS_compute_imprint() local
704 msg_imprint = TS_TST_INFO_get_msg_imprint(tst_info); in TS_compute_imprint()
705 md_alg_resp = TS_MSG_IMPRINT_get_algo(msg_imprint); in TS_compute_imprint()
H A Dts_asn1.c162 .offset = offsetof(TS_REQ, msg_imprint),
348 .offset = offsetof(TS_TST_INFO, msg_imprint),
/dragonfly/crypto/libressl/apps/openssl/
H A Dts.c601 TS_MSG_IMPRINT *msg_imprint = NULL; in create_query() local
620 if ((msg_imprint = TS_MSG_IMPRINT_new()) == NULL) in create_query()
631 if (!TS_MSG_IMPRINT_set_algo(msg_imprint, algo)) in create_query()
637 if (!TS_MSG_IMPRINT_set_msg(msg_imprint, data, len)) in create_query()
640 if (!TS_REQ_set_msg_imprint(ts_req, msg_imprint)) in create_query()
667 TS_MSG_IMPRINT_free(msg_imprint); in create_query()
/dragonfly/crypto/libressl/include/openssl/
H A Dts.h224 int TS_REQ_set_msg_imprint(TS_REQ *a, TS_MSG_IMPRINT *msg_imprint);
279 int TS_TST_INFO_set_msg_imprint(TS_TST_INFO *a, TS_MSG_IMPRINT *msg_imprint);