Home
last modified time | relevance | path

Searched refs:BIO_new (Results 1 – 25 of 103) sorted by relevance

12345

/mirbsd/src/lib/libssl/src/doc/crypto/
DBIO_new.pod5 BIO_new, BIO_set, BIO_free, BIO_vfree, BIO_free_all - BIO allocation and freeing functions
11 BIO * BIO_new(BIO_METHOD *type);
19 The BIO_new() function returns a new BIO using method B<type>.
34 BIO_new() returns a newly created BIO or NULL if the call fails.
43 BIO_new(). Others (such as file BIOs) need some additional initialization,
61 BIO *mem = BIO_new(BIO_s_mem());
DBIO_f_md.pod76 bio = BIO_new(BIO_s_null());
77 mdtmp = BIO_new(BIO_f_md());
83 mdtmp = BIO_new(BIO_f_md());
95 mdtmp = BIO_new(BIO_f_md());
98 mdtmp = BIO_new(BIO_f_md());
/mirbsd/src/lib/libssl/src/ssl/
Dssl_task.c217 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in main()
220 if ((bio_stdout=BIO_new(BIO_s_file())) != NULL) in main()
273 c_to_s=BIO_new(BIO_s_rtcp()); in doit()
274 s_to_c=BIO_new(BIO_s_rtcp()); in doit()
283 c_bio=BIO_new(BIO_f_ssl()); in doit()
284 s_bio=BIO_new(BIO_f_ssl()); in doit()
Dssl_rsa.c92 in=BIO_new(BIO_s_file_internal()); in SSL_use_certificate_file()
264 in=BIO_new(BIO_s_file_internal()); in SSL_use_RSAPrivateKey_file()
349 in=BIO_new(BIO_s_file_internal()); in SSL_use_PrivateKey_file()
506 in=BIO_new(BIO_s_file_internal()); in SSL_CTX_use_certificate_file()
602 in=BIO_new(BIO_s_file_internal()); in SSL_CTX_use_RSAPrivateKey_file()
684 in=BIO_new(BIO_s_file_internal()); in SSL_CTX_use_PrivateKey_file()
751 in=BIO_new(BIO_s_file_internal()); in SSL_CTX_use_certificate_chain_file()
/mirbsd/src/usr.sbin/httpd/src/modules/ssl/
Dssl_util_ssl.c112 if ((bioS = BIO_new(BIO_s_fd())) == NULL) in SSL_read_X509()
115 if ((bioF = BIO_new(BIO_f_base64())) == NULL) { in SSL_read_X509()
125 if ((bioS = BIO_new(BIO_s_fd())) == NULL) in SSL_read_X509()
151 if ((bioS = BIO_new(BIO_s_fd())) == NULL) in SSL_read_PrivateKey()
154 if ((bioF = BIO_new(BIO_f_base64())) == NULL) { in SSL_read_PrivateKey()
164 if ((bioS = BIO_new(BIO_s_fd())) == NULL) in SSL_read_PrivateKey()
387 if ((in = BIO_new(BIO_s_file())) == NULL) in SSL_load_CrtAndKeyInfo_file()
449 if ((bio = BIO_new(BIO_s_file_internal())) == NULL) in SSL_CTX_use_certificate_chain()
/mirbsd/src/lib/libssl/src/apps/
Derrstr.c82 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
91 out=BIO_new(BIO_s_file()); in MAIN()
96 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
Dprime.c69 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
98 if ((bio_out=BIO_new(BIO_s_file())) != NULL) in MAIN()
103 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
Drand.c98 if ((bio_err = BIO_new(BIO_s_file())) != NULL) in MAIN()
189 out = BIO_new(BIO_s_file()); in MAIN()
199 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
209 BIO *b64 = BIO_new(BIO_f_base64()); in MAIN()
Dcrl.c123 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
130 if ((bio_out=BIO_new(BIO_s_file())) != NULL) in MAIN()
135 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
330 out=BIO_new(BIO_s_file()); in MAIN()
342 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
393 in=BIO_new(BIO_s_file()); in load_crl()
Dcrl2p7.c104 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
175 in=BIO_new(BIO_s_file()); in MAIN()
176 out=BIO_new(BIO_s_file()); in MAIN()
247 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
311 in=BIO_new(BIO_s_file()); in add_certs_from_file()
Dgendsa.c97 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
197 in=BIO_new(BIO_s_file()); in MAIN()
212 out=BIO_new(BIO_s_file()); in MAIN()
220 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
Dasn1pars.c103 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
203 in=BIO_new(BIO_s_file()); in MAIN()
204 out=BIO_new(BIO_s_file()); in MAIN()
213 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
255 if ((b64=BIO_new(BIO_f_base64())) == NULL) in MAIN()
Dsess_id.c103 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
201 out=BIO_new(BIO_s_file()); in MAIN()
213 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
284 in=BIO_new(BIO_s_file()); in load_sess_id()
Dpkcs7.c102 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
186 in=BIO_new(BIO_s_file()); in MAIN()
187 out=BIO_new(BIO_s_file()); in MAIN()
227 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
Ddsa.c114 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
230 in=BIO_new(BIO_s_file()); in MAIN()
231 out=BIO_new(BIO_s_file()); in MAIN()
273 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
Ddh.c105 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
194 in=BIO_new(BIO_s_file()); in MAIN()
195 out=BIO_new(BIO_s_file()); in MAIN()
217 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
Dgendh.c102 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
162 out=BIO_new(BIO_s_file()); in MAIN()
174 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
Ddsaparam.c112 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
211 in=BIO_new(BIO_s_file()); in MAIN()
212 out=BIO_new(BIO_s_file()); in MAIN()
234 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
Denc.c135 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
363 in=BIO_new(BIO_s_file()); in MAIN()
364 out=BIO_new(BIO_s_file()); in MAIN()
438 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
457 if ((b64=BIO_new(BIO_f_base64())) == NULL) in MAIN()
550 if ((benc=BIO_new(BIO_f_cipher())) == NULL) in MAIN()
Ddhparam.c173 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
345 in=BIO_new(BIO_s_file()); in MAIN()
412 out=BIO_new(BIO_s_file()); in MAIN()
423 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
Dgenrsa.c111 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
116 if ((out=BIO_new(BIO_s_file())) == NULL) in MAIN()
221 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
Drsa.c115 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
241 out=BIO_new(BIO_s_file()); in MAIN()
273 BIO *tmpbio = BIO_new(BIO_f_linebuffer()); in MAIN()
/mirbsd/src/usr.sbin/openssl/
Dasn1octetstream.c63 if ((bio_err=BIO_new(BIO_s_file())) != NULL) in MAIN()
119 in = BIO_new(BIO_s_file()); in MAIN()
192 out = BIO_new(BIO_s_file()); in MAIN()
/mirbsd/src/lib/libssl/src/crypto/asn1/
Da_i2d_fp.c72 if ((b=BIO_new(BIO_s_file())) == NULL) in ASN1_i2d_fp()
125 if ((b=BIO_new(BIO_s_file())) == NULL) in ASN1_item_i2d_fp()
/mirbsd/src/usr.bin/gzsig/
Dx509.c64 if ((bio = BIO_new(BIO_s_mem())) == NULL) in x509_load_public()
107 if ((bio = BIO_new(BIO_s_mem())) == NULL) in x509_load_private()

12345