1DSA_dup_DH(3)                       OpenSSL                      DSA_dup_DH(3)
2
3
4

NAME

6       DSA_dup_DH - create a DH structure out of DSA structure
7

SYNOPSIS

9        #include <openssl/dsa.h>
10
11        DH * DSA_dup_DH(const DSA *r);
12

DESCRIPTION

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

RETURN VALUE

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

NOTE

23       Be careful to avoid small subgroup attacks when using this.
24

SEE ALSO

26       dh(3), dsa(3), ERR_get_error(3)
27

HISTORY

29       DSA_dup_DH() was added in OpenSSL 0.9.4.
30
31
32
331.0.2o                            2020-08-01                     DSA_dup_DH(3)
Impressum