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 Steph
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
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 perfor
On Mon, Sep 26, 2011, Clment Marcel wrote:
> Hello,
>
> I have some problems to sign message with OpenSSL. The following code has
> been provided as an example (of a global project prototype):
>
> input arguments are:
> * Bin: const unsigned char * to be signed
> * BinLen: length of the previous
Hello,
I have some problems to sign message with OpenSSL. The following code has
been provided as an example (of a global project prototype):
input arguments are:
* Bin: const unsigned char * to be signed
* BinLen: length of the previous parameter
--- BEGIN OF CODE ---
// Initialization of engi