buffer_read
buffer_read(struct buffer *buf, void *dataptr, size_t len)
static int buffer_read(BIO *b, char *out, int outl)