Verify sigret over tbs in one call using a prepared DigestVerify context.
Synopsis
Declared in <openssl/evp.h>
int
EVP_DigestVerify(
EVP_MD_CTX* ctx,
unsigned char const* sigret,
size_t siglen,
unsigned char const* tbs,
size_t tbslen);
Return Value
1 if the signature is valid, 0 if it is invalid, or a negative value on error.
Parameters
Name |
Description |
ctx |
Context initialized with EVP_DigestVerifyInit(). |
sigret |
Signature bytes to verify. |
siglen |
Length of |
tbs |
Message bytes that were signed ("to be signed"). |
tbslen |
Length of |
Created with MrDocs