Searched refs:BIO (Results 1 - 25 of 240) sorted by relevance

12345678910

/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Dbss_null.c64 static int null_write(BIO *h, const char *buf, int num);
65 static int null_read(BIO *h, char *buf, int size);
66 static int null_puts(BIO *h, const char *str);
67 static int null_gets(BIO *h, char *str, int size);
68 static long null_ctrl(BIO *h, int cmd, long arg1, void *arg2);
69 static int null_new(BIO *h);
70 static int null_free(BIO *data);
89 static int null_new(BIO *bi)
97 static int null_free(BIO *a)
104 static int null_read(BIO *
[all...]
H A Dbf_null.c68 static int nullf_write(BIO *h, const char *buf, int num);
69 static int nullf_read(BIO *h, char *buf, int size);
70 static int nullf_puts(BIO *h, const char *str);
71 static int nullf_gets(BIO *h, char *str, int size);
72 static long nullf_ctrl(BIO *h, int cmd, long arg1, void *arg2);
73 static int nullf_new(BIO *h);
74 static int nullf_free(BIO *data);
75 static long nullf_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
94 static int nullf_new(BIO *bi)
102 static int nullf_free(BIO *
[all...]
H A Dbss_fd.c68 BIO *BIO_new_fd(int fd, int close_flag)
96 * another. Neither libcrypto or libssl use this BIO meaning that
102 static int fd_write(BIO *h, const char *buf, int num);
103 static int fd_read(BIO *h, char *buf, int size);
104 static int fd_puts(BIO *h, const char *str);
105 static int fd_gets(BIO *h, char *buf, int size);
106 static long fd_ctrl(BIO *h, int cmd, long arg1, void *arg2);
107 static int fd_new(BIO *h);
108 static int fd_free(BIO *data);
128 BIO *BIO_new_f
[all...]
H A Dbf_nbio.c69 static int nbiof_write(BIO *h, const char *buf, int num);
70 static int nbiof_read(BIO *h, char *buf, int size);
71 static int nbiof_puts(BIO *h, const char *str);
72 static int nbiof_gets(BIO *h, char *str, int size);
73 static long nbiof_ctrl(BIO *h, int cmd, long arg1, void *arg2);
74 static int nbiof_new(BIO *h);
75 static int nbiof_free(BIO *data);
76 static long nbiof_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
101 static int nbiof_new(BIO *bi)
115 static int nbiof_free(BIO *
[all...]
H A Dbio_lib.c66 BIO *BIO_new(BIO_METHOD *method)
68 BIO *ret = NULL;
70 ret = (BIO *)OPENSSL_malloc(sizeof(BIO));
82 int BIO_set(BIO *bio, BIO_METHOD *method)
107 int BIO_free(BIO *a)
116 REF_PRINT("BIO", a);
138 void BIO_vfree(BIO *a)
143 void BIO_clear_flags(BIO *b, int flags)
148 int BIO_test_flags(const BIO *
[all...]
H A Dbio.h98 # define BIO_TYPE_PROXY_CLIENT (14|0x0200)/* client proxy BIO */
99 # define BIO_TYPE_PROXY_SERVER (15|0x0200)/* server proxy BIO */
100 # define BIO_TYPE_NBIO_TEST (16|0x0200)/* server proxy BIO */
103 # define BIO_TYPE_BIO (19|0x0400)/* (half a) BIO pair */
137 # define BIO_CTRL_DUP 12/* man - extra stuff for 'duped' BIO */
139 /* callback is int cb(BIO *bio,state,ret); */
145 /* dgram BIO stuff */
146 # define BIO_CTRL_DGRAM_CONNECT 31/* BIO dgram special */
222 /* Mostly used in the SSL BIO */
238 typedef struct bio_st BIO; typedef in typeref:struct:bio_st
[all...]
H A Dbss_log.c60 * one-way BIO, it sends all stuff to syslogd (on system that commonly use
125 static int MS_CALLBACK slg_write(BIO *h, const char *buf, int num);
126 static int MS_CALLBACK slg_puts(BIO *h, const char *str);
127 static long MS_CALLBACK slg_ctrl(BIO *h, int cmd, long arg1, void *arg2);
128 static int MS_CALLBACK slg_new(BIO *h);
129 static int MS_CALLBACK slg_free(BIO *data);
130 static void xopenlog(BIO *bp, char *name, int level);
131 static void xsyslog(BIO *bp, int priority, const char *string);
132 static void xcloselog(BIO *bp);
151 static int MS_CALLBACK slg_new(BIO *b
[all...]
H A Dbss_sock.c74 static int sock_write(BIO *h, const char *buf, int num);
75 static int sock_read(BIO *h, char *buf, int size);
76 static int sock_puts(BIO *h, const char *str);
77 static long sock_ctrl(BIO *h, int cmd, long arg1, void *arg2);
78 static int sock_new(BIO *h);
79 static int sock_free(BIO *data);
100 BIO *BIO_new_socket(int fd, int close_flag)
102 BIO *ret;
111 static int sock_new(BIO *bi)
120 static int sock_free(BIO *
[all...]
H A Dbss_acpt.c91 BIO *bio_chain;
94 static int acpt_write(BIO *h, const char *buf, int num);
95 static int acpt_read(BIO *h, char *buf, int size);
96 static int acpt_puts(BIO *h, const char *str);
97 static long acpt_ctrl(BIO *h, int cmd, long arg1, void *arg2);
98 static int acpt_new(BIO *h);
99 static int acpt_free(BIO *data);
100 static int acpt_state(BIO *b, BIO_ACCEPT *c);
101 static void acpt_close_socket(BIO *data);
127 static int acpt_new(BIO *b
[all...]
H A Dbss_mem.c64 static int mem_write(BIO *h, const char *buf, int num);
65 static int mem_read(BIO *h, char *buf, int size);
66 static int mem_puts(BIO *h, const char *str);
67 static int mem_gets(BIO *h, char *str, int size);
68 static long mem_ctrl(BIO *h, int cmd, long arg1, void *arg2);
69 static int mem_new(BIO *h);
70 static int mem_free(BIO *data);
95 BIO *BIO_new_mem_buf(const void *buf, int len)
97 BIO *ret;
119 static int mem_new(BIO *b
[all...]
H A Dbss_conn.c91 * called when the connection is initially made callback(BIO,state,ret);
95 int (*info_callback) (const BIO *bio, int state, int ret);
98 static int conn_write(BIO *h, const char *buf, int num);
99 static int conn_read(BIO *h, char *buf, int size);
100 static int conn_puts(BIO *h, const char *str);
101 static long conn_ctrl(BIO *h, int cmd, long arg1, void *arg2);
102 static int conn_new(BIO *h);
103 static int conn_free(BIO *data);
104 static long conn_callback_ctrl(BIO *h, int cmd, bio_info_cb *);
106 static int conn_state(BIO *
[all...]
H A Dbss_bio.c57 * Special method for a BIO where the other endpoint is also a BIO of this
59 * wearing a different hat). Such "BIO pairs" are mainly for using the SSL
60 * library with I/O interfaces for which no specific BIO method is available.
97 static int bio_new(BIO *bio);
98 static int bio_free(BIO *bio);
99 static int bio_read(BIO *bio, char *buf, int size);
100 static int bio_write(BIO *bio, const char *buf, int num);
101 static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr);
102 static int bio_puts(BIO *bi
[all...]
/freebsd-11-stable/crypto/openssl/crypto/cms/
H A Dcms_io.c80 CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms)
85 int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms)
92 BIO *BIO_new_CMS(BIO *out, CMS_ContentInfo *cms)
100 int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags)
106 int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in,
113 int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *dat
[all...]
/freebsd-11-stable/crypto/openssl/crypto/pkcs7/
H A Dbio_pk7.c67 BIO *BIO_new_PKCS7(BIO *out, PKCS7 *p7)
H A Dpk7_mime.c65 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags)
71 int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags)
77 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags)
93 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont)
H A Dpk7_enc.c67 PKCS7_in_bio(PKCS7 *p7, BIO *in);
68 PKCS7_out_bio(PKCS7 *p7, BIO *out);
H A Dpkcs7.h268 PKCS7 *d2i_PKCS7_bio(BIO *bp, PKCS7 **p7);
269 int i2d_PKCS7_bio(BIO *bp, PKCS7 *p7);
270 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags);
271 int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags);
302 BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si);
303 int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si,
306 BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bi
[all...]
/freebsd-11-stable/crypto/openssl/apps/
H A Dapps.h130 int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn);
131 int app_RAND_write_file(const char *file, BIO *bio_e);
147 BIO *bio_err = NULL;
150 extern BIO *bio_err;
158 extern BIO *bio_err;
236 int dump_cert_text(BIO *out, X509 *x);
237 void print_name(BIO *out, const char *title, X509_NAME *nm,
244 int app_passwd(BIO *err, char *arg1, char *arg2, char **pass1, char **pass2);
245 int add_oid_section(BIO *err, CONF *conf);
246 X509 *load_cert(BIO *er
[all...]
H A Ds_apps.h164 int ssl_print_sigalgs(BIO *out, SSL *s);
165 int ssl_print_point_formats(BIO *out, SSL *s);
166 int ssl_print_curves(BIO *out, SSL *s, int noshared);
168 int ssl_print_tmp_key(BIO *out, SSL *s);
175 long MS_CALLBACK bio_dump_callback(BIO *bio, int cmd, const char *argp,
196 int *badarg, BIO *err, SSL_EXCERT **pexc);
197 int load_excert(SSL_EXCERT **pexc, BIO *err);
198 void print_ssl_summary(BIO *bio, SSL *s);
201 int *badarg, BIO *err, STACK_OF(OPENSSL_STRING) **pstr,
203 int args_ssl_call(SSL_CTX *ctx, BIO *er
[all...]
/freebsd-11-stable/crypto/openssl/crypto/evp/
H A Dbio_md.c69 static int md_write(BIO *h, char const *buf, int num);
70 static int md_read(BIO *h, char *buf, int size);
72 * static int md_puts(BIO *h, const char *str);
74 static int md_gets(BIO *h, char *str, int size);
75 static long md_ctrl(BIO *h, int cmd, long arg1, void *arg2);
76 static int md_new(BIO *h);
77 static int md_free(BIO *data);
78 static long md_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
97 static int md_new(BIO *bi)
111 static int md_free(BIO *
[all...]
/freebsd-11-stable/crypto/openssl/crypto/asn1/
H A Dbio_ndef.c63 /* Experimental NDEF ASN1 BIO support routines */
66 * The usage is quite simple, initialize an ASN1 structure, get a BIO from it
67 * then any data written through the BIO will end up translated to
69 * need to be all held in memory at once. When the BIO is flushed the output
70 * is finalized and any signatures etc written out. The BIO is a 'proper'
71 * BIO and can handle non blocking I/O correctly. The usage is simple. The
75 /* BIO support data stored in the ASN1 BIO ex_arg */
78 /* ASN1 structure this BIO refers to */
81 /* Top of the BIO chai
[all...]
H A Dbio_asn1.c61 * Experimental ASN1 BIO. When written through the data is converted to an
111 static int asn1_bio_write(BIO *h, const char *buf, int num);
112 static int asn1_bio_read(BIO *h, char *buf, int size);
113 static int asn1_bio_puts(BIO *h, const char *str);
114 static int asn1_bio_gets(BIO *h, char *str, int size);
115 static long asn1_bio_ctrl(BIO *h, int cmd, long arg1, void *arg2);
116 static int asn1_bio_new(BIO *h);
117 static int asn1_bio_free(BIO *data);
118 static long asn1_bio_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
121 static int asn1_bio_flush_ex(BIO *
[all...]
/freebsd-11-stable/crypto/openssl/crypto/dsa/
H A Ddsa_prn.c68 BIO *b;
83 BIO *b;
97 int DSA_print(BIO *bp, const DSA *x, int off)
109 int DSAparams_print(BIO *bp, const DSA *x)
/freebsd-11-stable/crypto/openssl/crypto/ts/
H A Dts_lib.c71 int TS_ASN1_INTEGER_print_bio(BIO *bio, const ASN1_INTEGER *num)
89 int TS_OBJ_print_bio(BIO *bio, const ASN1_OBJECT *obj)
99 int TS_ext_print_bio(BIO *bio, const STACK_OF(X509_EXTENSION) *extensions)
123 int TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg)
130 int TS_MSG_IMPRINT_print_bio(BIO *bio, TS_MSG_IMPRINT *a)
/freebsd-11-stable/crypto/openssl/ssl/
H A Dbio_ssl.c68 static int ssl_write(BIO *h, const char *buf, int num);
69 static int ssl_read(BIO *h, char *buf, int size);
70 static int ssl_puts(BIO *h, const char *str);
71 static long ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2);
72 static int ssl_new(BIO *h);
73 static int ssl_free(BIO *data);
74 static long ssl_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
102 static int ssl_new(BIO *bi)
118 static int ssl_free(BIO *a)
138 static int ssl_read(BIO *
[all...]

Completed in 125 milliseconds

12345678910