1*2175Sjp161948=pod 2*2175Sjp161948 3*2175Sjp161948=head1 NAME 4*2175Sjp161948 5*2175Sjp161948RSA_size - get RSA modulus size 6*2175Sjp161948 7*2175Sjp161948=head1 SYNOPSIS 8*2175Sjp161948 9*2175Sjp161948 #include <openssl/rsa.h> 10*2175Sjp161948 11*2175Sjp161948 int RSA_size(const RSA *rsa); 12*2175Sjp161948 13*2175Sjp161948=head1 DESCRIPTION 14*2175Sjp161948 15*2175Sjp161948This function returns the RSA modulus size in bytes. It can be used to 16*2175Sjp161948determine how much memory must be allocated for an RSA encrypted 17*2175Sjp161948value. 18*2175Sjp161948 19*2175Sjp161948B<rsa-E<gt>n> must not be B<NULL>. 20*2175Sjp161948 21*2175Sjp161948=head1 RETURN VALUE 22*2175Sjp161948 23*2175Sjp161948The size in bytes. 24*2175Sjp161948 25*2175Sjp161948=head1 SEE ALSO 26*2175Sjp161948 27*2175Sjp161948L<rsa(3)|rsa(3)> 28*2175Sjp161948 29*2175Sjp161948=head1 HISTORY 30*2175Sjp161948 31*2175Sjp161948RSA_size() is available in all versions of SSLeay and OpenSSL. 32*2175Sjp161948 33*2175Sjp161948=cut 34