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

  man pages->OpenBSD man pages -> DSA_dup_DH (3)              
Title
Content
Arch
Section
 

DSA_DUP_DH(3)

Contents


NAME    [Toc]    [Back]

       DSA_dup_DH - create a DH structure out of DSA structure

SYNOPSIS    [Toc]    [Back]

        #include <openssl/dsa.h>

        DH * DSA_dup_DH(const DSA *r);

DESCRIPTION    [Toc]    [Back]

       DSA_dup_DH() duplicates DSA parameters/keys as DH parameters/keys.
 q is lost during that conversion, but the
       resulting DH parameters contain its length.

RETURN VALUE    [Toc]    [Back]

       DSA_dup_DH() returns the new DH structure, and NULL on
       error. The error codes can be obtained by
       ERR_get_error(3).

NOTE    [Toc]    [Back]

       Be careful to avoid small subgroup attacks when using
       this.

SEE ALSO    [Toc]    [Back]

      
      
       dh(3), dsa(3), ERR_get_error(3)

HISTORY    [Toc]    [Back]

       DSA_dup_DH() was added in OpenSSL 0.9.4.


OpenBSD 3.6                 2002-09-14                          1
[ Back ]
 Similar pages
Name OS Title
ALgetconfig IRIX (obsolete) get/set the ALconfig structure of an audio ALport structure
vm_map_create FreeBSD create a new vm_map structure
SSL_new NetBSD create a new SSL structure for a connection
SSL_new Tru64 Create a new SSL structure for a connection
SSL_new OpenBSD create a new SSL structure for a connection
SSL_SESSION_new Tru64 Create a new SSL_SESSION structure
inet_pton Linux Create a network address structure
AFnewfilesetup IRIX create and initialize an AFfilesetup structure
SSL_CTX_get_cert_store Tru64 Get the X509_STORE structure in the SSL_CTX structure
alNewConfig IRIX create and initialize an audio ALconfig structure
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service