Verify a DSA signature against a digest using a DSA_SIG structure (deprecated).
Declared in <openssl/dsa.h>
[[deprecated]]
int
DSA_do_verify(
unsigned char const* dgst,
int dgst_len,
DSA_SIG* sig,
DSA* dsa);
Deprecated. Use of this entity is allowed but discouraged.
1 if the signature is valid, 0 if invalid, or -1 on error.
| Name | Description |
|---|---|
| dgst | Digest bytes that were signed. |
| dgst_len | Length of dgst in bytes. |
| sig | Signature containing r and s. |
| dsa | DSA public key (and parameters) used for verification. |