> I wonder why my buffer of iv is overwritten. What can I use it for?
To continue encrypting or decrypting.
> If the overwritten iv is useless, why doesn't the library make a
> clone of it
> for its own purposes?
It's not useless, it's the next IV to use.
> I am not sure about overwriting the
message in context:
http://www.nabble.com/bad-decrypt-in-EVP_CipherFinal_ex-tf4718597.html#a13583302
Sent from the OpenSSL - User mailing list archive at Nabble.com.
__
OpenSSL Project http://www.openss
Hallo,
On 11/1/07, Jorge Fernandez <[EMAIL PROTECTED]> wrote:
>
> Make sure you use the same iv that you used when encrypting. You should make
> a copy of the iv vector, since the encrypting process overwrites the buffer
> of the iv that you pass.
>
A friend of mine solved it, it was a probl
2007/10/30, Alex Queiroz <[EMAIL PROTECTED]>:
>
> Hallo,
>
> I am using the symmetric cypher functions to encrypt and then
> decrypt a string. The cipher is "aes-256-cbc". When I try to decrypt
> the string, I get this error:
>
> error 06065064: digital envelope routines: EVP_DecryptFinal_ex: b
Hallo,
I am using the symmetric cypher functions to encrypt and then
decrypt a string. The cipher is "aes-256-cbc". When I try to decrypt
the string, I get this error:
error 06065064: digital envelope routines: EVP_DecryptFinal_ex: bad decrypt
I am using the same key and same iv. The s