Finish a DigestVerify operation by checking sig against the digested data.
Declared in <openssl/evp.h>
int
EVP_DigestVerifyFinal(
EVP_MD_CTX* ctx,
unsigned char const* sig,
size_t siglen);
1 if the signature is valid, 0 if it is invalid, or a negative value on error.
| Name | Description |
|---|---|
| ctx | Context initialized with EVP_DigestVerifyInit() and updated with the message. |
| sig | Signature bytes to verify. |
| siglen | Length of sig in bytes. |