Return pointers to the DSA domain parameters p, q, and g without transferring ownership (deprecated).

Synopsis

Declared in <openssl/dsa.h>

[[deprecated]]
void
DSA_get0_pqg(
    DSA const* d,
    BIGNUM const** p,
    BIGNUM const** q,
    BIGNUM const** g);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Description

Prefer EVP_PKEY_get_bn_param() for new code. Returned BIGNUMs must not be freed by the caller.

Return Value

pointers to the DSA domain parameters p, q, and g without transferring ownership (deprecated).

Parameters

Name

Description

d

DSA object to query.

p

Optional destination for the prime modulus, or NULL.

q

Optional destination for the subprime, or NULL.

g

Optional destination for the generator, or NULL.

Created with MrDocs