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

Name

Description

dh

DH object whose prime size is assessed.

Created with MrDocs