/openssl-master/crypto/bio/ |
A D | bio_lib.c | 125 int BIO_free(BIO *a) in BIO_free() 632 BIO *BIO_push(BIO *b, BIO *bio) in BIO_push() 634 BIO *lb; in BIO_push() 650 BIO *BIO_pop(BIO *b) in BIO_pop() 652 BIO *ret; in BIO_pop() 670 BIO *BIO_get_retry_BIO(BIO *bio, int *reason) in BIO_get_retry_BIO() 698 BIO *BIO_find_type(BIO *bio, int type) in BIO_find_type() 723 BIO *BIO_next(BIO *b) in BIO_next() 730 void BIO_set_next(BIO *b, BIO *next) in BIO_set_next() 737 BIO *b; in BIO_free_all() [all …]
|
A D | bio_meth.c | 90 int (*bwrite) (BIO *, const char *, int)) in BIO_meth_set_write() 105 int (*BIO_meth_get_read(const BIO_METHOD *biom)) (BIO *, char *, int) in BIO_meth_get_read() 136 int (*bread) (BIO *, char *, int)) in BIO_meth_set_read() 157 int (*bputs) (BIO *, const char *)) in BIO_meth_set_puts() 169 int (*bgets) (BIO *, char *, int)) in BIO_meth_set_gets() 181 long (*ctrl) (BIO *, int, long, void *)) in BIO_meth_set_ctrl() 187 int (*BIO_meth_get_create(const BIO_METHOD *biom)) (BIO *) in BIO_meth_get_create() 192 int BIO_meth_set_create(BIO_METHOD *biom, int (*create) (BIO *)) in BIO_meth_set_create() argument 198 int (*BIO_meth_get_destroy(const BIO_METHOD *biom)) (BIO *) in BIO_meth_get_destroy() 203 int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy) (BIO *)) in BIO_meth_set_destroy() argument [all …]
|
A D | bf_nbio.c | 20 static int nbiof_write(BIO *h, const char *buf, int num); 21 static int nbiof_read(BIO *h, char *buf, int size); 22 static int nbiof_puts(BIO *h, const char *str); 23 static int nbiof_gets(BIO *h, char *str, int size); 25 static int nbiof_new(BIO *h); 26 static int nbiof_free(BIO *data); 54 static int nbiof_new(BIO *bi) in nbiof_new() 69 static int nbiof_free(BIO *a) in nbiof_free() 80 static int nbiof_read(BIO *b, char *out, int outl) in nbiof_read() 179 static int nbiof_gets(BIO *bp, char *buf, int size) in nbiof_gets() [all …]
|
A D | bss_fd.c | 19 BIO *BIO_new_fd(int fd, int close_flag) in BIO_new_fd() 52 static int fd_read(BIO *h, char *buf, int size); 53 static int fd_puts(BIO *h, const char *str); 54 static int fd_gets(BIO *h, char *buf, int size); 56 static int fd_new(BIO *h); 57 static int fd_free(BIO *data); 80 BIO *BIO_new_fd(int fd, int close_flag) in BIO_new_fd() 82 BIO *ret; in BIO_new_fd() 90 static int fd_new(BIO *bi) in fd_new() 99 static int fd_free(BIO *a) in fd_free() [all …]
|
A D | bss_null.c | 15 static int null_write(BIO *h, const char *buf, int num); 16 static int null_read(BIO *h, char *buf, int size); 17 static int null_puts(BIO *h, const char *str); 18 static int null_gets(BIO *h, char *str, int size); 19 static long null_ctrl(BIO *h, int cmd, long arg1, void *arg2); 40 static int null_read(BIO *b, char *out, int outl) in null_read() 45 static int null_write(BIO *b, const char *in, int inl) in null_write() 50 static long null_ctrl(BIO *b, int cmd, long num, void *ptr) in null_ctrl() 75 static int null_gets(BIO *bp, char *buf, int size) in null_gets() 80 static int null_puts(BIO *bp, const char *str) in null_puts()
|
A D | bss_log.c | 79 static int slg_puts(BIO *h, const char *str); 81 static int slg_new(BIO *h); 82 static int slg_free(BIO *data); 83 static void xopenlog(BIO *bp, char *name, int level); 85 static void xcloselog(BIO *bp); 107 static int slg_new(BIO *bi) in slg_new() 116 static int slg_free(BIO *a) in slg_free() 232 static int slg_puts(BIO *bp, const char *str) in slg_puts() 291 static void xcloselog(BIO *bp) in xcloselog() 385 static void xcloselog(BIO *bp) in xcloselog() [all …]
|
A D | bf_null.c | 19 static int nullf_write(BIO *h, const char *buf, int num); 20 static int nullf_read(BIO *h, char *buf, int size); 21 static int nullf_puts(BIO *h, const char *str); 22 static int nullf_gets(BIO *h, char *str, int size); 23 static long nullf_ctrl(BIO *h, int cmd, long arg1, void *arg2); 24 static long nullf_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp); 45 static int nullf_read(BIO *b, char *out, int outl) in nullf_read() 59 static int nullf_write(BIO *b, const char *in, int inl) in nullf_write() 73 static long nullf_ctrl(BIO *b, int cmd, long num, void *ptr) in nullf_ctrl() 101 static int nullf_gets(BIO *bp, char *buf, int size) in nullf_gets() [all …]
|
A D | bf_prefix.c | 15 static int prefix_write(BIO *b, const char *out, size_t outl, 18 static int prefix_puts(BIO *b, const char *str); 19 static int prefix_gets(BIO *b, char *str, int size); 20 static long prefix_ctrl(BIO *b, int cmd, long arg1, void *arg2); 21 static int prefix_create(BIO *b); 22 static int prefix_destroy(BIO *b); 52 static int prefix_create(BIO *b) in prefix_create() 67 static int prefix_destroy(BIO *b) in prefix_destroy() 81 static int prefix_write(BIO *b, const char *out, size_t outl, in prefix_write() 199 static int prefix_gets(BIO *b, char *buf, int size) in prefix_gets() [all …]
|
A D | bss_file.c | 36 static int file_read(BIO *h, char *buf, int size); 37 static int file_puts(BIO *h, const char *str); 40 static int file_new(BIO *h); 41 static int file_free(BIO *data); 59 BIO *ret; in BIO_new_file() 91 BIO *BIO_new_fp(FILE *stream, int close_flag) in BIO_new_fp() 93 BIO *ret; in BIO_new_fp() 109 static int file_new(BIO *bi) in file_new() 118 static int file_free(BIO *a) in file_free() 396 static int file_new(BIO *bi) in file_new() [all …]
|
/openssl-master/include/openssl/ |
A D | http.h | 40 OSSL_HTTP_REQ_CTX *OSSL_HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int buf_size); 55 BIO *OSSL_HTTP_REQ_CTX_exchange(OSSL_HTTP_REQ_CTX *rctx); 56 BIO *OSSL_HTTP_REQ_CTX_get0_mem_bio(const OSSL_HTTP_REQ_CTX *rctx); 63 typedef BIO *(*OSSL_HTTP_bio_cb_t)(BIO *bio, void *arg, int connect, int detail); 66 int use_ssl, BIO *bio, BIO *rbio, 71 int timeout, BIO *bio_err, const char *prog); 74 const char *content_type, BIO *req, 79 BIO *bio, BIO *rbio, 84 BIO *OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, 88 BIO *bio, BIO *rbio, [all …]
|
A D | bio.h.in | 103 /* dgram BIO stuff */ 158 * internal BIO: 243 * condition. After this returns true, BIO *BIO_get_retry_BIO(BIO *bio, int 607 int BIO_free(BIO *a); 628 BIO *BIO_push(BIO *b, BIO *append); 629 BIO *BIO_pop(BIO *b); 631 BIO *BIO_find_type(BIO *b, int bio_type); 632 BIO *BIO_next(BIO *b); 633 void BIO_set_next(BIO *b, BIO *next); 634 BIO *BIO_get_retry_BIO(BIO *bio, int *reason); [all …]
|
/openssl-master/doc/man3/ |
A D | BIO_f_ssl.pod | 10 BIO_ssl_shutdown - SSL BIO 31 int BIO_ssl_copy_session_id(BIO *to, BIO *from); 38 BIO_f_ssl() returns the SSL BIO method. This is a filter BIO which 46 If a BIO is appended to an SSL BIO using BIO_push() it is automatically 82 SSL BIO (using B<ctx>) followed by a connect BIO. 85 of a buffering BIO, an SSL BIO (using B<ctx>), and a connect BIO. 156 BIO *sbio, *out; 201 BIO to allow lines to be read from the SSL BIO using BIO_gets. 240 * BIO chain is now 'swallowed' by the accept BIO and 246 /* Setup accept BIO */ [all …]
|
A D | BIO_ctrl.pod | 10 - BIO control operations 23 int BIO_reset(BIO *b); 24 int BIO_seek(BIO *b, int ofs); 25 int BIO_tell(BIO *b); 26 int BIO_flush(BIO *b); 27 int BIO_eof(BIO *b); 29 int BIO_get_close(BIO *b); 30 int BIO_pending(BIO *b); 31 int BIO_wpending(BIO *b); 38 int BIO_get_ktls_send(BIO *b); [all …]
|
A D | BIO_s_mem.pod | 7 BIO_get_mem_ptr, BIO_new_mem_buf - memory BIO 16 BIO_set_mem_eof_return(BIO *b, int v); 19 BIO_get_mem_ptr(BIO *b, BUF_MEM **pp); 27 A memory BIO is a source/sink BIO which uses memory for its I/O. Data 36 the BIO. 46 data can be read again. On a read only BIO it similarly restores the BIO to 95 immediately after BIO creation and set the BIO as read only. 110 BIO are intertwined. As documented above the BIO will be reset to the 137 BIO *mem = BIO_new(BIO_s_mem()); 141 Create a read only memory BIO: [all …]
|
A D | BIO_find_type.pod | 5 BIO_find_type, BIO_next, BIO_method_type - BIO chain traversal 11 BIO *BIO_find_type(BIO *b, int bio_type); 12 BIO *BIO_next(BIO *b); 13 int BIO_method_type(const BIO *b); 19 is made for a BIO of that type. If B<type> is a general type (such as 33 BIO_method_type() returns the type of a BIO. 37 BIO_find_type() returns a matching BIO or NULL for no match. 39 BIO_next() returns the next BIO in a chain. 41 BIO_method_type() returns the type of the BIO B<b>. 47 BIO *btmp; [all …]
|
A D | BIO_new.pod | 6 - BIO allocation and freeing functions 13 BIO *BIO_new(const BIO_METHOD *type); 14 int BIO_up_ref(BIO *a); 15 int BIO_free(BIO *a); 16 void BIO_vfree(BIO *a); 17 void BIO_free_all(BIO *a); 30 BIO_free() frees up a single BIO, BIO_vfree() also frees up a single BIO 39 occurs freeing up an individual BIO in the chain. 52 If BIO_free() is called on a BIO chain it will only free one BIO resulting 66 Create a memory BIO: [all …]
|
A D | BIO_push.pod | 11 BIO *BIO_push(BIO *b, BIO *append); 12 BIO *BIO_pop(BIO *b); 13 void BIO_set_next(BIO *b, BIO *next); 20 BIO_pop() removes the BIO B<b> from a chain and returns the next BIO 21 in the chain, or NULL if there is no next BIO. The removed BIO then 22 becomes a single BIO with no association with the original chain, 25 BIO_set_next() replaces the existing next BIO in a chain with the BIO pointed to 32 joins two BIO chains whereas BIO_pop() deletes a single BIO from a chain, 33 the deleted BIO does not need to be at the end of a chain. 44 BIO. [all …]
|
A D | BIO_get_data.pod | 6 BIO_get_shutdown - functions for managing BIO state information 12 void BIO_set_data(BIO *a, void *ptr); 13 void *BIO_get_data(BIO *a); 14 void BIO_set_init(BIO *a, int init); 15 int BIO_get_init(BIO *a); 16 void BIO_set_shutdown(BIO *a, int shut); 17 int BIO_get_shutdown(BIO *a); 21 These functions are mainly useful when implementing a custom BIO. 37 is also closed when the BIO is freed. 42 associated with this BIO, or NULL if none has been set. [all …]
|
A D | BIO_s_file.pod | 15 BIO *BIO_new_fp(FILE *stream, int flags); 17 BIO_set_fp(BIO *b, FILE *fp, int flags); 18 BIO_get_fp(BIO *b, FILE **fpp); 23 int BIO_rw_filename(BIO *b, char *name); 29 source/sink BIO. 50 flag is set on the returned BIO. 102 File BIO "hello world": 104 BIO *bio_out; 111 BIO *bio_out; 122 BIO *out; [all …]
|
A D | BIO_s_accept.pod | 18 char *BIO_get_accept_name(BIO *b); 21 char *BIO_get_accept_port(BIO *b); 23 BIO *BIO_new_accept(char *host_port); 28 char *BIO_get_peer_name(BIO *b); 29 char *BIO_get_peer_port(BIO *b); 30 long BIO_get_accept_ip_family(BIO *b); 34 long BIO_get_bind_mode(BIO *b); 36 int BIO_do_accept(BIO *b); 56 the BIO is freed. 123 BIO in the chain. [all …]
|
/openssl-master/doc/man7/ |
A D | bio.pod | 15 A BIO is an I/O abstraction, it hides many of the underlying I/O 20 There are two types of BIO, a source/sink BIO and a filter BIO. 23 examples include a socket BIO and a file BIO. 25 A filter BIO takes data from one BIO and passes it through to 28 encryption BIO). The effect of a filter BIO may change according 37 BIO). 44 If BIO_free() is called on a BIO chain it will only free one BIO resulting 52 a source/sink BIO typically starts with I<BIO_s_> and 53 a filter BIO with I<BIO_f_>. 57 Create a memory BIO: [all …]
|
/openssl-master/include/internal/ |
A D | bio.h | 21 int (*bwrite_old) (BIO *, const char *, int); 22 int (*bread) (BIO *, char *, size_t, size_t *); 23 int (*bread_old) (BIO *, char *, int); 24 int (*bputs) (BIO *, const char *); 25 int (*bgets) (BIO *, char *, int); 26 long (*ctrl) (BIO *, int, long, void *); 27 int (*create) (BIO *); 28 int (*destroy) (BIO *); 29 long (*callback_ctrl) (BIO *, int, BIO_info_cb *); 32 void bio_free_ex_data(BIO *bio); [all …]
|
/openssl-master/crypto/evp/ |
A D | bio_md.c | 21 static int md_read(BIO *h, char *buf, int size); 22 static int md_gets(BIO *h, char *str, int size); 24 static int md_new(BIO *h); 25 static int md_free(BIO *data); 48 static int md_new(BIO *bi) in md_new() 62 static int md_free(BIO *a) in md_free() 73 static int md_read(BIO *b, char *out, int outl) in md_read() 77 BIO *next; in md_read() 105 BIO *next; in md_write() 137 BIO *dbio, *next; in md_ctrl() [all …]
|
/openssl-master/crypto/asn1/ |
A D | bio_asn1.c | 67 static int asn1_bio_new(BIO *h); 68 static int asn1_bio_free(BIO *data); 99 static int asn1_bio_new(BIO *b) in asn1_bio_new() 130 static int asn1_bio_free(BIO *b) in asn1_bio_free() 159 BIO *next; in asn1_bio_write() 297 BIO *next = BIO_next(b); in asn1_bio_read() 310 BIO *next = BIO_next(b); in asn1_bio_gets() 318 BIO *next = BIO_next(b); in asn1_bio_callback_ctrl() 329 BIO *next; in asn1_bio_ctrl() 404 static int asn1_bio_set_ex(BIO *b, int cmd, in asn1_bio_set_ex() [all …]
|
/openssl-master/crypto/cms/ |
A D | cms_io.c | 36 CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms) in d2i_CMS_bio() 49 int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms) in i2d_CMS_bio() 56 BIO *BIO_new_CMS(BIO *out, CMS_ContentInfo *cms) in IMPLEMENT_PEM_rw() 64 int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) in i2d_CMS_bio_stream() 70 int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, in PEM_write_bio_CMS_stream() 77 int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags) in SMIME_write_CMS() 96 CMS_ContentInfo *SMIME_read_CMS_ex(BIO *bio, int flags, BIO **bcont, in SMIME_read_CMS_ex() 112 CMS_ContentInfo *SMIME_read_CMS(BIO *bio, BIO **bcont) in SMIME_read_CMS()
|