Fix L<> content in manpages
[openssl.git] / doc / crypto / RSA_size.pod
1 =pod
2
3 =head1 NAME
4
5 RSA_size, RSA_bits - get RSA modulus size
6
7 =head1 SYNOPSIS
8
9 #include <openssl/rsa.h>
10
11 int RSA_size(const RSA *rsa);
12
13 int RSA_bits(const RSA *rsa);
14
15 =head1 DESCRIPTION
16
17 RSA_size() returns the RSA modulus size in bytes. It can be used to
18 determine how much memory must be allocated for an RSA encrypted
19 value.
20
21 RSA_bits() returns the number of significant bits.
22
23 B<rsa> and B<rsa-E<gt>n> must not be B<NULL>.
24
25 =head1 RETURN VALUE
26
27 The size.
28
29 =head1 SEE ALSO
30
31 L<rsa(3)>, L<BN_num_bits(3)>
32
33 =head1 HISTORY
34
35 RSA_size() is available in all versions of SSLeay and OpenSSL.
36 RSA_bits() was added in OpenSSL 1.1.0.
37
38 =cut