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_dup_DH.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_dup_DH.3')
-rw-r--r-- | src/lib/libcrypto/man/DSA_dup_DH.3 | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/lib/libcrypto/man/DSA_dup_DH.3 b/src/lib/libcrypto/man/DSA_dup_DH.3 new file mode 100644 index 0000000000..c8b7ec60ab --- /dev/null +++ b/src/lib/libcrypto/man/DSA_dup_DH.3 | |||
@@ -0,0 +1,41 @@ | |||
1 | .Dd $Mdocdate: November 2 2016 $ | ||
2 | .Dt DSA_DUP_DH 3 | ||
3 | .Os | ||
4 | .Sh NAME | ||
5 | .Nm DSA_dup_DH | ||
6 | .Nd create a DH structure out of DSA structure | ||
7 | .Sh SYNOPSIS | ||
8 | .In openssl/dsa.h | ||
9 | .Ft DH * | ||
10 | .Fo DSA_dup_DH | ||
11 | .Fa "const DSA *r" | ||
12 | .Fc | ||
13 | .Sh DESCRIPTION | ||
14 | .Fn DSA_dup_DH | ||
15 | duplicates | ||
16 | .Vt DSA | ||
17 | parameters/keys as | ||
18 | .Vt DH | ||
19 | parameters/keys. | ||
20 | .Fa r->q | ||
21 | is lost during that conversion, but the resulting | ||
22 | .Vt DH | ||
23 | parameters contain its length. | ||
24 | .Sh RETURN VALUE | ||
25 | .Fn DSA_dup_DH | ||
26 | returns the new | ||
27 | .Vt DH | ||
28 | structure or | ||
29 | .Dv NULL | ||
30 | on error. | ||
31 | The error codes can be obtained by | ||
32 | .Xr ERR_get_error 3 . | ||
33 | .Sh SEE ALSO | ||
34 | .Xr dh 3 , | ||
35 | .Xr dsa 3 , | ||
36 | .Xr ERR_get_error 3 | ||
37 | .Sh HISTORY | ||
38 | .Fn DSA_dup_DH | ||
39 | was added in OpenSSL 0.9.4. | ||
40 | .Sh CAVEATS | ||
41 | Be careful to avoid small subgroup attacks when using this. | ||