Set the digest used for DSA parameter generation on an EVP_PKEY_CTX.
Synopsis
Declared in <openssl/dsa.h>
int
EVP_PKEY_CTX_set_dsa_paramgen_md(
EVP_PKEY_CTX* ctx,
EVP_MD const* md);
Return Value
1 on success, or a negative value for unsupported / failure.
Parameters
Name |
Description |
ctx |
Parameter‐generation context for a DSA key. |
md |
Message digest to use; if unset, SHA‐1/224/256 is chosen to match q. |
Created with MrDocs