2
0

RSA_size.pod 489 B

123456789101112131415161718192021222324252627282930313233
  1. =pod
  2. =head1 NAME
  3. RSA_size - get RSA modulus size
  4. =head1 SYNOPSIS
  5. #include <openssl/rsa.h>
  6. int RSA_size(const RSA *rsa);
  7. =head1 DESCRIPTION
  8. This function returns the RSA modulus size in bytes. It can be used to
  9. determine how much memory must be allocated for an RSA encrypted
  10. value.
  11. B<rsa-E<gt>n> must not be B<NULL>.
  12. =head1 RETURN VALUE
  13. The size in bytes.
  14. =head1 SEE ALSO
  15. L<rsa(3)|rsa(3)>
  16. =head1 HISTORY
  17. RSA_size() is available in all versions of SSLeay and OpenSSL.
  18. =cut