Set the DSA subprime (q) length in bits for parameter generation.
Declared in <openssl/dsa.h>
int
EVP_PKEY_CTX_set_dsa_paramgen_q_bits(
EVP_PKEY_CTX* ctx,
int qbits);
1 on success, or a non-positive value on error.
| Name | Description |
|---|---|
| ctx | EVP_PKEY_CTX configured for DSA parameter generation. |
| qbits | Desired bit length of q (default 224 if unset); ignored when a digest size selects q. |