Computes the ECDSA signature of the given hash value using the supplied private key and returns the created signature.
Declared in <openssl/ec.h>
[[deprecated]]
ECDSA_SIG*
ECDSA_do_sign(
unsigned char const* dgst,
int dgst_len,
EC_KEY* eckey);
Deprecated. Use of this entity is allowed but discouraged.
pointer to a ECDSA_SIG structure or NULL if an error occurred
| Name | Description |
|---|---|
| dgst | pointer to the hash value |
| dgst_len | length of the hash value |
| eckey | EC_KEY object containing a private EC key |