Borrow pointers to the prime, optional subprime, and generator of a DH object (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
void
DH_get0_pqg(
    DH const* dh,
    BIGNUM const** p,
    BIGNUM const** q,
    BIGNUM const** g);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Parameters

Name

Description

dh

DH object to query.

p

Receives an internal pointer to p, or NULL to skip; do not free.

q

Receives an internal pointer to q when present, or NULL to skip; do not free.

g

Receives an internal pointer to g, or NULL to skip; do not free.

Created with MrDocs