DH_bits

Return the bit length of the Diffie-Hellman prime modulus p (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
int
DH_bits(DH const* dh);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Number of significant bits in p.

Parameters

NameDescription
dhDH object whose parameters are queried; dh and its p must be non-NULL.