Re: Evp_Encrypt_Init Segfault

2006-01-31 Thread clarksom
I'm not much of an expert with any of this, but you may want to look at some of the return values of some of the functions to make sure everything is good, such as on EVP_EncryptFinal. Please take a look at some code I did up last summer in C++ (but it is almost all C), located at

Re: EVP_DecryptFinal_ex fails on larger files

2005-11-14 Thread clarksom
Thanks a lot, I did read the doc's before, but was still confused. I did it your proposed way now, and everything is working perfectly. Thanks again -- Matthew Clarkson On Mon, 14 Nov 2005, Dr. Stephen Henson wrote: On Sun, Nov 13, 2005, [EMAIL PROTECTED] wrote: I am trying to make a C++

EVP_DecryptFinal_ex fails on larger files

2005-11-13 Thread clarksom
I am trying to make a C++ class to make encrytion and decrytion simple using the blowfish algorithm with openssl. Anyways, I have modelled my program around http://www.linuxgazette.com/issue87/misc/vinayak/sym_funcs.c.txt which is a C program for reading and writing files, with encrytion using

EVP_Decrypt_Final_ex fails on larger files

2005-11-13 Thread clarksom
I am trying to make a C++ class to make encrytion and decrytion simple using the blowfish algorithm with openssl. Anyways, I have modelled my program around http://www.linuxgazette.com/issue87/misc/vinayak/sym_funcs.c.txt which is a C program for reading and writing files, with encrytion using