Searched refs:imprint_len (Results 1 - 8 of 8) sorted by relevance

/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/ts/
H A Dts_verify_ctx.c75 ctx->imprint_len = len;
129 ret->imprint_len = ASN1_STRING_length(msg);
130 if (ret->imprint_len <= 0)
132 if ((ret->imprint = OPENSSL_malloc(ret->imprint_len)) == NULL)
134 memcpy(ret->imprint, ASN1_STRING_get0_data(msg), ret->imprint_len);
H A Dts_rsp_verify.c32 unsigned char **imprint, unsigned *imprint_len);
420 unsigned imprint_len = 0; local
442 && !ts_check_imprints(ctx->md_alg, ctx->imprint, ctx->imprint_len,
447 &md_alg, &imprint, &imprint_len)
448 || !ts_check_imprints(md_alg, imprint, imprint_len, tst_info)))
569 unsigned char **imprint, unsigned *imprint_len)
590 *imprint_len = length;
591 if ((*imprint = OPENSSL_malloc(*imprint_len)) == NULL) {
617 *imprint_len = 0;
567 ts_compute_imprint(BIO *data, TS_TST_INFO *tst_info, X509_ALGOR **md_alg, unsigned char **imprint, unsigned *imprint_len) argument
H A Dts_local.h204 unsigned imprint_len; member in struct:TS_verify_ctx
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/ts/
H A Dts_verify_ctx.c75 ctx->imprint_len = len;
129 ret->imprint_len = ASN1_STRING_length(msg);
130 if (ret->imprint_len <= 0)
132 if ((ret->imprint = OPENSSL_malloc(ret->imprint_len)) == NULL)
134 memcpy(ret->imprint, ASN1_STRING_get0_data(msg), ret->imprint_len);
H A Dts_rsp_verify.c32 unsigned char **imprint, unsigned *imprint_len);
299 unsigned imprint_len = 0; local
321 && !ts_check_imprints(ctx->md_alg, ctx->imprint, ctx->imprint_len,
326 &md_alg, &imprint, &imprint_len)
327 || !ts_check_imprints(md_alg, imprint, imprint_len, tst_info)))
420 unsigned char **imprint, unsigned *imprint_len)
453 *imprint_len = length;
454 if ((*imprint = OPENSSL_malloc(*imprint_len)) == NULL) {
483 *imprint_len = 0;
418 ts_compute_imprint(BIO *data, TS_TST_INFO *tst_info, X509_ALGOR **md_alg, unsigned char **imprint, unsigned *imprint_len) argument
H A Dts_local.h145 unsigned imprint_len; member in struct:TS_verify_ctx
/netbsd-current/crypto/external/bsd/openssl.old/dist/apps/
H A Dts.c891 long imprint_len; local
892 unsigned char *hexstr = OPENSSL_hexstr2buf(digest, &imprint_len);
894 if (TS_VERIFY_CTX_set_imprint(ctx, hexstr, imprint_len) == NULL) {
/netbsd-current/crypto/external/bsd/openssl/dist/apps/
H A Dts.c925 long imprint_len; local
926 unsigned char *hexstr = OPENSSL_hexstr2buf(digest, &imprint_len);
928 if (TS_VERIFY_CTX_set_imprint(ctx, hexstr, imprint_len) == NULL) {

Completed in 199 milliseconds