I had some trouble doing an openPGP style resync, so I just made the m_register public and did the resync manually. Is there a correct way to do this in the Crypto++ library?
I need to decrypt one block, store the current IV, decrypt two more bytes, then Resynchronize() with the stored IV. The problem is that I can't find any way to access m_register or get its contents, because it is protected with no access functions. The best solution I came up with using the library as-is was to do the initial check in a temp buffer, and then start over from scratch without the two check bytes. The problem with this solution is that I decrypt the initial block twice (which I guess isn't that big a deal, since it is only one block). --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
