[#EVP_PKEY_CTX_set_dh_paramgen_subprime_len] = EVP_PKEY_CTX_set_dh_paramgen_subprime_len :mrdocs: Set the DH parameter‐generation subprime (q) length in bits. == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_CTX_set_dh_paramgen_subprime_len( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, int qlen); ---- == Return Value 1 on success, or a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | EVP_PKEY_CTX configured for DH parameter generation. | *qlen* | Desired bit length of the subprime q. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#