Hi all,

I'm trying to write an engine for EVP ciphers; everything is fine, but
I've problems to set the IV.

Should the IV be set using the EVP_CipherInit_ex function? If yes, why
in the application (openssl-snapshot-20080107) such a function is
called:
- with iv=NULL the first time (apps/enc.c:554)
- with cipher=NULL the second time (apps/enc.c:565) which actually
avoids the iv to be set (because the if in crypto/evp/evp-enc.c:109
fails).

Is it a kind of bug or the IV in an engine must be set other-way?

Thanks and regards.

-- 
Davide

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to