libcrypto blowfish help - ecb mode and custom base64

2006-10-01 Thread Richard Dingwall
Hi, I'm trying to decrypt messages that are encrypted with Eggdrop's blowfish encrypt() method. This method is also used by a irssi/mirc/xchat encryption module called FiSH. I have already written some code to do it using libcrypto's EVP, but it produces gibberish output. You can see it here: h

Re: How to find out why EVP_DecryptFinal failed?

2006-10-01 Thread Boris
Erik Leunissen wrote: > Boris wrote: > >> Are there any functions I can call to understand what went wrong if >> EVP_DecryptFinal failed and returned 0? >> > > From: > > http://www.openssl.org/docs/crypto/err.html# > > "When a call to the OpenSSL library fails, this is usually signalled > by th

Re: How to find out why EVP_DecryptFinal failed?

2006-10-01 Thread Erik Leunissen
Boris wrote: Are there any functions I can call to understand what went wrong if EVP_DecryptFinal failed and returned 0? From: http://www.openssl.org/docs/crypto/err.html# "When a call to the OpenSSL library fails, this is usually signalled by the return value, and an error code is st

How to find out why EVP_DecryptFinal failed?

2006-10-01 Thread Boris
Are there any functions I can call to understand what went wrong if EVP_DecryptFinal failed and returned 0? Boris __ OpenSSL Project http://www.openssl.org User Support Mailing List