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

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

DH_size(3)

Contents


NAME    [Toc]    [Back]

       DH_size - get Diffie-Hellman prime size

LIBRARY    [Toc]    [Back]

       libcrypto, -lcrypto

SYNOPSIS    [Toc]    [Back]

        #include <openssl/dh.h>

        int DH_size(DH *dh);

DESCRIPTION    [Toc]    [Back]

       This function returns the Diffie-Hellman size in bytes. It
       can be used to determine how much memory must be allocated
       for the shared secret computed by DH_compute_key().

       dh->p must not be NULL.

RETURN VALUE    [Toc]    [Back]

       The size in bytes.

SEE ALSO    [Toc]    [Back]

      
      
       openssl_dh(3), DH_generate_key(3)

HISTORY    [Toc]    [Back]

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



2000-07-22                    0.9.6g                   DH_size(3)
[ Back ]
 Similar pages
Name OS Title
openssl_dh NetBSD Diffie-Hellman key agreement
dh OpenBSD Diffie-Hellman key agreement
dh Tru64 Diffie-Hellman key agreement
DH_generate_key Tru64 Perform Diffie-Hellman key exchange
DH_compute_key Tru64 Perform Diffie-Hellman key exchange
DH_generate_key NetBSD perform Diffie-Hellman key exchange
DH_generate_key OpenBSD perform Diffie-Hellman key exchange
DH_compute_key OpenBSD perform Diffie-Hellman key exchange
newkey HP-UX create a new Diffie-Hellman key pair in the publickey database
factor Linux prints prime factors
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service