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

Name

Description

dh

DH object whose parameters are queried; dh and its p must be non‐NULL.

Created with MrDocs