Re: message signature

2011-09-27 Thread Clément Marcel
Thanks for your answer. I passed hello message into function to compare results, but in real use it will be the SHA1 disgest of the message. So I haven't access to the message content, just its SHA1 disgest. How can I sign the digest using openSSL function (like EVP_SignUpdate ...) to not perform

Re: message signature

2011-09-27 Thread Clément Marcel
I finally solve the problem using EVP_PKEY_get1_RSA() RSA_sign() to convert EVP_PKEY into RSA key and sign digest. Both codes provide same results. And I had some checks for errors. Thk! Clément MARCEL clement.mar...@icanopee.fr

Re: message signature

2011-09-27 Thread Dr. Stephen Henson
On Tue, Sep 27, 2011, Clment Marcel wrote: I finally solve the problem using EVP_PKEY_get1_RSA() RSA_sign() to convert EVP_PKEY into RSA key and sign digest. Both codes provide same results. And I had some checks for errors. Yes that is the correct procedure for 0.9.8. Steve. -- Dr Stephen

RE: Open SSL API's Support For IPv6.

2011-09-27 Thread Akanksha Shukla
Hi Nilotpal, I tried following things: 1) Made socket() system call with AF_INET6 family type. 2) Made connect() system call to get connected to destination address using the socket created above. 3) Then made call to Bio_new_socket() and passed the connected socket