Home
last modified time | relevance | path

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

/third_party/openssl/crypto/ts/
Dts_req_utils.c27 int TS_REQ_set_msg_imprint(TS_REQ *a, TS_MSG_IMPRINT *msg_imprint) in TS_REQ_set_msg_imprint() argument
31 if (a->msg_imprint == msg_imprint) in TS_REQ_set_msg_imprint()
33 new_msg_imprint = TS_MSG_IMPRINT_dup(msg_imprint); in TS_REQ_set_msg_imprint()
38 TS_MSG_IMPRINT_free(a->msg_imprint); in TS_REQ_set_msg_imprint()
39 a->msg_imprint = new_msg_imprint; in TS_REQ_set_msg_imprint()
45 return a->msg_imprint; in TS_REQ_get_msg_imprint()
Dts_rsp_utils.c89 int TS_TST_INFO_set_msg_imprint(TS_TST_INFO *a, TS_MSG_IMPRINT *msg_imprint) in TS_TST_INFO_set_msg_imprint() argument
93 if (a->msg_imprint == msg_imprint) in TS_TST_INFO_set_msg_imprint()
95 new_msg_imprint = TS_MSG_IMPRINT_dup(msg_imprint); in TS_TST_INFO_set_msg_imprint()
100 TS_MSG_IMPRINT_free(a->msg_imprint); in TS_TST_INFO_set_msg_imprint()
101 a->msg_imprint = new_msg_imprint; in TS_TST_INFO_set_msg_imprint()
107 return a->msg_imprint; in TS_TST_INFO_get_msg_imprint()
Dts_local.h44 TS_MSG_IMPRINT *msg_imprint; member
85 TS_MSG_IMPRINT *msg_imprint; member
Dts_req_print.c29 TS_MSG_IMPRINT_print_bio(bio, a->msg_imprint); in TS_REQ_print_bio()
Dts_rsp_verify.c571 TS_MSG_IMPRINT *msg_imprint = tst_info->msg_imprint; in ts_compute_imprint() local
572 X509_ALGOR *md_alg_resp = msg_imprint->hash_algo; in ts_compute_imprint()
626 TS_MSG_IMPRINT *b = tst_info->msg_imprint; in ts_check_imprints()
Dts_rsp_sign.c454 TS_MSG_IMPRINT *msg_imprint; in ts_RESP_check_request() local
468 msg_imprint = request->msg_imprint; in ts_RESP_check_request()
469 md_alg = msg_imprint->hash_algo; in ts_RESP_check_request()
491 digest = msg_imprint->hashed_msg; in ts_RESP_check_request()
550 if (!TS_TST_INFO_set_msg_imprint(tst_info, ctx->request->msg_imprint)) in ts_RESP_create_tst_info()
Dts_asn1.c47 ASN1_SIMPLE(TS_REQ, msg_imprint, TS_MSG_IMPRINT),
89 ASN1_SIMPLE(TS_TST_INFO, msg_imprint, TS_MSG_IMPRINT),
Dts_verify_ctx.c124 imprint = req->msg_imprint; in TS_REQ_to_TS_VERIFY_CTX()
Dts_rsp_print.c131 TS_MSG_IMPRINT_print_bio(bio, a->msg_imprint); in TS_TST_INFO_print_bio()
/third_party/openssl/apps/
Dts.c420 TS_MSG_IMPRINT *msg_imprint = NULL; in create_query() local
432 if ((msg_imprint = TS_MSG_IMPRINT_new()) == NULL) in create_query()
441 if (!TS_MSG_IMPRINT_set_algo(msg_imprint, algo)) in create_query()
445 if (!TS_MSG_IMPRINT_set_msg(msg_imprint, data, len)) in create_query()
447 if (!TS_REQ_set_msg_imprint(ts_req, msg_imprint)) in create_query()
470 TS_MSG_IMPRINT_free(msg_imprint); in create_query()
/third_party/openssl/include/openssl/
Dts.h191 int TS_REQ_set_msg_imprint(TS_REQ *a, TS_MSG_IMPRINT *msg_imprint);
240 int TS_TST_INFO_set_msg_imprint(TS_TST_INFO *a, TS_MSG_IMPRINT *msg_imprint);