"Fossies" - the Fresh Open Source Software Archive

Member "openssl-1.0.2q/doc/crypto/RSA_size.pod" (20 Nov 2018, 489 Bytes) of package /linux/misc/openssl-1.0.2q.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested pod source page into HTML format but links to other pod pages may be missing or even errorneous. Alternatively you can here view or download the uninterpreted pod source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the last Fossies "Diffs" side-by-side code changes report for "RSA_size.pod": 1.1.0g_vs_1.1.1-pre2.

NAME

RSA_size - get RSA modulus size

SYNOPSIS

 #include <openssl/rsa.h>

 int RSA_size(const RSA *rsa);

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.

rsa->n must not be NULL.

RETURN VALUE

The size in bytes.

SEE ALSO

rsa(3)

HISTORY

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