Home
last modified time | relevance | path

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

/openssl/apps/
H A Dgenpkey.c314 BIO *pbio; in init_keygen_file() local
322 pbio = BIO_new_file(file, "r"); in init_keygen_file()
323 if (pbio == NULL) { in init_keygen_file()
328 pkey = PEM_read_bio_Parameters_ex(pbio, NULL, libctx, propq); in init_keygen_file()
329 BIO_free(pbio); in init_keygen_file()
H A Dreq.c1492 BIO *pbio = NULL; in set_keygen_ctx() local
1548 pbio = BIO_new_file(paramfile, "r"); in set_keygen_ctx()
1549 if (pbio == NULL) { in set_keygen_ctx()
1553 param = PEM_read_bio_Parameters(pbio, NULL); in set_keygen_ctx()
1558 (void)BIO_reset(pbio); in set_keygen_ctx()
1559 x = PEM_read_bio_X509(pbio, NULL, NULL, NULL); in set_keygen_ctx()
1566 BIO_free(pbio); in set_keygen_ctx()
/openssl/crypto/pkcs7/
H A Dpk7_doit.c95 static int pkcs7_bio_add_digest(BIO **pbio, X509_ALGOR *alg, in pkcs7_bio_add_digest() argument
131 if (*pbio == NULL) in pkcs7_bio_add_digest()
132 *pbio = btmp; in pkcs7_bio_add_digest()
133 else if (!BIO_push(*pbio, btmp)) { in pkcs7_bio_add_digest()
/openssl/test/
H A Dsslapitest.c6893 BIO *lbio = NULL, *pbio = NULL; in test_key_update_peer_in_read() local
6910 if (!TEST_int_eq(BIO_new_bio_pair(&lbio, 512, &pbio, 512), 1)) in test_key_update_peer_in_read()
6914 SSL_set_bio(peer, pbio, pbio); in test_key_update_peer_in_read()
7067 BIO *lbio = NULL, *pbio = NULL; in test_key_update_local_in_read() local
7084 if (!TEST_int_eq(BIO_new_bio_pair(&lbio, 512, &pbio, 512), 1)) in test_key_update_local_in_read()
7088 SSL_set_bio(peer, pbio, pbio); in test_key_update_local_in_read()

Completed in 34 milliseconds