On Thursday 30 October 2003 08:02, Alicia da Conceicao wrote:
> 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).

take a look at EVP_BytesToKey (crypto/evp/evp_key.c).

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

Reply via email to