diff options
Diffstat (limited to 'src/lib/libcrypto/doc/RSA_size.pod')
| -rw-r--r-- | src/lib/libcrypto/doc/RSA_size.pod | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/lib/libcrypto/doc/RSA_size.pod b/src/lib/libcrypto/doc/RSA_size.pod new file mode 100644 index 0000000000..5b7f835f95 --- /dev/null +++ b/src/lib/libcrypto/doc/RSA_size.pod | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | =pod | ||
| 2 | |||
| 3 | =head1 NAME | ||
| 4 | |||
| 5 | RSA_size - get RSA modulus size | ||
| 6 | |||
| 7 | =head1 SYNOPSIS | ||
| 8 | |||
| 9 | #include <openssl/rsa.h> | ||
| 10 | |||
| 11 | int RSA_size(const RSA *rsa); | ||
| 12 | |||
| 13 | =head1 DESCRIPTION | ||
| 14 | |||
| 15 | This function returns the RSA modulus size in bytes. It can be used to | ||
| 16 | determine how much memory must be allocated for an RSA encrypted | ||
| 17 | value. | ||
| 18 | |||
| 19 | B<rsa-E<gt>n> must not be B<NULL>. | ||
| 20 | |||
| 21 | =head1 RETURN VALUE | ||
| 22 | |||
| 23 | The size in bytes. | ||
| 24 | |||
| 25 | =head1 SEE ALSO | ||
| 26 | |||
| 27 | L<rsa(3)|rsa(3)> | ||
| 28 | |||
| 29 | =head1 HISTORY | ||
| 30 | |||
| 31 | RSA_size() is available in all versions of SSLeay and OpenSSL. | ||
| 32 | |||
| 33 | =cut | ||
