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

Name

Description

dgst

pointer to the hash value

dgst_len

length of the hash value

eckey

EC_KEY object containing a private EC key

Created with MrDocs