Home
last modified time | relevance | path

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

/NextBSD/crypto/openssl/crypto/ts/
HDts_req_utils.c76 int TS_REQ_set_msg_imprint(TS_REQ *a, TS_MSG_IMPRINT *msg_imprint) in TS_REQ_set_msg_imprint() argument
80 if (a->msg_imprint == msg_imprint) in TS_REQ_set_msg_imprint()
82 new_msg_imprint = TS_MSG_IMPRINT_dup(msg_imprint); in TS_REQ_set_msg_imprint()
87 TS_MSG_IMPRINT_free(a->msg_imprint); in TS_REQ_set_msg_imprint()
88 a->msg_imprint = new_msg_imprint; in TS_REQ_set_msg_imprint()
94 return a->msg_imprint; in TS_REQ_get_msg_imprint()
HDts_rsp_utils.c141 int TS_TST_INFO_set_msg_imprint(TS_TST_INFO *a, TS_MSG_IMPRINT *msg_imprint) in TS_TST_INFO_set_msg_imprint() argument
145 if (a->msg_imprint == msg_imprint) in TS_TST_INFO_set_msg_imprint()
147 new_msg_imprint = TS_MSG_IMPRINT_dup(msg_imprint); in TS_TST_INFO_set_msg_imprint()
152 TS_MSG_IMPRINT_free(a->msg_imprint); in TS_TST_INFO_set_msg_imprint()
153 a->msg_imprint = new_msg_imprint; in TS_TST_INFO_set_msg_imprint()
159 return a->msg_imprint; in TS_TST_INFO_get_msg_imprint()
HDts.h127 TS_MSG_IMPRINT *msg_imprint; member
170 TS_MSG_IMPRINT *msg_imprint; member
367 int TS_REQ_set_msg_imprint(TS_REQ *a, TS_MSG_IMPRINT *msg_imprint);
416 int TS_TST_INFO_set_msg_imprint(TS_TST_INFO *a, TS_MSG_IMPRINT *msg_imprint);
HDts_rsp_sign.c512 TS_MSG_IMPRINT *msg_imprint; in TS_RESP_check_request() local
528 msg_imprint = TS_REQ_get_msg_imprint(request); in TS_RESP_check_request()
529 md_alg = TS_MSG_IMPRINT_get_algo(msg_imprint); in TS_RESP_check_request()
553 digest = TS_MSG_IMPRINT_get_msg(msg_imprint); in TS_RESP_check_request()
616 if (!TS_TST_INFO_set_msg_imprint(tst_info, ctx->request->msg_imprint)) in TS_RESP_create_tst_info()
HDts_asn1.c97 ASN1_SIMPLE(TS_REQ, msg_imprint, TS_MSG_IMPRINT),
141 ASN1_SIMPLE(TS_TST_INFO, msg_imprint, TS_MSG_IMPRINT),
HDts_rsp_verify.c596 TS_MSG_IMPRINT *msg_imprint = TS_TST_INFO_get_msg_imprint(tst_info); in TS_compute_imprint() local
597 X509_ALGOR *md_alg_resp = TS_MSG_IMPRINT_get_algo(msg_imprint); in TS_compute_imprint()
/NextBSD/crypto/openssl/apps/
HDts.c499 TS_MSG_IMPRINT *msg_imprint = NULL; in create_query() local
518 if (!(msg_imprint = TS_MSG_IMPRINT_new())) in create_query()
529 if (!TS_MSG_IMPRINT_set_algo(msg_imprint, algo)) in create_query()
535 if (!TS_MSG_IMPRINT_set_msg(msg_imprint, data, len)) in create_query()
538 if (!TS_REQ_set_msg_imprint(ts_req, msg_imprint)) in create_query()
564 TS_MSG_IMPRINT_free(msg_imprint); in create_query()