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

RETURN VALUES

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

SEE ALSO

30       dsa(3), ERR_get_error(3), DSA_generate_parameters(3),
31       DSA_generate_key(3)
32

HISTORY

34       DSA_new() and DSA_free() are available in all versions of SSLeay and
35       OpenSSL.
36
37
38
391.0.1e                            2013-02-11                        DSA_new(3)
Impressum