Generate DSA domain parameters into an existing DSA object (deprecated).
Declared in <openssl/dsa.h>
[[deprecated]]
int
DSA_generate_parameters_ex(
DSA* dsa,
int bits,
unsigned char const* seed,
int seed_len,
int* counter_ret,
unsigned long* h_ret,
BN_GENCB* cb);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| dsa | Destination DSA that receives p, q, and g. |
| bits | Desired length of the prime p in bits. |
| seed | Optional seed for deterministic generation, or NULL. |
| seed_len | Length of seed in bytes. |
| counter_ret | Optional output for the generation counter, or NULL. |
| h_ret | Optional output for the generator counter h, or NULL. |
| cb | Optional progress callback, or NULL. |