Have you run the Crypto++ validation tests ("cryptest.exe v" from the
command line) on both platforms? If you have, and they passed, then
most likely the problem is not in Crypto++. I suggest using a debugger
or logging to check that the output of Crypto++ on one platform is
really the same as the input to Crypto++ on the second platform, and
that they are both using the same key and IV.On Jan 3, 1:36 am, "Twitch" <[EMAIL PROTECTED]> wrote:
I am running into an AES (256 specifically) cross platform issue on 5.4 (possibly on 5.2.X as well). I am not sure if this is by design or actually an bug/issue. I have a client and server application which exists on windows and linux. I use AES encryption over the socket using a known key to both components. The client/server pair are able to communicate correctly if they stay in their respective platforms, that is to say: Windows Client <----> Windows Server (works perfectly) Linux Client <----> Linux Server (works perfectly) However when you try to mix platforms the receiving end is not able to decrypt the message. That is to say these scenarios: Windows Client <----> Linux Server (fails decryption) Linux Client <----> Windows Server (fails decryption) I was previously using another AES de/encryption library which was cross platform and the cross platform communication works perfrectly. So I am sure the issue is not within the code utilizing crypto++, but within crypto++ itself. I have not tested the library by dumping a message into a binary file, copying that file to the other platform, and trying to decrypt it, but that is my next step just to put to rest others saying the issue is within my code. If anyone has any insight into the issue or if they have run into this before, I would apprecaite anyone posting about it. I would assume that since the code is crossplatform and the code base is the same, I should be able to mix communication between platforms, but you never know. Thanks in advance for your help
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cryptopp-users?hl=en -~----------~----~----~----~------~----~------~--~---
