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. See
http://www.mail-archive.com/[email protected]/msg05066.html
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