1DSA_NEW(3)                          OpenSSL                         DSA_NEW(3)
2
3
4

NAME

6       DSA_new, DSA_free - allocate and free DSA objects
7

SYNOPSIS

9        #include <openssl/dsa.h>
10
11        DSA* DSA_new(void);
12
13        void DSA_free(DSA *dsa);
14

DESCRIPTION

16       DSA_new() allocates and initializes a DSA structure. It is equivalent
17       to calling DSA_new_method(NULL).
18
19       DSA_free() frees the DSA structure and its components. The values are
20       erased before the memory is returned to the system.  If dsa is NULL
21       nothing is done.
22

RETURN VALUES

24       If the allocation fails, DSA_new() returns NULL and sets an error code
25       that can be obtained by ERR_get_error(3). Otherwise it returns a
26       pointer to the newly allocated structure.
27
28       DSA_free() returns no value.
29

SEE ALSO

31       DSA_new(3), ERR_get_error(3), DSA_generate_parameters(3),
32       DSA_generate_key(3)
33
35       Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
36
37       Licensed under the OpenSSL license (the "License").  You may not use
38       this file except in compliance with the License.  You can obtain a copy
39       in the file LICENSE in the source distribution or at
40       <https://www.openssl.org/source/license.html>.
41
42
43
441.1.1i                            2021-07-22                        DSA_NEW(3)
Impressum