[Q] Where is this DES_check_key flag can be set?

View: New views
1 Messages — Rating Filter:   Alert me  

[Q] Where is this DES_check_key flag can be set?

by JongAm Park-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello.

I tried using OpenSSL library for encrypting a string in DES using  
OpenSSL.
However, I found out that it was very difficult to understand what to  
do by reading MAN page for the DES portion of the OpenSSL.

One thing I can't figure out is :

        DES_set_key() works like DES_set_key_checked() if the DES_check_key  
flag is non-zero, otherwise like DES_set_key_unchecked().

How is the DES_check_key flag set? There seems to be no function or  
data structure where the DES_check_key flag is supposed to be specified.

Thank you.
JongAm Park
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@...
Automated List Manager                           majordomo@...