Joe Novak wrote:

> Hi,

> I'm using the EVP_ set of function calls to interface to
> 2-key 3DES.  I see how to set the first key in EVP_EncryptInit
> but I do not see how to set the second key.  Is it possible
> with the EVP_ calls or do I need to use the lower-level DES_
> functions?  Thanks.

> Joe

That 3DES internally splits the key is an implementation detail that users
of the EVP_* interface need not concern themselves with. If you have the two
individual DES keys, you should combine them into a single 3DES key and pass
that to the EVP_EncryptInit function.

DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to