On Tue, Apr 29, 2008 at 5:03 AM, Dr. Stephen Henson <[EMAIL PROTECTED]> wrote: > The call to EVP_EncryptInit_ex() uses the default key length for the cipher > unless told otherwise. For Blowfish this is 128 bits but you have a 56 byte > (?) key. You need to set the key length using > EVP_CIPHER_CTX_set_key_length(). > This involves a double call to EVP_EncryptInit_ex(). See the manual pages for > more information.
Thanks for your responses Steve and Julius! Yes, setting the key length appears to make it work now. I also just saw e_bf.c where IMPLEMENT_BLOCK_CIPHER is setting the default variable key to 128 bits... Regards, Vishal ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]