Generate DSA domain parameters with a legacy progress callback (deprecated).
Synopsis
Declared in <openssl/dsa.h>
[[deprecated]]
DSA*
DSA_generate_parameters(
int bits,
unsigned char* seed,
int seed_len,
int* counter_ret,
unsigned long* h_ret,
void(* callback)(int, int, void*),
void* cb_arg);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
Newly allocated DSA with generated parameters, or NULL on failure.
Parameters
Name |
Description |
bits |
Desired length of the prime p in bits. |
seed |
Optional seed bytes for reproducible generation, or NULL. |
seed_len |
Length of |
counter_ret |
Optional out‐parameter receiving the counter used, or NULL. |
h_ret |
Optional out‐parameter receiving the h value used, or NULL. |
callback |
Optional progress callback, or NULL. |
cb_arg |
Opaque pointer passed to |
Created with MrDocs