mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Fix mishandling of IV in AES-NI CBC decryption.
A user reported that the new hardware AES implementation wasn't working, and sent an event log suggesting that it was being run in CBC mode - which is unusual enough these days that that may well have been its first test. I wasn't looking forward to debugging the actual AES intrinsics code, but fortunately, I didn't have to, because an eyeball review spotted a nice simple error in the CBC decrypt function in which the wrong local variable was being stored into the IV variable on exit from the function. Testing against a local CBC-only server reproduced the reported failure and suggested that this fixed it.
This commit is contained in:
parent
c67389e1fb
commit
d6338c22c3
Loading…
Reference in New Issue
Block a user