Home
last modified time | relevance | path

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

/dragonfly/crypto/libressl/crypto/ts/
H A Dts_rsp_verify.c82 PKCS7 *token, TS_TST_INFO *tst_info);
91 TS_TST_INFO *tst_info);
499 if (tst_info) { in TS_RESP_verify_token()
501 TS_TST_INFO_free(tst_info); in TS_RESP_verify_token()
520 TS_TST_INFO *tst_info) in int_TS_RESP_verify_token() argument
536 TS_TST_INFO_get_version(tst_info) != 1) { in int_TS_RESP_verify_token()
543 !TS_check_policy(ctx->policy, tst_info)) in int_TS_RESP_verify_token()
549 tst_info)) in int_TS_RESP_verify_token()
554 (!TS_compute_imprint(ctx->data, tst_info, in int_TS_RESP_verify_token()
561 !TS_check_nonces(ctx->nonce, tst_info)) in int_TS_RESP_verify_token()
[all …]
H A Dts_rsp_sign.c410 return ctx->tst_info; in TS_RESP_CTX_get_tst_info()
498 ctx->tst_info = NULL; in TS_RESP_CTX_init()
509 TS_TST_INFO_free(ctx->tst_info); in TS_RESP_CTX_cleanup()
510 ctx->tst_info = NULL; in TS_RESP_CTX_cleanup()
609 TS_TST_INFO *tst_info = NULL; in TS_RESP_create_tst_info() local
618 if (!(tst_info = TS_TST_INFO_new())) in TS_RESP_create_tst_info()
620 if (!TS_TST_INFO_set_version(tst_info, 1)) in TS_RESP_create_tst_info()
651 !TS_TST_INFO_set_ordering(tst_info, 1)) in TS_RESP_create_tst_info()
676 TS_TST_INFO_free(tst_info); in TS_RESP_create_tst_info()
677 tst_info = NULL; in TS_RESP_create_tst_info()
[all …]
H A Dts_rsp_utils.c120 TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) in TS_RESP_set_tst_info() argument
125 TS_TST_INFO_free(a->tst_info); in TS_RESP_set_tst_info()
126 a->tst_info = tst_info; in TS_RESP_set_tst_info()
138 return a->tst_info; in TS_RESP_get_tst_info()
H A Dts_rsp_print.c84 TS_TST_INFO *tst_info; in TS_RESP_print_bio() local
90 tst_info = TS_RESP_get_tst_info(a); in TS_RESP_print_bio()
91 if (tst_info != NULL) in TS_RESP_print_bio()
H A Dts_asn1.c549 if (a->tst_info != NULL) in ts_resp_set_tst_info()
550 TS_TST_INFO_free(a->tst_info); in ts_resp_set_tst_info()
551 a->tst_info = PKCS7_to_TS_TST_INFO(a->token); in ts_resp_set_tst_info()
552 if (!a->tst_info) { in ts_resp_set_tst_info()
570 ts_resp->tst_info = NULL; in ts_resp_cb()
572 if (ts_resp->tst_info != NULL) in ts_resp_cb()
573 TS_TST_INFO_free(ts_resp->tst_info); in ts_resp_cb()
H A Dts_local.h170 TS_TST_INFO *tst_info; member
263 TS_TST_INFO *tst_info; member
/dragonfly/crypto/libressl/apps/openssl/
H A Dts.c815 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); in reply_command() local
816 if (!TS_TST_INFO_print_bio(out_bio, tst_info)) in reply_command()
856 TS_TST_INFO *tst_info = NULL; in read_PKCS7() local
863 if ((tst_info = PKCS7_to_TS_TST_INFO(token)) == NULL) in read_PKCS7()
879 TS_RESP_set_tst_info(resp, token, tst_info); in read_PKCS7()
881 tst_info = NULL; /* Ownership is lost. */ in read_PKCS7()
886 TS_TST_INFO_free(tst_info); in read_PKCS7()
/dragonfly/crypto/libressl/include/openssl/
H A Dts.h269 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info);