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