AW: EVP_CipherFinal_ex fails

2011-11-29 Thread Nico Flink
An: openssl-users@openssl.org Betreff: EVP_CipherFinal_ex fails Hello, I am using EVP to encrypt and decrypt some files. This works pretty well. But now I restructured my code in order to be able to decrypt data streams so I don't have to save an unencrypted version of a file on t

EVP_CipherFinal_ex fails

2011-11-23 Thread Nico Flink
Hello, I am using EVP to encrypt and decrypt some files. This works pretty well. But now I restructured my code in order to be able to decrypt data streams so I don't have to save an unencrypted version of a file on the hd before computing it. To do that I initialize the cipher context before t

Re: EVP_CipherFinal_ex() fails

2006-08-21 Thread Marek Marcola
Hello, > I tried to encrypt and decrypt a text using different ciphers. There I > found that the decryption failes at EVP_CipherFinal_ex() call. Somebody > please point me out what I've done wrong. The code is attached. After looking at your source code my first proposition is not to use strlen()

Re: EVP_CipherFinal_ex() fails

2006-08-20 Thread Kaushalye Kapuruge
Kaushalye Kapuruge wrote: Hi, I tried to encrypt and decrypt a text using different ciphers. There I found that the decryption failes at EVP_CipherFinal_ex() call. Somebody please point me out what I've done wrong. The code is attached. Cheers, Kaushalye -

EVP_CipherFinal_ex() fails

2006-08-20 Thread Kaushalye Kapuruge
Hi, I tried to encrypt and decrypt a text using different ciphers. There I found that the decryption failes at EVP_CipherFinal_ex() call. Somebody please point me out what I've done wrong. The code is attached. Cheers, Kaushalye #include #include #include #include #define BUFSIZE 64 void