Home
last modified time | relevance | path

Searched refs:p7bio (Results 1 – 3 of 3) sorted by relevance

/third_party/openssl/crypto/pkcs7/
Dpk7_smime.c67 BIO *p7bio; in PKCS7_final() local
70 if ((p7bio = PKCS7_dataInit(p7, NULL)) == NULL) { in PKCS7_final()
75 SMIME_crlf_copy(data, p7bio, flags); in PKCS7_final()
77 (void)BIO_flush(p7bio); in PKCS7_final()
79 if (!PKCS7_dataFinal(p7, p7bio)) { in PKCS7_final()
87 BIO_free_all(p7bio); in PKCS7_final()
214 BIO *p7bio = NULL; in PKCS7_verify() local
312 if ((p7bio = PKCS7_dataInit(p7, tmpin)) == NULL) in PKCS7_verify()
330 i = BIO_read(p7bio, buf, BUFFERSIZE); in PKCS7_verify()
351 j = PKCS7_signatureVerify(p7bio, p7, si, signer); in PKCS7_verify()
[all …]
/third_party/openssl/crypto/ts/
Dts_rsp_verify.c100 BIO *p7bio = NULL; in TS_RESP_verify_signature() local
135 p7bio = PKCS7_dataInit(token, NULL); in TS_RESP_verify_signature()
138 while ((i = BIO_read(p7bio, buf, sizeof(buf))) > 0) in TS_RESP_verify_signature()
141 j = PKCS7_signatureVerify(p7bio, token, si, signer); in TS_RESP_verify_signature()
154 BIO_free_all(p7bio); in TS_RESP_verify_signature()
Dts_rsp_sign.c643 BIO *p7bio = NULL; in ts_RESP_sign() local
707 if ((p7bio = PKCS7_dataInit(p7, NULL)) == NULL) { in ts_RESP_sign()
711 if (!i2d_TS_TST_INFO_bio(p7bio, ctx->tst_info)) { in ts_RESP_sign()
715 if (!PKCS7_dataFinal(p7, p7bio)) { in ts_RESP_sign()
729 BIO_free_all(p7bio); in ts_RESP_sign()