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

Name

Description

ctx

EVP_PKEY_CTX configured for DSA parameter generation.

gindex

Non‐negative gindex value passed to the DSA provider.

Created with MrDocs