1DSA_size(3)                         OpenSSL                        DSA_size(3)
2
3
4

NAME

6       DSA_size - get DSA signature size
7

SYNOPSIS

9        #include <openssl/dsa.h>
10
11        int DSA_size(const DSA *dsa);
12

DESCRIPTION

14       This function returns the size of an ASN.1 encoded DSA signature in
15       bytes. It can be used to determine how much memory must be allocated
16       for a DSA signature.
17
18       dsa->q must not be NULL.
19

RETURN VALUE

21       The size in bytes.
22

SEE ALSO

24       dsa(3), DSA_sign(3)
25

HISTORY

27       DSA_size() is available in all versions of SSLeay and OpenSSL.
28
29
30
311.0.2o                            2020-08-01                       DSA_size(3)
Impressum