Hi,

In my application I have a file open, after 15 minutes a pie ce of 
(encrypted) data is written to it. The file is opened and closed before and 
after each write operation. I encrypt the data using 
EVP_SealInit,EVP_SealUpdate and EVP_SealFinal.

The problem that arises is that on a system crash or software failure I lose 
data. This is because the EVP_Update seems to run one cipherblock behind.

When the system crashes The EVP is not closed so I miss one cipherblock in 
the file.

I would really like to overcome this problem. I thought of doing 
EVP_Sealinit() and EVP_SealFinal during each write operation, but then the 
decryption using EVP_Open### doesnt work good anymore.

Any suggestions are very appreciated,

Thanks, Thijs.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

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

Reply via email to