Select the digest for DSA parameter generation by name and property query.

Synopsis

Declared in <openssl/dsa.h>

int
EVP_PKEY_CTX_set_dsa_paramgen_md_props(
    EVP_PKEY_CTX* ctx,
    char const* md_name,
    char const* md_properties);

Return Value

1 on success, or a non‐positive value on error.

Parameters

Name

Description

ctx

EVP_PKEY_CTX configured for DSA parameter generation.

md_name

Digest algorithm name such as "SHA256".

md_properties

Optional property query string for fetching the digest, or NULL.

Created with MrDocs