Re: [Q] Tutorial or Explanation how to use OpenSSL library functions?

2009-11-19 Thread JongAm Park
Oh.. I've been away from this for a while. So, I didn't check email from OpenSSL. By the way, i would like to appreciate your kindness of providing some sample code. :) JongAm Park Reid Thompson wrote: JongAm Park wrote: Hello. Thank you for mentioning the book. However, I co

Re: [Q] Tutorial or Explanation how to use OpenSSL library functions?

2009-11-12 Thread JongAm Park
, JongAm Park Richard Koenning wrote: JongAm Park wrote: Hello, I am just a beginner at using OpenSSL library. I write in C/C++ and Objective-C. After looking up the OpenSSL web site, I found out that there was no document for studying how to use it. Is there any good source like sample codes

Re: [Q] How to encrypt using DES?

2009-11-12 Thread JongAm Park
. (It's written in Korean, though. ) Thank you again for guiding me. :) JongAm Park Dr. Stephen Henson wrote: On Sun, Nov 08, 2009, JongAm Park wrote: Hello. May I ask how to encrypt a key in DES? According to its MAN page, it says to generate a DES_key_schedule first, and do the a

Re: [Q] Tutorial or Explanation how to use OpenSSL library functions?

2009-11-10 Thread JongAm Park
Thank you very much. I will take a look at it. Richard Koenning wrote: JongAm Park wrote: Hello, I am just a beginner at using OpenSSL library. I write in C/C++ and Objective-C. After looking up the OpenSSL web site, I found out that there was no document for studying how to use it. Is

Re: [Q] How to encrypt using DES?

2009-11-08 Thread JongAm Park
Thank you for your reply. Is there any tutorial or code samples? Thank you. JongAm Park On Nov 8, 2009, at 3:42 PM, Dr. Stephen Henson wrote: EVP_EncryptInit_ex

[Q] How to encrypt using DES?

2009-11-08 Thread JongAm Park
hedule keySchedule; int result; result = DES_set_key_checked( &inputBlock, &keySchedule ); DES_ecb_encrypt( &inputBlock, &outputBlock, &keySchedule, DES_ENCRYPT ); The result is -1 when the DES_set_key_checked() is called. Should I use DES_set_key_unchecked()? I would app

[Q] Tutorial or Explanation how to use OpenSSL library functions?

2009-11-08 Thread JongAm Park
Hello, I am just a beginner at using OpenSSL library. I write in C/C++ and Objective-C. After looking up the OpenSSL web site, I found out that there was no document for studying how to use it. Is there any good source like sample codes, tutorial and so on? Thank you in advance. JongAm Park

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

2009-11-08 Thread JongAm Park
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