I 've studied the engine API and the zencod code and I began coding using zencod as an example.
I 'm not sure if this is the way that things work, but if I 'm right, each time the engine needs for example
to encrypt or decrypt a data buffer, it has to open and close the device (eg /dev/encdev). This is done
by the zencod library, each time, eg for the case of cbc, the function ptr_zencod_xdes_cipher is called. Is this right or wrong?
If it is correct, this will cause a performance loss. If so, how should the device be opened and closed
for the best performance?
If I am wrong, I was unable to find out where the engine opens or closes the device. Could you please
tell me how and where this is done (in the case of zencod)?
______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
