[#ECDSA_verify] = ECDSA_verify :mrdocs: Verifies that the given signature is valid ECDSA signature of the supplied hash value using the specified public key. == Synopsis Declared in `<openssl/ec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int ECDSA_verify( int type, unsigned char const* dgst, int dgstlen, unsigned char const* sig, int siglen, xref:EC_KEY.adoc[EC_KEY]* eckey); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 if the signature is valid, 0 if the signature is invalid and ‐1 on error == Parameters [cols="1,4"] |=== | Name| Description | *type* | this parameter is ignored | *dgst* | pointer to the hash value | *dgstlen* | length of the hash value | *sig* | pointer to the DER encoded signature | *siglen* | length of the DER encoded signature | *eckey* | EC_KEY object containing a public EC key |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#