Re: Blowfish algorithm problem with OpenSSL 1.0.0e (32-bit)

2011-11-30 Thread Jussi Peltonen
EVP_EncryptFinal and EVP_DecryptFinal must be used only one time after the last update. 2011/11/28 Jussi Peltonen : > I think I'm loadaing the correct DLL versions. > > From the Visual Studio IDE I can see that the libaye32.dll is loaded > from the debug folder where I copied it. > > libeay32.dll

Re: Blowfish algorithm problem with OpenSSL 1.0.0e (32-bit)

2011-11-28 Thread Jussi Peltonen
I think I'm loadaing the correct DLL versions. >From the Visual Studio IDE I can see that the libaye32.dll is loaded from the debug folder where I copied it. libeay32.dllD:\work\openssl\ssl_test\debug\libeay32.dll N/A N/A Symbols loaded. D:\work\openssl\ssl_test\debug\libeay32.pd

FYI: Windows DLL semantics [Was: Blowfish algorithm problem with OpenSSL 1.0.0e (32-bit)]

2011-11-28 Thread Jakob Bohm
On 11/28/2011 3:56 PM, Michael S. Zick wrote: On Mon November 28 2011, Jussi Peltonen wrote: Mike, Did you read the original post? Why does not the blowfish sample work on Windows XP? Yup, My guess is a similar problem - not loading the *.dll version that you expected/intended to load or not l

Re: Blowfish algorithm problem with OpenSSL 1.0.0e (32-bit)

2011-11-28 Thread Michael S. Zick
On Mon November 28 2011, Jussi Peltonen wrote: > Mike, > Did you read the original post? Why does not the blowfish sample work > on Windows XP? > Yup, My guess is a similar problem - not loading the *.dll version that you expected/intended to load or not linking against the *.dll version that you

Re: Blowfish algorithm problem with OpenSSL 1.0.0e (32-bit)

2011-11-28 Thread Jussi Peltonen
Mike, Did you read the original post? Why does not the blowfish sample work on Windows XP? Jussi 2011/11/28 Michael S. Zick : > On Mon November 28 2011, Jussi Peltonen wrote: >> No, it doesn't work on Linux either, if I link my test program using >> OpenSSL 1.0.0e. >> >> The test program works on

Re: Blowfish algorithm problem with OpenSSL 1.0.0e (32-bit)

2011-11-28 Thread Michael S. Zick
On Mon November 28 2011, Jussi Peltonen wrote: > No, it doesn't work on Linux either, if I link my test program using > OpenSSL 1.0.0e. > > The test program works on Linux if I link it differently. > > $ ldd blowfish > libcrypto.so.1 => /usr/lib/libcrypto.so.1 (0x40022000) > libc.

Re: Blowfish algorithm problem with OpenSSL 1.0.0e (32-bit)

2011-11-28 Thread Jussi Peltonen
No, it doesn't work on Linux either, if I link my test program using OpenSSL 1.0.0e. The test program works on Linux if I link it differently. $ ldd blowfish libcrypto.so.1 => /usr/lib/libcrypto.so.1 (0x40022000) libc.so.6 => /lib/i686/libc.so.6 (0x400de000) libdl.so.2 =>

Blowfish algorithm problem with OpenSSL 1.0.0e (32-bit)

2011-11-23 Thread Jussi Peltonen
Hello, newbie question regarding the Blowfish algorithm: why do my encrypt/decypt functions fail on Windows XP SP3 with OpenSSL 1.0.0e? The same functions work on my Linux workstation. Windows output: Encrypt: encrypting 7680 bytes EVP_DecryptUpdate 1024 bytes EVP_DecryptFinal 8 byte