Allocate a DH object preloaded with named safe-prime parameters.
Deprecated. Use of this entity is allowed but discouraged.
Deprecated since OpenSSL 3.0; prefer EVP_PKEY_fromdata() with a named group.
New DH with the named parameters set, or NULL if nid is unsupported or on allocation failure.
| Name | Description |
|---|---|
| nid | Named group NID such as NID_ffdhe2048 or NID_modp_2048. |