Generate a DSA public/private key pair from parameters already in a.
Synopsis
Declared in <openssl/dsa.h>
[[deprecated]]
int
DSA_generate_key(DSA* a);
|
Warning
|
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
Name |
Description |
a |
DSA object that already holds domain parameters; receives pub_key and priv_key. |
Created with MrDocs