Set the FIPS 186-4 gindex used when generating DH parameters.
Declared in <openssl/dh.h>
int
EVP_PKEY_CTX_set_dh_paramgen_gindex(
EVP_PKEY_CTX* ctx,
int gindex);
1 on success, or a non-positive value on error.
| Name | Description |
|---|---|
| ctx | EVP_PKEY_CTX configured for DH parameter generation. |
| gindex | Canonical gindex selecting the generator construction. |