DH_security_bits

Estimate the security strength in bits of a DH key's parameters (deprecated).

Synopsis

Declared in <openssl/dh.h>

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

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Approximate security strength in bits, or 0 on error.

Parameters

NameDescription
dhDH object whose prime size is assessed.