Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <906a9e1fb7398fb5e05601783c2cd54e@smtp.hushmail.com>
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

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.