[#EVP_PKEY_CTX_set_dh_paramgen_gindex] = EVP_PKEY_CTX_set_dh_paramgen_gindex :mrdocs: Set the FIPS 186‐4 gindex used when generating DH parameters. == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_CTX_set_dh_paramgen_gindex( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, int gindex); ---- == Return Value 1 on success, or a non‐positive value on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | EVP_PKEY_CTX configured for DH parameter generation. | *gindex* | Canonical gindex selecting the generator construction. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#