"Fossies" - the Fresh Open Source Software Archive

Member "openssl-1.0.2q/doc/crypto/DSA_dup_DH.pod" (20 Nov 2018, 713 Bytes) of package /linux/misc/openssl-1.0.2q.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested pod source page into HTML format but links to other pod pages may be missing or even errorneous. Alternatively you can here view or download the uninterpreted pod source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the last Fossies "Diffs" side-by-side code changes report for "DSA_dup_DH.pod": 1.1.0g_vs_1.1.1-pre2.

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 contain 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.