• Home
  • Raw
  • Download

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);
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()
396 TS_TST_INFO_free(tst_info); in TS_RESP_verify_token()
414 PKCS7 *token, TS_TST_INFO *tst_info) in int_ts_RESP_verify_token() argument
417 GENERAL_NAME *tsa_name = tst_info->tsa; in int_ts_RESP_verify_token()
434 && TS_TST_INFO_get_version(tst_info) != 1) { in int_ts_RESP_verify_token()
439 && !ts_check_policy(ctx->policy, tst_info)) in int_ts_RESP_verify_token()
443 tst_info)) in int_ts_RESP_verify_token()
446 && (!ts_compute_imprint(ctx->data, tst_info, in int_ts_RESP_verify_token()
448 || !ts_check_imprints(md_alg, imprint, imprint_len, tst_info))) in int_ts_RESP_verify_token()
451 && !ts_check_nonces(ctx->nonce, tst_info)) in int_ts_RESP_verify_token()
555 const TS_TST_INFO *tst_info) in ts_check_policy() argument
557 const ASN1_OBJECT *resp_oid = tst_info->policy_id; in ts_check_policy()
567 static int ts_compute_imprint(BIO *data, TS_TST_INFO *tst_info, in ts_compute_imprint() argument
571 TS_MSG_IMPRINT *msg_imprint = tst_info->msg_imprint; in ts_compute_imprint()
624 TS_TST_INFO *tst_info) in ts_check_imprints() argument
626 TS_MSG_IMPRINT *b = tst_info->msg_imprint; in ts_check_imprints()
650 static int ts_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info) in ts_check_nonces() argument
652 const ASN1_INTEGER *b = tst_info->nonce; in ts_check_nonces()