Home
last modified time | relevance | path

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

/third_party/openssl/crypto/ts/
Dts_rsp_verify.c25 PKCS7 *token, TS_TST_INFO *tst_info);
29 const TS_TST_INFO *tst_info);
30 static int ts_compute_imprint(BIO *data, TS_TST_INFO *tst_info,
35 TS_TST_INFO *tst_info);
36 static int ts_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info);
373 TS_TST_INFO *tst_info = response->tst_info; in TS_RESP_verify_response() local
378 if (!int_ts_RESP_verify_token(ctx, token, tst_info)) in TS_RESP_verify_response()
392 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token); in TS_RESP_verify_token() local
394 if (tst_info) { in TS_RESP_verify_token()
395 ret = int_ts_RESP_verify_token(ctx, token, tst_info); in TS_RESP_verify_token()
[all …]
Dts_rsp_sign.c367 return ctx->tst_info; in TS_RESP_CTX_get_tst_info()
404 if ((ctx->tst_info = ts_RESP_create_tst_info(ctx, policy)) == NULL) in TS_RESP_create_response()
436 ctx->tst_info = NULL; in ts_RESP_CTX_init()
446 TS_TST_INFO_free(ctx->tst_info); in ts_RESP_CTX_cleanup()
447 ctx->tst_info = NULL; in ts_RESP_CTX_cleanup()
536 TS_TST_INFO *tst_info = NULL; in ts_RESP_create_tst_info() local
544 if ((tst_info = TS_TST_INFO_new()) == NULL) in ts_RESP_create_tst_info()
546 if (!TS_TST_INFO_set_version(tst_info, 1)) in ts_RESP_create_tst_info()
548 if (!TS_TST_INFO_set_policy_id(tst_info, policy)) in ts_RESP_create_tst_info()
550 if (!TS_TST_INFO_set_msg_imprint(tst_info, ctx->request->msg_imprint)) in ts_RESP_create_tst_info()
[all …]
Dts_rsp_utils.c40 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) in TS_RESP_set_tst_info() argument
44 TS_TST_INFO_free(a->tst_info); in TS_RESP_set_tst_info()
45 a->tst_info = tst_info; in TS_RESP_set_tst_info()
55 return a->tst_info; in TS_RESP_get_tst_info()
Dts_asn1.c144 TS_TST_INFO_free(a->tst_info);
145 a->tst_info = PKCS7_to_TS_TST_INFO(a->token);
146 if (!a->tst_info) {
164 ts_resp->tst_info = NULL; in ts_resp_cb()
166 TS_TST_INFO_free(ts_resp->tst_info); in ts_resp_cb()
Dts_local.h28 TS_TST_INFO *tst_info; member
187 TS_TST_INFO *tst_info; member
Dts_rsp_print.c34 if (a->tst_info != NULL) in TS_RESP_print_bio()
35 TS_TST_INFO_print_bio(bio, a->tst_info); in TS_RESP_print_bio()
/third_party/openssl/apps/
Dts.c594 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); in reply_command() local
595 if (!TS_TST_INFO_print_bio(out_bio, tst_info)) in reply_command()
632 TS_TST_INFO *tst_info = NULL; in read_PKCS7() local
638 if ((tst_info = PKCS7_to_TS_TST_INFO(token)) == NULL) in read_PKCS7()
648 TS_RESP_set_tst_info(resp, token, tst_info); in read_PKCS7()
650 tst_info = NULL; /* Ownership is lost. */ in read_PKCS7()
655 TS_TST_INFO_free(tst_info); in read_PKCS7()
/third_party/openssl/include/openssl/
Dts.h230 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info);