Hi Jeff,

I've taken a look at the link you posted but am still not entirely
sure how best to implement this so maybe I can approach this
differently.

Is it possible to use another method, other than ProcessData to pass
in arbitrarily sized byte arrays to be encrypted and have the counter
incremented automatically?

Nick.

On Oct 2, 7:34 pm, Jeffrey Walton <[email protected]> wrote:
> On Sep 27, 5:02 am, Niknak <[email protected]> wrote:> Hi there,
>
> > I'm currently having some issues with the AES-CTR implementation, no
> > doubt I'm missing some crucial step, but it seems that the counter in
> > my IV is not being incremented with every block.
>
> > I'm calling ProcessData to perform encryption on the blocks of data as
> > I'm currently integrating it into an existing system.
>
> > I know something isn't quite right as when I attempt to decrypt using
> > WinZip/7Zip etc. it only manages to do the first block of any file,
> > everything after that fails with a password mismatch.  I assume this
> > is IV related.
>
> If you are using ProcessData directly, I believe you need to manually
> increment the IV for each block processed. 
> Seehttp://www.mail-archive.com/[email protected]/msg05066....
> for inspiration.
>
> Jeff

-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.

Reply via email to