Home
last modified time | relevance | path

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

/openssl/crypto/ts/
H A 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()
H A 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()
H A Dts_local.h44 TS_MSG_IMPRINT *msg_imprint; member
85 TS_MSG_IMPRINT *msg_imprint; member
H A Dts_req_print.c29 TS_MSG_IMPRINT_print_bio(bio, a->msg_imprint); in TS_REQ_print_bio()
H A Dts_rsp_verify.c422 TS_MSG_IMPRINT *msg_imprint = tst_info->msg_imprint; in ts_compute_imprint() local
423 X509_ALGOR *md_alg_resp = msg_imprint->hash_algo; in ts_compute_imprint()
490 TS_MSG_IMPRINT *b = tst_info->msg_imprint; in ts_check_imprints()
H A Dts_rsp_sign.c443 TS_MSG_IMPRINT *msg_imprint; in ts_RESP_check_request() local
457 msg_imprint = request->msg_imprint; in ts_RESP_check_request()
458 md_alg = msg_imprint->hash_algo; in ts_RESP_check_request()
484 digest = msg_imprint->hashed_msg; in ts_RESP_check_request()
543 if (!TS_TST_INFO_set_msg_imprint(tst_info, ctx->request->msg_imprint)) in ts_RESP_create_tst_info()
H A Dts_asn1.c47 ASN1_SIMPLE(TS_REQ, msg_imprint, TS_MSG_IMPRINT),
89 ASN1_SIMPLE(TS_TST_INFO, msg_imprint, TS_MSG_IMPRINT),
H A Dts_rsp_print.c131 TS_MSG_IMPRINT_print_bio(bio, a->msg_imprint); in TS_TST_INFO_print_bio()
H A Dts_verify_ctx.c160 imprint = req->msg_imprint; in TS_REQ_to_TS_VERIFY_CTX()
/openssl/apps/
H A Dts.c450 TS_MSG_IMPRINT *msg_imprint = NULL; in create_query() local
462 if ((msg_imprint = TS_MSG_IMPRINT_new()) == NULL) in create_query()
471 if (!TS_MSG_IMPRINT_set_algo(msg_imprint, algo)) in create_query()
475 if (!TS_MSG_IMPRINT_set_msg(msg_imprint, data, len)) in create_query()
477 if (!TS_REQ_set_msg_imprint(ts_req, msg_imprint)) in create_query()
500 TS_MSG_IMPRINT_free(msg_imprint); in create_query()
/openssl/include/openssl/
H A Dts.h135 int TS_REQ_set_msg_imprint(TS_REQ *a, TS_MSG_IMPRINT *msg_imprint);
184 int TS_TST_INFO_set_msg_imprint(TS_TST_INFO *a, TS_MSG_IMPRINT *msg_imprint);

Completed in 34 milliseconds