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
Try using BIO_new_mem_buf() instead.
https://www.openssl.org/docs/crypto/BIO_s_mem.html
-Original Message-
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org]
On Behalf Of Ico
Sent: Monday, July 07, 2014 2:17 PM
To: openssl-users
Subject: Decrypting from memo