Greetings: I am working on making some embedded encryption code interop with openssl. To that end, I would appreciate if someone could please outline step-by-step how a pass-phase provided in a password callback is converted into an encryption key for a symmetric cipher. Whatever means openssl uses, it is not a simple hashing, since the commonly used digests only provide 128-160 bits per hash, and 168 bits is needed for ciphers like 3DES (Triple-DES).
Specially, if a pass-phase of "hello-world" is provided, how does openssl convert that into a 168 bit 3DES (Triple-DES) encryption key used by the "EVP_des_ede3_cbc()" cipher. This way, I can have my software generated the same cipher key that openssl does when the same pass-phase is provided. Thank you in advance. Alicia. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]