Re: bad decrypt in EVP_CipherFinal_ex

2007-11-05 Thread MaxAndr
Jorge Fernandez-3 wrote: Make sure you use the same iv that you used when encrypting. You should make a copy of the iv vector, since the encrypting process overwrites the buffer of the iv that you pass. Hi! I wonder why my buffer of iv is overwritten. What can I use it for? If the

Re: DES3: Windows CryptoAPI and OpenSSL

2007-10-26 Thread MaxAndr
algorithm of OpenSSL produce the same cipher by different keys? :confused: Dr. Stephen Henson wrote: On Thu, Oct 25, 2007, MaxAndr wrote: Kiefer, Sascha wrote: if you use the unsimplefied version of the cryptoapi you have to reverse the bytes auf your results before using them

DES3: Windows CryptoAPI and OpenSSL

2007-10-25 Thread MaxAndr
Hi! I am trying to convert my code of 3DES encoding from Windows CryptoAPI to OpenSSL. Could you verify the code attached and may be point me to appropriate OpenSSL functions? / //

Re: DES3: Windows CryptoAPI and OpenSSL

2007-10-25 Thread MaxAndr
The text is completely unreadable in some email readers. Please, read the message on the web http://www.nabble.com/DES3%3A-Windows-CryptoAPI-and-OpenSSL-tf4689809.html http://www.nabble.com/DES3%3A-Windows-CryptoAPI-and-OpenSSL-tf4689809.html or find the file attached

RE: DES3: Windows CryptoAPI and OpenSSL

2007-10-25 Thread MaxAndr
Kiefer, Sascha wrote: if you use the unsimplefied version of the cryptoapi you have to reverse the bytes auf your results before using them. I'm not sure that the translation is correct at all. Since the derived keys and the encrypted data are completely different. If EVP_BytesToKey()

Re: OpenSSL 0.9.8f Win32 Compile Error

2007-10-24 Thread MaxAndr
Alex Pokotilo wrote: I used following instruction to build the release(I used MSVC 2005 but I think it will work with 2003 too). 1) Create build.bat with following content: @echo off rem the following path point to your MSVC 2005 or 2003 call E:\Program Files\Microsoft Visual Studio