Hi,

We are implementing an Engine in openssl 0.9.8a with 3DES support. Initial tests gave good results, but testing in CBC mode failed.

The question is how to handle the (EVP_CIPHER_CTX *) ctx-> iv parameter. is it only for storage of the iv or can it be updated (from the calling EVP structure) between engine_cipher() calls. And must the engine update it in each engine_cipher() call?

Or is it enough to update ctx-iv in the engine_cleanup call, to set the resulting iv

/Lars
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to