diff options
author | schwarze <> | 2016-11-02 11:57:56 +0000 |
---|---|---|
committer | schwarze <> | 2016-11-02 11:57:56 +0000 |
commit | 90c573eba184fe31184d14ce10367f810fa1d417 (patch) | |
tree | 62d26e7f75bb451eba292aad57737306b2f28280 /src/lib/libcrypto/man/DSA_size.3 | |
parent | db06cab2812484b360f2873ade2dd8277ad08a42 (diff) | |
download | openbsd-90c573eba184fe31184d14ce10367f810fa1d417.tar.gz openbsd-90c573eba184fe31184d14ce10367f810fa1d417.tar.bz2 openbsd-90c573eba184fe31184d14ce10367f810fa1d417.zip |
convert DSA and EC manuals from pod to mdoc
Diffstat (limited to 'src/lib/libcrypto/man/DSA_size.3')
-rw-r--r-- | src/lib/libcrypto/man/DSA_size.3 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/libcrypto/man/DSA_size.3 b/src/lib/libcrypto/man/DSA_size.3 new file mode 100644 index 0000000000..64dce38f7c --- /dev/null +++ b/src/lib/libcrypto/man/DSA_size.3 | |||
@@ -0,0 +1,29 @@ | |||
1 | .Dd $Mdocdate: November 2 2016 $ | ||
2 | .Dt DSA_SIZE 3 | ||
3 | .Os | ||
4 | .Sh NAME | ||
5 | .Nm DSA_size | ||
6 | .Nd get DSA signature size | ||
7 | .Sh SYNOPSIS | ||
8 | .In openssl/dsa.h | ||
9 | .Ft int | ||
10 | .Fo DSA_size | ||
11 | .Fa "const DSA *dsa" | ||
12 | .Fc | ||
13 | .Sh DESCRIPTION | ||
14 | This function returns the size of an ASN.1 encoded DSA signature in | ||
15 | bytes. | ||
16 | It can be used to determine how much memory must be allocated for a DSA | ||
17 | signature. | ||
18 | .Pp | ||
19 | .Fa dsa->q | ||
20 | must not be | ||
21 | .Dv NULL . | ||
22 | .Sh RETURN VALUE | ||
23 | The size in bytes. | ||
24 | .Sh SEE ALSO | ||
25 | .Xr dsa 3 , | ||
26 | .Xr DSA_sign 3 | ||
27 | .Sh HISTORY | ||
28 | .Fn DSA_size | ||
29 | is available in all versions of SSLeay and OpenSSL. | ||