Home
last modified time | relevance | path

Searched refs:imprint_len (Results 1 – 4 of 4) sorted by relevance

/freebsd/crypto/openssl/crypto/ts/
H A Dts_verify_ctx.c75 ctx->imprint_len = len; in TS_VERIFY_CTX_set_imprint()
129 ret->imprint_len = ASN1_STRING_length(msg); in TS_REQ_to_TS_VERIFY_CTX()
130 if (ret->imprint_len <= 0) in TS_REQ_to_TS_VERIFY_CTX()
132 if ((ret->imprint = OPENSSL_malloc(ret->imprint_len)) == NULL) in TS_REQ_to_TS_VERIFY_CTX()
134 memcpy(ret->imprint, ASN1_STRING_get0_data(msg), ret->imprint_len); in TS_REQ_to_TS_VERIFY_CTX()
H A Dts_rsp_verify.c32 unsigned char **imprint, unsigned *imprint_len);
299 unsigned imprint_len = 0; in int_ts_RESP_verify_token() local
321 && !ts_check_imprints(ctx->md_alg, ctx->imprint, ctx->imprint_len, in int_ts_RESP_verify_token()
326 &md_alg, &imprint, &imprint_len) in int_ts_RESP_verify_token()
327 || !ts_check_imprints(md_alg, imprint, imprint_len, tst_info))) in int_ts_RESP_verify_token()
420 unsigned char **imprint, unsigned *imprint_len) in ts_compute_imprint() argument
453 *imprint_len = length; in ts_compute_imprint()
454 if ((*imprint = OPENSSL_malloc(*imprint_len)) == NULL) { in ts_compute_imprint()
483 *imprint_len = 0; in ts_compute_imprint()
H A Dts_local.h145 unsigned imprint_len; member
/freebsd/crypto/openssl/apps/
H A Dts.c925 long imprint_len; in create_verify_ctx()
926 unsigned char *hexstr = OPENSSL_hexstr2buf(digest, &imprint_len); in create_verify_ctx()
928 if (TS_VERIFY_CTX_set_imprint(ctx, hexstr, imprint_len) == NULL) { in create_verify_ctx()
922 long imprint_len; create_verify_ctx() local