Lines Matching refs:tst_info

25                                     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);
252 TS_TST_INFO *tst_info = response->tst_info; in TS_RESP_verify_response() local
257 if (!int_ts_RESP_verify_token(ctx, token, tst_info)) in TS_RESP_verify_response()
271 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token); in TS_RESP_verify_token() local
273 if (tst_info) { in TS_RESP_verify_token()
274 ret = int_ts_RESP_verify_token(ctx, token, tst_info); in TS_RESP_verify_token()
275 TS_TST_INFO_free(tst_info); in TS_RESP_verify_token()
293 PKCS7 *token, TS_TST_INFO *tst_info) in int_ts_RESP_verify_token() argument
296 GENERAL_NAME *tsa_name = tst_info->tsa; in int_ts_RESP_verify_token()
313 && TS_TST_INFO_get_version(tst_info) != 1) { in int_ts_RESP_verify_token()
318 && !ts_check_policy(ctx->policy, tst_info)) in int_ts_RESP_verify_token()
322 tst_info)) in int_ts_RESP_verify_token()
325 && (!ts_compute_imprint(ctx->data, tst_info, in int_ts_RESP_verify_token()
327 || !ts_check_imprints(md_alg, imprint, imprint_len, tst_info))) in int_ts_RESP_verify_token()
330 && !ts_check_nonces(ctx->nonce, tst_info)) in int_ts_RESP_verify_token()
406 const TS_TST_INFO *tst_info) in ts_check_policy() argument
408 const ASN1_OBJECT *resp_oid = tst_info->policy_id; in ts_check_policy()
418 static int ts_compute_imprint(BIO *data, TS_TST_INFO *tst_info, in ts_compute_imprint() argument
422 TS_MSG_IMPRINT *msg_imprint = tst_info->msg_imprint; in ts_compute_imprint()
488 TS_TST_INFO *tst_info) in ts_check_imprints() argument
490 TS_MSG_IMPRINT *b = tst_info->msg_imprint; in ts_check_imprints()
514 static int ts_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info) in ts_check_nonces() argument
516 const ASN1_INTEGER *b = tst_info->nonce; in ts_check_nonces()