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

  man pages->Tru64 Unix man pages -> DH_size (3)              



NAME    [Toc]    [Back]

       DH_size - Get Diffie-Hellman prime size

SYNOPSIS    [Toc]    [Back]

        #include <openssl/dh.h>

       int DH_size(
               DH *dh );

DESCRIPTION    [Toc]    [Back]

       This DH_size() 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().

       The dh->p must not be NULL.

RETURN VALUE    [Toc]    [Back]

       The size in bytes.

HISTORY    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

       Functions: dh(3), DH_generate_key(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