RSA_size 3 2003-07-24 0.9.9-dev OpenSSL
NAME
RSA_size - get RSA modulus size
LIBRARY
libcrypto, -lcrypto
SYNOPSIS
#include
int RSA_size(const RSA *rsa);
DESCRIPTION
This function returns the RSA modulus size in bytes. It can be used to
determine how much memory must be allocated for an RSA encrypted
value.
rrssaa-->>nn must not be NNUULLLL.
RETURN VALUE
The size in bytes.
SEE ALSO
_o_p_e_n_s_s_l___r_s_a(3)
HISTORY
_R_S_A___s_i_z_e_(_) is available in all versions of SSLeay and OpenSSL.