dsa_dup_dh(3openssl) opensolaris man page | unix.com

Man Page: dsa_dup_dh

Operating Environment: opensolaris

Section: 3openssl

DSA_dup_DH(3openssl)						      OpenSSL						      DSA_dup_DH(3openssl)

NAME
DSA_dup_DH - create a DH structure out of DSA structure
SYNOPSIS
#include <openssl/dsa.h> DH * DSA_dup_DH(const DSA *r);
DESCRIPTION
DSA_dup_DH() duplicates DSA parameters/keys as DH parameters/keys. q is lost during that conversion, but the resulting DH parameters con- tain its length.
RETURN VALUE
DSA_dup_DH() returns the new DH structure, and NULL on error. The error codes can be obtained by ERR_get_error(3).
NOTE
Be careful to avoid small subgroup attacks when using this.
SEE ALSO
dh(3), dsa(3), ERR_get_error(3)
HISTORY
DSA_dup_DH() was added in OpenSSL 0.9.4. OpenSSL-0.9.8 Oct 11 2005 DSA_dup_DH(3openssl)
Related Man Pages
dsa(3) - redhat
dsa(3ssl) - linux
dsa(3) - centos
dsa(3) - opendarwin
dsa_free(3ssl) - opendarwin
Similar Topics in the Unix Linux Community
How to learn UNIX
PHP Man Pages Now Available (Over 10,000)
Grep the 'not running' jobs and will send the update in mail with its name(job)
Identify problem with while getopts
Solaris 10 - password complexity not working