Before trying to use it, I was misleaded by the documentation (and the example) of the EVP_PKEY_sign() call at :
http://www.openssl.org/docs/crypto/EVP_PKEY_sign.html

I believed it was [quite] the same behavior than with EVP_DigestSignFinal() before undestanding that the input has to be a digest, not the app data directly. (confirmed by reading this : http://marc.info/?l=openssl-users&m=118150769328614&w=2)

What is not yet clear to me is :
if the input is a previously calculated digest, what is the use of the EVP_PKEY_CTX_set_signature_md() call in the example ?

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

Reply via email to