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 VALUES

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_new(3), DSA_new(3), ERR_get_error(3)
27
29       Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
30
31       Licensed under the OpenSSL license (the "License").  You may not use
32       this file except in compliance with the License.  You can obtain a copy
33       in the file LICENSE in the source distribution or at
34       <https://www.openssl.org/source/license.html>.
35
36
37
381.1.1c                            2019-05-28                     DSA_DUP_DH(3)
Impressum