EVP_PKEY_CTX_set_dsa_paramgen_gindex

Set the DSA parameter-generation gindex (FIPS 186 verifiable g seed index).

Synopsis

Declared in <openssl/dsa.h>

int
EVP_PKEY_CTX_set_dsa_paramgen_gindex(
    EVP_PKEY_CTX* ctx,
    int gindex);

Return Value

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

Parameters

NameDescription
ctxEVP_PKEY_CTX configured for DSA parameter generation.
gindexNon-negative gindex value passed to the DSA provider.