Generate DSA domain parameters into an existing DSA object (deprecated).
Synopsis
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);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
1 on success, or 0 on failure.
Parameters
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 |
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. |
Created with MrDocs