Searched refs:tst_info (Results 1 – 8 of 8) sorted by relevance
/openbsd/lib/libcrypto/ts/ |
H A D | ts_rsp_verify.c | 82 PKCS7 *token, TS_TST_INFO *tst_info); 91 TS_TST_INFO *tst_info); 501 if (tst_info) { in TS_RESP_verify_token() 503 TS_TST_INFO_free(tst_info); in TS_RESP_verify_token() 523 TS_TST_INFO *tst_info) in int_TS_RESP_verify_token() argument 539 TS_TST_INFO_get_version(tst_info) != 1) { in int_TS_RESP_verify_token() 546 !TS_check_policy(ctx->policy, tst_info)) in int_TS_RESP_verify_token() 552 tst_info)) in int_TS_RESP_verify_token() 557 (!TS_compute_imprint(ctx->data, tst_info, in int_TS_RESP_verify_token() 564 !TS_check_nonces(ctx->nonce, tst_info)) in int_TS_RESP_verify_token() [all …]
|
H A D | ts_rsp_sign.c | 427 return ctx->tst_info; in TS_RESP_CTX_get_tst_info() 518 ctx->tst_info = NULL; in TS_RESP_CTX_init() 529 TS_TST_INFO_free(ctx->tst_info); in TS_RESP_CTX_cleanup() 530 ctx->tst_info = NULL; in TS_RESP_CTX_cleanup() 629 TS_TST_INFO *tst_info = NULL; in TS_RESP_create_tst_info() local 638 if (!(tst_info = TS_TST_INFO_new())) in TS_RESP_create_tst_info() 640 if (!TS_TST_INFO_set_version(tst_info, 1)) in TS_RESP_create_tst_info() 670 !TS_TST_INFO_set_ordering(tst_info, 1)) in TS_RESP_create_tst_info() 695 TS_TST_INFO_free(tst_info); in TS_RESP_create_tst_info() 696 tst_info = NULL; in TS_RESP_create_tst_info() [all …]
|
H A D | ts_rsp_utils.c | 126 TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) in TS_RESP_set_tst_info() argument 131 TS_TST_INFO_free(a->tst_info); in TS_RESP_set_tst_info() 132 a->tst_info = tst_info; in TS_RESP_set_tst_info() 146 return a->tst_info; in TS_RESP_get_tst_info()
|
H A D | ts_rsp_print.c | 84 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 D | ts_local.h | 170 TS_TST_INFO *tst_info; member 263 TS_TST_INFO *tst_info; member
|
H A D | ts_asn1.c | 586 if (a->tst_info != NULL) in ts_resp_set_tst_info() 587 TS_TST_INFO_free(a->tst_info); in ts_resp_set_tst_info() 588 a->tst_info = PKCS7_to_TS_TST_INFO(a->token); in ts_resp_set_tst_info() 589 if (!a->tst_info) { in ts_resp_set_tst_info() 607 ts_resp->tst_info = NULL; in ts_resp_cb() 609 if (ts_resp->tst_info != NULL) in ts_resp_cb() 610 TS_TST_INFO_free(ts_resp->tst_info); in ts_resp_cb()
|
H A D | ts.h | 269 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info);
|
/openbsd/usr.bin/openssl/ |
H A D | ts.c | 817 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); in reply_command() local 818 if (!TS_TST_INFO_print_bio(out_bio, tst_info)) in reply_command() 858 TS_TST_INFO *tst_info = NULL; in read_PKCS7() local 865 if ((tst_info = PKCS7_to_TS_TST_INFO(token)) == NULL) in read_PKCS7() 881 TS_RESP_set_tst_info(resp, token, tst_info); in read_PKCS7() 883 tst_info = NULL; /* Ownership is lost. */ in read_PKCS7() 888 TS_TST_INFO_free(tst_info); in read_PKCS7()
|