*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> RSA_size (3)              
Title
Content
Arch
Section
 

RSA_size(3)

Contents


NAME    [Toc]    [Back]

       RSA_size - get RSA modulus size

LIBRARY    [Toc]    [Back]

       libcrypto, -lcrypto

SYNOPSIS    [Toc]    [Back]

        #include <openssl/rsa.h>

        int RSA_size(RSA *rsa);

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       The size in bytes.

SEE ALSO    [Toc]    [Back]

      
      
       openssl_rsa(3)

HISTORY    [Toc]    [Back]

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



2000-07-22                    0.9.6g                  RSA_size(3)
[ Back ]
 Similar pages
Name OS Title
acl_size IRIX return the size of an ACL
BN_num_bits_word Tru64 Get BIGNUM size
BN_num_bytes Tru64 Get BIGNUM size
DSA_size Tru64 Get DSA signature size
BN_num_bits OpenBSD get BIGNUM size
BN_num_bits_word OpenBSD get BIGNUM size
BN_num_bytes OpenBSD get BIGNUM size
DSA_size OpenBSD get DSA signature size
DSA_size NetBSD get DSA signature size
BN_num_bytes NetBSD get BIGNUM size
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service