Searched refs:tst_info (Results 1 - 16 of 16) sorted by relevance

/netbsd-current/crypto/external/bsd/openssl/dist/crypto/ts/
H A 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);
252 TS_TST_INFO *tst_info = response->tst_info; local
257 if (!int_ts_RESP_verify_token(ctx, token, tst_info))
271 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token); local
273 if (tst_info) {
292 int_ts_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token, TS_TST_INFO *tst_info) argument
405 ts_check_policy(const ASN1_OBJECT *req_oid, const TS_TST_INFO *tst_info) argument
418 ts_compute_imprint(BIO *data, TS_TST_INFO *tst_info, X509_ALGOR **md_alg, unsigned char **imprint, unsigned *imprint_len) argument
488 ts_check_imprints(X509_ALGOR *algor_a, const unsigned char *imprint_a, unsigned len_a, TS_TST_INFO *tst_info) argument
516 ts_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info) argument
[all...]
H A Dts_local.h28 TS_TST_INFO *tst_info; member in struct:TS_resp_st
126 TS_TST_INFO *tst_info; member in struct:TS_resp_ctx
H A Dts_rsp_sign.c362 return ctx->tst_info;
399 if ((ctx->tst_info = ts_RESP_create_tst_info(ctx, policy)) == NULL)
431 ctx->tst_info = NULL;
441 TS_TST_INFO_free(ctx->tst_info);
442 ctx->tst_info = NULL;
531 TS_TST_INFO *tst_info = NULL; local
539 if ((tst_info = TS_TST_INFO_new()) == NULL)
541 if (!TS_TST_INFO_set_version(tst_info, 1))
543 if (!TS_TST_INFO_set_policy_id(tst_info, policy))
545 if (!TS_TST_INFO_set_msg_imprint(tst_info, ct
[all...]
H A 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) {
163 ts_resp->tst_info = NULL;
165 TS_TST_INFO_free(ts_resp->tst_info);
H A Dts_rsp_utils.c40 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) argument
44 TS_TST_INFO_free(a->tst_info);
45 a->tst_info = tst_info;
55 return a->tst_info;
H A Dts_rsp_print.c34 if (a->tst_info != NULL)
35 TS_TST_INFO_print_bio(bio, a->tst_info);
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/ts/
H A 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; local
378 if (!int_ts_RESP_verify_token(ctx, token, tst_info))
392 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token); local
394 if (tst_info) {
413 int_ts_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token, TS_TST_INFO *tst_info) argument
554 ts_check_policy(const ASN1_OBJECT *req_oid, const TS_TST_INFO *tst_info) argument
567 ts_compute_imprint(BIO *data, TS_TST_INFO *tst_info, X509_ALGOR **md_alg, unsigned char **imprint, unsigned *imprint_len) argument
622 ts_check_imprints(X509_ALGOR *algor_a, const unsigned char *imprint_a, unsigned len_a, TS_TST_INFO *tst_info) argument
650 ts_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info) argument
[all...]
H A Dts_local.h28 TS_TST_INFO *tst_info; member in struct:TS_resp_st
187 TS_TST_INFO *tst_info; member in struct:TS_resp_ctx
H A Dts_rsp_sign.c367 return ctx->tst_info;
404 if ((ctx->tst_info = ts_RESP_create_tst_info(ctx, policy)) == NULL)
436 ctx->tst_info = NULL;
446 TS_TST_INFO_free(ctx->tst_info);
447 ctx->tst_info = NULL;
536 TS_TST_INFO *tst_info = NULL; local
544 if ((tst_info = TS_TST_INFO_new()) == NULL)
546 if (!TS_TST_INFO_set_version(tst_info, 1))
548 if (!TS_TST_INFO_set_policy_id(tst_info, policy))
550 if (!TS_TST_INFO_set_msg_imprint(tst_info, ct
[all...]
H A 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;
166 TS_TST_INFO_free(ts_resp->tst_info);
H A Dts_rsp_utils.c40 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) argument
44 TS_TST_INFO_free(a->tst_info);
45 a->tst_info = tst_info;
55 return a->tst_info;
H A Dts_rsp_print.c34 if (a->tst_info != NULL)
35 TS_TST_INFO_print_bio(bio, a->tst_info);
/netbsd-current/crypto/external/bsd/openssl.old/dist/apps/
H A Dts.c594 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); local
595 if (!TS_TST_INFO_print_bio(out_bio, tst_info))
632 TS_TST_INFO *tst_info = NULL; local
638 if ((tst_info = PKCS7_to_TS_TST_INFO(token)) == NULL)
648 TS_RESP_set_tst_info(resp, token, tst_info);
650 tst_info = NULL; /* Ownership is lost. */
655 TS_TST_INFO_free(tst_info);
/netbsd-current/crypto/external/bsd/openssl/dist/apps/
H A Dts.c625 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); local
626 if (!TS_TST_INFO_print_bio(out_bio, tst_info))
663 TS_TST_INFO *tst_info = NULL; local
669 if ((tst_info = PKCS7_to_TS_TST_INFO(token)) == NULL)
679 TS_RESP_set_tst_info(resp, token, tst_info);
681 tst_info = NULL; /* Ownership is lost. */
686 TS_TST_INFO_free(tst_info);
/netbsd-current/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dts.h230 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info);
/netbsd-current/crypto/external/bsd/openssl/dist/include/openssl/
H A Dts.h172 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info);

Completed in 144 milliseconds