Hi Daniel,
On Fri, Jun 28, 2013 at 4:47 PM, Daniel JeliĆski djelinski1@gmail.com wrote:
I'm not convinced that a failed call to CryptDecrypt actually resets the key state. It's also possible that CryptDecrypt returns FALSE before even trying to decrypt if data length is invalid. To check it, you would need to change the key state by (successfully) calling CryptDecrypt with Final=FALSE before your test. Could you add such test?
Thanks for the important hints! I'll try to improve the test case.
-- Regards, Qian Hong