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

Name

Description

rsa

RSA key whose modulus size is assessed.

Created with MrDocs