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