Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 1a432a1
  • /
  • crypto
  • /
  • RSA_size.pod
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:5b7f835f95d6dc01ecb6c5419761985d6eded98d
directory badge Iframe embedding
swh:1:dir:5e9a7b2f755109b19d8346547fdf285360c78427
RSA_size.pod
=pod

=head1 NAME

RSA_size - get RSA modulus size

=head1 SYNOPSIS

 #include <openssl/rsa.h>

 int RSA_size(const RSA *rsa);

=head1 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.

B<rsa-E<gt>n> must not be B<NULL>.

=head1 RETURN VALUE

The size in bytes.

=head1 SEE ALSO

L<rsa(3)|rsa(3)>

=head1 HISTORY

RSA_size() is available in all versions of SSLeay and OpenSSL.

=cut

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top