We are developing a des cipher using the openssl crypto library. our approach 
is structured in the following way

READ DATA

EVP_EncryptInit(...)
for(;;)
{
EVP_EncryptInit(..)
EVP_EncryptUpdate(...)
/* until end of data*/
}

EVP_EncryptFinal(...)

It seems to work good only with some sizes of data blocks.
Our question;

Encrypt Init has to be called every time we call EncyptUpdate?

Is our scheme correct?

It allways decrypts good until de 25th byte.

thanks

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

Reply via email to