Re: Decrypting from memory bio vs file bio

2014-07-07 Thread Dr. Stephen Henson
On Mon, Jul 07, 2014, Ico wrote: > > Hi all, > > I've got a small snippet of code to decode some aes-128-cbc data. > The encrypted data 16 bytes long, decoding to 7 bytes "\x02\x00hallo". > > Decoding using BIO's, works ok when the input BIO is a file BIO but fails when > the input is a memory

RE: Decrypting from memory bio vs file bio

2014-07-07 Thread Scott Neugroschl
memory bio vs file bio Hi all, I've got a small snippet of code to decode some aes-128-cbc data. The encrypted data 16 bytes long, decoding to 7 bytes "\x02\x00hallo". Decoding using BIO's, works ok when the input BIO is a file BIO but fails when the input is a memory buffe

Decrypting from memory bio vs file bio

2014-07-07 Thread Ico
Hi all, I've got a small snippet of code to decode some aes-128-cbc data. The encrypted data 16 bytes long, decoding to 7 bytes "\x02\x00hallo". Decoding using BIO's, works ok when the input BIO is a file BIO but fails when the input is a memory buffer BIO. In the latter case the BIO_read from