GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RSA_SIZE(3) FreeBSD Library Functions Manual RSA_SIZE(3)

RSA_size, RSA_bitsget the RSA modulus size

#include <openssl/rsa.h>

int
RSA_size(const RSA *rsa);

int
RSA_bits(const RSA *rsa);

() returns the RSA modulus size in bytes. It can be used to determine how much memory must be allocated for an RSA encrypted value.

() returns the number of significant bits.

rsa and rsa->n must not be NULL.

The size.

BN_num_bits(3), RSA_get0_key(3), RSA_new(3), RSA_security_bits(3)

RSA_size() first appeared in SSLeay 0.4.4 and has been available since OpenBSD 2.4.

RSA_bits() first appeared in OpenSSL 1.1.0 and has been available since OpenBSD 6.3.

July 13, 2022 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.