openssl/crypto/bio
Kirill Marinushkin 9fe9d0461e Optimized BIO mem read - without reallocation
Currently on every BIO mem read operation the remaining data is reallocated.
This commit solves the issue.
BIO mem structure includes additional pointer to the read position.
On every read the pointer moves instead of reallocating the memory for the remaining data.
Reallocation accures before write and some ioctl operations, if the read pointer doesn't point on the beginning of the buffer.
Also the flag is added to rewind the read pointer without losing the data.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-02 16:57:07 -04:00
..
b_addr.c Fix pointer size issues on VMS 2016-03-30 20:25:08 +02:00
b_dump.c Refactoring BIO: Small adjustments 2016-02-03 19:37:07 +01:00
b_print.c Fix memory issues in BIO_*printf functions 2016-02-25 22:45:58 +00:00
b_sock2.c Don't clobber the last error 2016-03-11 21:32:13 +00:00
b_sock.c Remove Netware and OS/2 2016-03-17 17:06:57 -04:00
bf_buff.c Make BIO opaque 2016-03-29 17:40:54 +01:00
bf_lbuf.c Adapt bf_lbuf for opaque BIO 2016-03-30 04:35:14 +02:00
bf_nbio.c Make BIO opaque 2016-03-29 17:40:54 +01:00
bf_null.c Make BIO opaque 2016-03-29 17:40:54 +01:00
bio_cb.c Make BIO opaque 2016-03-29 17:40:54 +01:00
bio_err.c Move to REF_DEBUG, for consistency. 2016-02-11 12:40:32 -05:00
bio_lcl.h Optimized BIO mem read - without reallocation 2016-04-02 16:57:07 -04:00
bio_lib.c Make BIO opaque 2016-03-29 17:40:54 +01:00
bio_meth.c Make BIO opaque 2016-03-29 17:40:54 +01:00
bss_acpt.c RT4660: BIO_METHODs should be const. 2016-03-21 16:49:10 -04:00
bss_bio.c Make BIO opaque 2016-03-29 17:40:54 +01:00
bss_conn.c RT4660: BIO_METHODs should be const. 2016-03-21 16:49:10 -04:00
bss_dgram.c RT4660: BIO_METHODs should be const. 2016-03-21 16:49:10 -04:00
bss_fd.c RT4660: BIO_METHODs should be const. 2016-03-21 16:49:10 -04:00
bss_file.c RT4660: BIO_METHODs should be const. 2016-03-21 16:49:10 -04:00
bss_log.c Make BIO opaque 2016-03-29 17:40:54 +01:00
bss_mem.c Optimized BIO mem read - without reallocation 2016-04-02 16:57:07 -04:00
bss_null.c Make BIO opaque 2016-03-29 17:40:54 +01:00
bss_sock.c Make BIO opaque 2016-03-29 17:40:54 +01:00
build.info Adapt bf_lbuf for opaque BIO 2016-03-30 04:35:14 +02:00
Makefile.in Add functions for creating BIO_METHODs 2016-03-29 17:40:54 +01:00