Verify a signature against the digest accumulated in ctx using pkey.
Declared in <openssl/evp.h>
int
EVP_VerifyFinal_ex(
EVP_MD_CTX* ctx,
unsigned char const* sigbuf,
unsigned int siglen,
EVP_PKEY* pkey,
OSSL_LIB_CTX* libctx,
char const* propq);
1 if the signature is valid, 0 if invalid, or a negative value on error.
| Name | Description |
|---|---|
| ctx | Digest/verify context that has absorbed message data. |
| sigbuf | Signature bytes to verify. |
| siglen | Length of sigbuf in bytes. |
| pkey | Public key used for verification. |
| libctx | Library context used when creating a context for pkey, or NULL for the default. |
| propq | Property query string for provider selection, or NULL. |