2069446 wrote:
> READ DATA
>
> EVP_EncryptInit(...)
> for(;;)
> {
> EVP_EncryptUpdate(...)
> /* until end of data*/
> }
>
> EVP_EncryptFinal(...)
If the data can be large something other would be better:
EVP_EncryptInit()
while(Read_Data_Block())
{
EVP_EncryptUpdate()
}
EVP_EncryptFinal()
> It seems to work good only with some sizes of data blocks.
> Our question;
Only for small blocksizes...
(Meaning: one loop...)
> Encrypt Init has to be called every time we call EncyptUpdate?
No It has te be called once to generate the symetric key...
By
Goetz
--
Goetz Babin-Ebell, TC TrustCenter GmbH, http://www.trustcenter.de
Sonninstr. 24-28, 20097 Hamburg, Germany
Tel.: +49-(0)40 80 80 26 -0, Fax: +49-(0)40 80 80 26 -126
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]