Re: Program crashes in EVP_CipherUpdate while doing T-DES Decryption

2008-08-05 Thread Ger Hobbelt
Shoot. Forgot to mention: I checked this on latest 0.9.9 CVS, so slight differences may appear) -- Met vriendelijke groeten / Best regards, Ger Hobbelt -- web: http://www.hobbelt.com/ http://www.hebbut.net/ mail: [EMAIL PROTECTED] mobile:

Re: Program crashes in EVP_CipherUpdate while doing T-DES Decryption

2008-08-05 Thread Ger Hobbelt
Given the coredump stack trace you provide, it looks like ctx-cipher-do_cipher == NULL, while it should be a valid pointer to a cypher-specific en/decrypt function (see evp_cipher_st typedef in evp.h). Please check with assert() or debugger if this member != NULL before entering the decrypt

RE: Program crashes in EVP_CipherUpdate while doing T-DES Decryption

2008-08-05 Thread Ambarish Mitra
Given the coredump stack trace you provide, it looks like ctx-cipher-do_cipher == NULL, while it should be a valid pointer to a cypher-specific en/decrypt function (see evp_cipher_st typedef in evp.h). Please check with assert() or debugger if this member != NULL before entering the decrypt

Program crashes in EVP_CipherUpdate while doing T-DES Decryption

2008-08-04 Thread Ambarish Mitra
Hi all, Platform: Redhat Linux Advanced Server 4.0 Compiler: g++ 3.3.2 (C++ compiler used) Linkage: openssl libraries statically linked with the application program. Version: OpenSSL 0.9.7a Feb 19 2003 (I tried with a recent version of openssl, but same result). I am trying out the EVP API