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

  man pages->Tru64 Unix man pages -> DH_new (3)              
Title
Content
Arch
Section
 

DH_new(3)

Contents


NAME    [Toc]    [Back]

       DH_new, DH_free - Allocate and free DH objects

SYNOPSIS    [Toc]    [Back]

       #include <openssl/dh.h>

       DH* DH_new(
               void ); void DH_free(
               DH *dh );

DESCRIPTION    [Toc]    [Back]

       The  DH_new()  function  allocates  and  initializes  a DH
       structure.

       The DH_free() function frees the DH structure and its components.
  The  values  are  erased  before  the  memory is
       returned to the system.

RETURN VALUES    [Toc]    [Back]

       If the allocation fails,  the  DH_new()  function  returns
       NULL  and  sets  an  error  code that can be obtained from
       ERR_get_error(). Otherwise it returns  a  pointer  to  the
       newly allocated structure.

       The DH_free() function returns no value.

HISTORY    [Toc]    [Back]

       The  DH_new() and DH_free() functions are available in all
       versions of SSLeay and OpenSSL.

SEE ALSO    [Toc]    [Back]

      
      
       Functions:   dh(3),   err(3),   DH_generate_parameters(3),
       DH_generate_key(3)



                                                        DH_new(3)
[ Back ]
 Similar pages
Name OS Title
DSA_new NetBSD allocate and free DSA objects
RSA_free OpenBSD allocate and free RSA objects
RSA_new OpenBSD allocate and free RSA objects
DSA_free Tru64 Allocate and free DSA objects
DSA_new OpenBSD allocate and free DSA objects
RSA_new Tru64 Allocate and free RSA objects
RSA_free Tru64 Allocate and free RSA objects
DSA_new Tru64 Allocate and free DSA objects
RSA_new NetBSD allocate and free RSA objects
DSA_SIG_new Tru64 Allocate and free DSA signature objects
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service