/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl/crypto/ts/ |
H A D | ts_rsp_verify.c | 76 PKCS7 *token, TS_TST_INFO *tst_info); 79 static int TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info); 80 static int TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, 85 TS_TST_INFO *tst_info); 86 static int TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info); 384 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); local 392 if (!int_TS_RESP_verify_token(ctx, token, tst_info)) 406 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token); local 408 if (tst_info) { 409 ret = int_TS_RESP_verify_token(ctx, token, tst_info); 427 int_TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token, TS_TST_INFO *tst_info) argument 580 TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info) argument 592 TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, X509_ALGOR **md_alg, unsigned char **imprint, unsigned *imprint_len) argument 644 TS_check_imprints(X509_ALGOR *algor_a, unsigned char *imprint_a, unsigned len_a, TS_TST_INFO *tst_info) argument 675 TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info) argument [all...] |
H A D | ts_rsp_sign.c | 409 return ctx->tst_info; 457 if (!(ctx->tst_info = TS_RESP_create_tst_info(ctx, policy))) 494 ctx->tst_info = NULL; 504 TS_TST_INFO_free(ctx->tst_info); 505 ctx->tst_info = NULL; 602 TS_TST_INFO *tst_info = NULL; local 610 if (!(tst_info = TS_TST_INFO_new())) 612 if (!TS_TST_INFO_set_version(tst_info, 1)) 614 if (!TS_TST_INFO_set_policy_id(tst_info, policy)) 616 if (!TS_TST_INFO_set_msg_imprint(tst_info, ct [all...] |
H A D | ts_asn1.c | 198 if (a->tst_info != NULL) 199 TS_TST_INFO_free(a->tst_info); 200 a->tst_info = PKCS7_to_TS_TST_INFO(a->token); 201 if (!a->tst_info) { 219 ts_resp->tst_info = NULL; 221 if (ts_resp->tst_info != NULL) 222 TS_TST_INFO_free(ts_resp->tst_info);
|
H A D | ts_rsp_utils.c | 91 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) argument 96 TS_TST_INFO_free(a->tst_info); 97 a->tst_info = tst_info; 107 return a->tst_info;
|
H A D | ts_rsp_print.c | 82 TS_TST_INFO *tst_info; local 88 tst_info = TS_RESP_get_tst_info(a); 89 if (tst_info != NULL)
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/crypto/ts/ |
H A D | ts_rsp_verify.c | 74 PKCS7 *token, TS_TST_INFO *tst_info); 77 static int TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info); 78 static int TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, 83 TS_TST_INFO *tst_info); 84 static int TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info); 365 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); local 372 if (!int_TS_RESP_verify_token(ctx, token, tst_info)) 386 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token); local 388 if (tst_info) 390 ret = int_TS_RESP_verify_token(ctx, token, tst_info); 408 int_TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token, TS_TST_INFO *tst_info) argument 569 TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info) argument 582 TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, X509_ALGOR **md_alg, unsigned char **imprint, unsigned *imprint_len) argument 633 TS_check_imprints(X509_ALGOR *algor_a, unsigned char *imprint_a, unsigned len_a, TS_TST_INFO *tst_info) argument 664 TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info) argument [all...] |
H A D | ts_rsp_sign.c | 406 return ctx->tst_info; 454 if (!(ctx->tst_info = TS_RESP_create_tst_info(ctx, policy))) 491 ctx->tst_info = NULL; 501 TS_TST_INFO_free(ctx->tst_info); 502 ctx->tst_info = NULL; 607 TS_TST_INFO *tst_info = NULL; local 615 if (!(tst_info = TS_TST_INFO_new())) goto end; 616 if (!TS_TST_INFO_set_version(tst_info, 1)) goto end; 617 if (!TS_TST_INFO_set_policy_id(tst_info, policy)) goto end; 618 if (!TS_TST_INFO_set_msg_imprint(tst_info, ct [all...] |
H A D | ts_asn1.c | 193 if (a->tst_info != NULL) 194 TS_TST_INFO_free(a->tst_info); 195 a->tst_info = PKCS7_to_TS_TST_INFO(a->token); 196 if (!a->tst_info) { 213 ts_resp->tst_info = NULL; 215 if (ts_resp->tst_info != NULL) 216 TS_TST_INFO_free(ts_resp->tst_info);
|
H A D | ts_rsp_utils.c | 91 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) argument 96 TS_TST_INFO_free(a->tst_info); 97 a->tst_info = tst_info; 107 return a->tst_info;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl/crypto/ts/ |
H A D | ts_rsp_verify.c | 76 PKCS7 *token, TS_TST_INFO *tst_info); 79 static int TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info); 80 static int TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, 85 TS_TST_INFO *tst_info); 86 static int TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info); 384 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); local 392 if (!int_TS_RESP_verify_token(ctx, token, tst_info)) 406 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token); local 408 if (tst_info) { 409 ret = int_TS_RESP_verify_token(ctx, token, tst_info); 427 int_TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token, TS_TST_INFO *tst_info) argument 580 TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info) argument 592 TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, X509_ALGOR **md_alg, unsigned char **imprint, unsigned *imprint_len) argument 644 TS_check_imprints(X509_ALGOR *algor_a, unsigned char *imprint_a, unsigned len_a, TS_TST_INFO *tst_info) argument 675 TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info) argument [all...] |
H A D | ts_rsp_sign.c | 409 return ctx->tst_info; 457 if (!(ctx->tst_info = TS_RESP_create_tst_info(ctx, policy))) 494 ctx->tst_info = NULL; 504 TS_TST_INFO_free(ctx->tst_info); 505 ctx->tst_info = NULL; 602 TS_TST_INFO *tst_info = NULL; local 610 if (!(tst_info = TS_TST_INFO_new())) 612 if (!TS_TST_INFO_set_version(tst_info, 1)) 614 if (!TS_TST_INFO_set_policy_id(tst_info, policy)) 616 if (!TS_TST_INFO_set_msg_imprint(tst_info, ct [all...] |
H A D | ts_asn1.c | 198 if (a->tst_info != NULL) 199 TS_TST_INFO_free(a->tst_info); 200 a->tst_info = PKCS7_to_TS_TST_INFO(a->token); 201 if (!a->tst_info) { 219 ts_resp->tst_info = NULL; 221 if (ts_resp->tst_info != NULL) 222 TS_TST_INFO_free(ts_resp->tst_info);
|
H A D | ts_rsp_utils.c | 91 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) argument 96 TS_TST_INFO_free(a->tst_info); 97 a->tst_info = tst_info; 107 return a->tst_info;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl-1.0.0q/crypto/ts/ |
H A D | ts_rsp_verify.c | 74 PKCS7 *token, TS_TST_INFO *tst_info); 77 static int TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info); 78 static int TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, 83 TS_TST_INFO *tst_info); 84 static int TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info); 365 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); local 372 if (!int_TS_RESP_verify_token(ctx, token, tst_info)) 386 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token); local 388 if (tst_info) 390 ret = int_TS_RESP_verify_token(ctx, token, tst_info); 408 int_TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token, TS_TST_INFO *tst_info) argument 569 TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info) argument 582 TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, X509_ALGOR **md_alg, unsigned char **imprint, unsigned *imprint_len) argument 633 TS_check_imprints(X509_ALGOR *algor_a, unsigned char *imprint_a, unsigned len_a, TS_TST_INFO *tst_info) argument 664 TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info) argument [all...] |
H A D | ts_rsp_sign.c | 406 return ctx->tst_info; 454 if (!(ctx->tst_info = TS_RESP_create_tst_info(ctx, policy))) 491 ctx->tst_info = NULL; 501 TS_TST_INFO_free(ctx->tst_info); 502 ctx->tst_info = NULL; 607 TS_TST_INFO *tst_info = NULL; local 615 if (!(tst_info = TS_TST_INFO_new())) goto end; 616 if (!TS_TST_INFO_set_version(tst_info, 1)) goto end; 617 if (!TS_TST_INFO_set_policy_id(tst_info, policy)) goto end; 618 if (!TS_TST_INFO_set_msg_imprint(tst_info, ct [all...] |
H A D | ts_asn1.c | 193 if (a->tst_info != NULL) 194 TS_TST_INFO_free(a->tst_info); 195 a->tst_info = PKCS7_to_TS_TST_INFO(a->token); 196 if (!a->tst_info) { 213 ts_resp->tst_info = NULL; 215 if (ts_resp->tst_info != NULL) 216 TS_TST_INFO_free(ts_resp->tst_info);
|
H A D | ts_rsp_utils.c | 91 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) argument 96 TS_TST_INFO_free(a->tst_info); 97 a->tst_info = tst_info; 107 return a->tst_info;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl/crypto/ts/ |
H A D | ts_rsp_verify.c | 76 PKCS7 *token, TS_TST_INFO *tst_info); 79 static int TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info); 80 static int TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, 85 TS_TST_INFO *tst_info); 86 static int TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info); 384 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); local 392 if (!int_TS_RESP_verify_token(ctx, token, tst_info)) 406 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token); local 408 if (tst_info) { 409 ret = int_TS_RESP_verify_token(ctx, token, tst_info); 427 int_TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token, TS_TST_INFO *tst_info) argument 580 TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info) argument 592 TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, X509_ALGOR **md_alg, unsigned char **imprint, unsigned *imprint_len) argument 644 TS_check_imprints(X509_ALGOR *algor_a, unsigned char *imprint_a, unsigned len_a, TS_TST_INFO *tst_info) argument 675 TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info) argument [all...] |
H A D | ts_rsp_sign.c | 409 return ctx->tst_info; 457 if (!(ctx->tst_info = TS_RESP_create_tst_info(ctx, policy))) 494 ctx->tst_info = NULL; 504 TS_TST_INFO_free(ctx->tst_info); 505 ctx->tst_info = NULL; 602 TS_TST_INFO *tst_info = NULL; local 610 if (!(tst_info = TS_TST_INFO_new())) 612 if (!TS_TST_INFO_set_version(tst_info, 1)) 614 if (!TS_TST_INFO_set_policy_id(tst_info, policy)) 616 if (!TS_TST_INFO_set_msg_imprint(tst_info, ct [all...] |
H A D | ts_asn1.c | 198 if (a->tst_info != NULL) 199 TS_TST_INFO_free(a->tst_info); 200 a->tst_info = PKCS7_to_TS_TST_INFO(a->token); 201 if (!a->tst_info) { 219 ts_resp->tst_info = NULL; 221 if (ts_resp->tst_info != NULL) 222 TS_TST_INFO_free(ts_resp->tst_info);
|
H A D | ts_rsp_utils.c | 91 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) argument 96 TS_TST_INFO_free(a->tst_info); 97 a->tst_info = tst_info; 107 return a->tst_info;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl-1.0.0q/crypto/ts/ |
H A D | ts_rsp_verify.c | 74 PKCS7 *token, TS_TST_INFO *tst_info); 77 static int TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info); 78 static int TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, 83 TS_TST_INFO *tst_info); 84 static int TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info); 365 TS_TST_INFO *tst_info = TS_RESP_get_tst_info(response); local 372 if (!int_TS_RESP_verify_token(ctx, token, tst_info)) 386 TS_TST_INFO *tst_info = PKCS7_to_TS_TST_INFO(token); local 388 if (tst_info) 390 ret = int_TS_RESP_verify_token(ctx, token, tst_info); 408 int_TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token, TS_TST_INFO *tst_info) argument 569 TS_check_policy(ASN1_OBJECT *req_oid, TS_TST_INFO *tst_info) argument 582 TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info, X509_ALGOR **md_alg, unsigned char **imprint, unsigned *imprint_len) argument 633 TS_check_imprints(X509_ALGOR *algor_a, unsigned char *imprint_a, unsigned len_a, TS_TST_INFO *tst_info) argument 664 TS_check_nonces(const ASN1_INTEGER *a, TS_TST_INFO *tst_info) argument [all...] |
H A D | ts_rsp_sign.c | 406 return ctx->tst_info; 454 if (!(ctx->tst_info = TS_RESP_create_tst_info(ctx, policy))) 491 ctx->tst_info = NULL; 501 TS_TST_INFO_free(ctx->tst_info); 502 ctx->tst_info = NULL; 607 TS_TST_INFO *tst_info = NULL; local 615 if (!(tst_info = TS_TST_INFO_new())) goto end; 616 if (!TS_TST_INFO_set_version(tst_info, 1)) goto end; 617 if (!TS_TST_INFO_set_policy_id(tst_info, policy)) goto end; 618 if (!TS_TST_INFO_set_msg_imprint(tst_info, ct [all...] |
H A D | ts_asn1.c | 193 if (a->tst_info != NULL) 194 TS_TST_INFO_free(a->tst_info); 195 a->tst_info = PKCS7_to_TS_TST_INFO(a->token); 196 if (!a->tst_info) { 213 ts_resp->tst_info = NULL; 215 if (ts_resp->tst_info != NULL) 216 TS_TST_INFO_free(ts_resp->tst_info);
|
H A D | ts_rsp_utils.c | 91 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) argument 96 TS_TST_INFO_free(a->tst_info); 97 a->tst_info = tst_info; 107 return a->tst_info;
|