[#DSA_generate_parameters_ex] = DSA_generate_parameters_ex :mrdocs: Generate DSA domain parameters into an existing DSA object (deprecated). == Synopsis Declared in `<openssl/dsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DSA_generate_parameters_ex( xref:DSA.adoc[DSA]* dsa, int bits, unsigned char const* seed, int seed_len, int* counter_ret, unsigned long* h_ret, xref:BN_GENCB.adoc[BN_GENCB]* cb); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#