Verifies that the supplied signature is a valid ECDSA signature of the supplied hash value using the supplied public key.
Synopsis
Declared in <openssl/ec.h>
[[deprecated]]
int
ECDSA_do_verify(
unsigned char const* dgst,
int dgst_len,
ECDSA_SIG const* sig,
EC_KEY* eckey);
|
Warning
|
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
Name |
Description |
dgst |
pointer to the hash value |
dgst_len |
length of the hash value |
sig |
ECDSA_SIG structure |
eckey |
EC_KEY object containing a public EC key |
Created with MrDocs