Sign a digest with a DSA private key, returning a DSA_SIG structure (deprecated).
Declared in <openssl/dsa.h>
[[deprecated]]
DSA_SIG*
DSA_do_sign(
unsigned char const* dgst,
int dlen,
DSA* dsa);
Deprecated. Use of this entity is allowed but discouraged.
Newly allocated DSA_SIG, or NULL on error; free with DSA_SIG_free().
| Name | Description |
|---|---|
| dgst | Digest bytes to sign. |
| dlen | Length of dgst in bytes. |
| dsa | DSA key containing the private key used for signing. |