ECDSA_do_sign

Computes the ECDSA signature of the given hash value using the supplied private key and returns the created signature.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
ECDSA_SIG*
ECDSA_do_sign(
    unsigned char const* dgst,
    int dgst_len,
    EC_KEY* eckey);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

pointer to a ECDSA_SIG structure or NULL if an error occurred

Parameters

NameDescription
dgstpointer to the hash value
dgst_lenlength of the hash value
eckeyEC_KEY object containing a private EC key