Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 05 Mar 2012 23:29:08 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: AES decrypt portions to buffer (for RAR format)

On 03/05/2012 09:00 PM, magnum wrote:
> Could anyone help me with this trivial OpenSSL question. I can't find
> the docs (wtf?) nor any google example. Maybe I'm just too exhausted. I
> want to decrypt 32KB or so at a time from a larger buffer of encrypted data.
...
> Are not &key and/or aes_iv supposed to keep state? Or should I call
> set_key each time, or what?

Never mind, it was no less silly than a *pointer that needed to be
**pointer. Chunked reading works fine as I wrote in the OP.

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ