RSA_security_bits

Estimate the security strength of rsa in bits (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_security_bits(RSA const* rsa);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Approximate security strength in bits, or 0 on error.

Parameters

NameDescription
rsaRSA key whose modulus size is assessed.