[#DSA_generate_key] = DSA_generate_key :mrdocs: Generate a DSA public/private key pair from parameters already in `a.` == Synopsis Declared in `<openssl/dsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DSA_generate_key(xref:DSA.adoc[DSA]* a); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Description Deprecated; prefer EVP_PKEY_keygen_init() / EVP_PKEY_keygen() for DSA. The CSPRNG must be seeded; failure to seed or reseed causes this call to fail. == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *a* | DSA object that already holds domain parameters; receives pub_key and priv_key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#