#include <openssl/rsa.h> int RSA_size(const RSA *rsa); int RSA_bits(const RSA *rsa); int RSA_security_bits(const RSA *rsa)
RSA_bits() returns the number of significant bits.
rsa and rsa->n must not be NULL.
RSA_security_bits() returns the number of security bits of the given rsa key. See BN_security_bits(3).
DSA_bits() returns the number of bits in the key.
RSA_security_bits() returns the number of security bits.
Licensed under the OpenSSL license (the ``License''). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.