> char mykey[EVP_MAX_KEY_LENGTH] = "blowfish_key";
> char iv[EVP_MAX_IV_LENGTH] = "blowfish";
These look problematic. Is it the case that EVP_MAX_KEY_LENGTH ==
sizeof('blowfish_key')? Is it the case that EVP_MAX_IV_LENGTH ==
sizeof('blowfish')?
> EVP_EncryptInit(&ctx, EVP_bf_cfb(), (u
Hi,
I'm working on implementation of OpenSSL and Blowfish. Can you help me to
improve the code, Is there a problem in the code?
C code:
//cl test_AES.c /IC:\openssl\include /linkC:\openssl\lib\libeay32.lib
//gcc test_AES.c -L/usr/local/ssl/lib/ -lssl -lcrypto -Wall
#include
#includ