Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/bio/
H A Dbio_lib.c770 BIO *ret = NULL, *eoc = NULL, *bio, *new_bio; in BIO_dup_chain() local
773 if ((new_bio = BIO_new(bio->method)) == NULL) in BIO_dup_chain()
776 new_bio->callback = bio->callback; in BIO_dup_chain()
778 new_bio->callback_ex = bio->callback_ex; in BIO_dup_chain()
779 new_bio->cb_arg = bio->cb_arg; in BIO_dup_chain()
780 new_bio->init = bio->init; in BIO_dup_chain()
781 new_bio->shutdown = bio->shutdown; in BIO_dup_chain()
782 new_bio->flags = bio->flags; in BIO_dup_chain()
785 new_bio->num = bio->num; in BIO_dup_chain()
787 if (BIO_dup_state(bio, (char *)new_bio) < in BIO_dup_chain()
[all...]
/freebsd/crypto/openssl/crypto/pem/
H A Dpem_pkey.c221 BIO *new_bio = NULL; in pem_read_bio_key() local
226 new_bio = BIO_new(BIO_f_readbuffer()); in pem_read_bio_key()
227 if (new_bio == NULL) in pem_read_bio_key()
229 bp = BIO_push(new_bio, bp); in pem_read_bio_key()
255 if (new_bio != NULL) { in pem_read_bio_key()
256 BIO_pop(new_bio); in pem_read_bio_key()
257 BIO_free(new_bio); in pem_read_bio_key()
/freebsd/crypto/openssl/crypto/encode_decode/
H A Ddecoder_lib.c50 BIO *new_bio = NULL; in OSSL_DECODER_from_bio() local
69 new_bio = BIO_new(BIO_f_readbuffer()); in OSSL_DECODER_from_bio()
70 if (new_bio == NULL) in OSSL_DECODER_from_bio()
72 in = BIO_push(new_bio, in); in OSSL_DECODER_from_bio()
111 if (new_bio != NULL) { in OSSL_DECODER_from_bio()
112 BIO_pop(new_bio); in OSSL_DECODER_from_bio()
113 BIO_free(new_bio); in OSSL_DECODER_from_bio()
/freebsd/crypto/openssl/providers/implementations/storemgmt/
H A Dfile_store.c294 BIO *new_bio = ossl_bio_new_from_core_bio(provctx, cin); in file_attach() local
296 if (new_bio == NULL) in file_attach()
299 ctx = file_open_stream(new_bio, NULL, provctx); in file_attach()
301 BIO_free(new_bio); in file_attach()