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 the hd

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()

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 openssl/evp.h #include openssl/rand.h #include

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