Computes ECDSA signature of a given hash value using the supplied
private key (note: sig must point to ECDSA_size(eckey) bytes of memory).
\param type this parameter is ignored
\param dgst pointer to the hash value to sign
\param dgstlen length of the hash value
\param sig memory for the DER encoded created signature
\param siglen pointer to the length of the returned signature
\param eckey EC_KEY object containing a private EC key
\return 1 on success and 0 otherwise
Computes ECDSA signature of a given hash value using the supplied private key (note: sig must point to ECDSA_size(eckey) bytes of memory). \param type this parameter is ignored \param dgst pointer to the hash value to sign \param dgstlen length of the hash value \param sig memory for the DER encoded created signature \param siglen pointer to the length of the returned signature \param eckey EC_KEY object containing a private EC key \return 1 on success and 0 otherwise