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

  man pages->NetBSD man pages -> DSA_dup_DH (3)              



NAME    [Toc]    [Back]

       DSA_dup_DH - create a DH structure out of DSA structure

LIBRARY    [Toc]    [Back]

       libcrypto, -lcrypto

SYNOPSIS    [Toc]    [Back]

        #include <openssl/dsa.h>

        DH * DSA_dup_DH(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

NOTE    [Toc]    [Back]

       Be careful to avoid small subgroup attacks when using

SEE ALSO    [Toc]    [Back]

       openssl_dh(3), openssl_dsa(3), openssl_err(3)

HISTORY    [Toc]    [Back]

       DSA_dup_DH() was added in OpenSSL 0.9.4.

2000-07-22                    0.9.6g                DSA_dup_DH(3)
[ 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