http://bugs.winehq.org/show_bug.cgi?id=36765
Bug ID: 36765 Summary: AES 128 works different on "Win7" and on "Wine win7" Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: UNCONFIRMED Severity: normal Priority: P2 Component: crypt32 Assignee: wine-bugs@winehq.org Reporter: sergpeganov@gmail.com
Created attachment 48823 --> http://bugs.winehq.org/attachment.cgi?id=48823 src and compiled exe for test
Hello,
I have a windows application that uses CryptoAPI. I've found that encrypted text differs when application runs on real Win7 machine and on Wine. When I encrypt/decrypt the same data on Windows everything works fine. When I encrypt/decrypt the same data on Wine everything works fine too. The problem happens when I encrypt on Windows and decrypt on Wine. I made a simple application to show that encrypted results differ.
Please run cryptoapi_test.exe from the attachement on Windows and on Wine and you will get different results. Src also attached. I also attached the same crypt test on JavaScript and Python for reference (they give the same result as on Windows).
I found the similar bug #28673 but it has a very messy description.