summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2016-11-06 15:44:00 +0000
committerschwarze <>2016-11-06 15:44:00 +0000
commite91a5b9b0b9cb9b6adc699e59a9a6ed06a862192 (patch)
treebb0c8506673ed11d765f010558e9590041be91e8
parent5bd19ae91dcba778608554c32097ca17d10c8bef (diff)
downloadopenbsd-e91a5b9b0b9cb9b6adc699e59a9a6ed06a862192.tar.gz
openbsd-e91a5b9b0b9cb9b6adc699e59a9a6ed06a862192.tar.bz2
openbsd-e91a5b9b0b9cb9b6adc699e59a9a6ed06a862192.zip
delete prototypes available in other pages and add three missing .Xr links
-rw-r--r--src/lib/libcrypto/man/dsa.3186
1 files changed, 7 insertions, 179 deletions
diff --git a/src/lib/libcrypto/man/dsa.3 b/src/lib/libcrypto/man/dsa.3
index b374f18d27..102cf6e5e4 100644
--- a/src/lib/libcrypto/man/dsa.3
+++ b/src/lib/libcrypto/man/dsa.3
@@ -1,4 +1,4 @@
1.Dd $Mdocdate: November 5 2016 $ 1.Dd $Mdocdate: November 6 2016 $
2.Dt DSA 3 2.Dt DSA 3
3.Os 3.Os
4.Sh NAME 4.Sh NAME
@@ -6,181 +6,6 @@
6.Nd Digital Signature Algorithm 6.Nd Digital Signature Algorithm
7.Sh SYNOPSIS 7.Sh SYNOPSIS
8.In openssl/dsa.h 8.In openssl/dsa.h
9.In openssl/engine.h
10.Ft DSA *
11.Fn DSA_new void
12.Ft void
13.Fo DSA_free
14.Fa "DSA *dsa"
15.Fc
16.Ft int
17.Fo DSA_size
18.Fa "const DSA *dsa"
19.Fc
20.Ft DSA *
21.Fo DSA_generate_parameters
22.Fa "int bits"
23.Fa "unsigned char *seed"
24.Fa "int seed_len"
25.Fa "int *counter_ret"
26.Fa "unsigned long *h_ret"
27.Fa "void (*callback)(int, int, void *)"
28.Fa "void *cb_arg"
29.Fc
30.Ft DH *
31.Fo DSA_dup_DH
32.Fa "const DSA *r"
33.Fc
34.Ft int
35.Fo DSA_generate_key
36.Fa "DSA *dsa"
37.Fc
38.Ft int
39.Fo DSA_sign
40.Fa "int dummy"
41.Fa "const unsigned char *dgst"
42.Fa "int len"
43.Fa "unsigned char *sigret"
44.Fa "unsigned int *siglen"
45.Fa "DSA *dsa"
46.Fc
47.Ft int
48.Fo DSA_sign_setup
49.Fa "DSA *dsa"
50.Fa "BN_CTX *ctx"
51.Fa "BIGNUM **kinvp"
52.Fa "BIGNUM **rp"
53.Fc
54.Ft int
55.Fo DSA_verify
56.Fa "int dummy"
57.Fa "const unsigned char *dgst"
58.Fa "int len"
59.Fa "const unsigned char *sigbuf"
60.Fa "int siglen"
61.Fa "DSA *dsa"
62.Fc
63.Ft void
64.Fo DSA_set_default_method
65.Fa "const DSA_METHOD *meth"
66.Fc
67.Ft const DSA_METHOD *
68.Fn DSA_get_default_method void
69.Ft int
70.Fo DSA_set_method
71.Fa "DSA *dsa"
72.Fa "const DSA_METHOD *meth"
73.Fc
74.Ft DSA *
75.Fo DSA_new_method
76.Fa "ENGINE *engine"
77.Fc
78.Ft const DSA_METHOD *
79.Fn DSA_OpenSSL void
80.Ft int
81.Fo DSA_get_ex_new_index
82.Fa "long argl"
83.Fa "char *argp"
84.Fa "int (*new_func)()"
85.Fa "int (*dup_func)()"
86.Fa "void (*free_func)()"
87.Fc
88.Ft int
89.Fo DSA_set_ex_data
90.Fa "DSA *d"
91.Fa "int idx"
92.Fa "char *arg"
93.Fc
94.Ft char *
95.Fo DSA_get_ex_data
96.Fa "DSA *d"
97.Fa "int idx"
98.Fc
99.Ft DSA_SIG *
100.Fn DSA_SIG_new void
101.Ft void
102.Fo DSA_SIG_free
103.Fa "DSA_SIG *a"
104.Fc
105.Ft int
106.Fo i2d_DSA_SIG
107.Fa "const DSA_SIG *a"
108.Fa "unsigned char **pp"
109.Fc
110.Ft DSA_SIG *
111.Fo d2i_DSA_SIG
112.Fa "DSA_SIG **v"
113.Fa "unsigned char **pp"
114.Fa "long length"
115.Fc
116.Ft DSA_SIG *
117.Fo DSA_do_sign
118.Fa "const unsigned char *dgst"
119.Fa "int dlen"
120.Fa "DSA *dsa"
121.Fc
122.Ft int
123.Fo DSA_do_verify
124.Fa "const unsigned char *dgst"
125.Fa "int dgst_len"
126.Fa "DSA_SIG *sig"
127.Fa "DSA *dsa"
128.Fc
129.Ft DSA *
130.Fo d2i_DSAPublicKey
131.Fa "DSA **a"
132.Fa "unsigned char **pp"
133.Fa "long length"
134.Fc
135.Ft DSA *
136.Fo d2i_DSAPrivateKey
137.Fa "DSA **a"
138.Fa "unsigned char **pp"
139.Fa "long length"
140.Fc
141.Ft DSA *
142.Fo d2i_DSAparams
143.Fa "DSA **a"
144.Fa "unsigned char **pp"
145.Fa "long length"
146.Fc
147.Ft int
148.Fo i2d_DSAPublicKey
149.Fa "const DSA *a"
150.Fa "unsigned char **pp"
151.Fc
152.Ft int
153.Fo i2d_DSAPrivateKey
154.Fa "const DSA *a"
155.Fa "unsigned char **pp"
156.Fc
157.Ft int
158.Fo i2d_DSAparams
159.Fa "const DSA *a"
160.Fa "unsigned char **pp"
161.Fc
162.Ft int
163.Fo DSAparams_print
164.Fa "BIO *bp"
165.Fa "const DSA *x"
166.Fc
167.Ft int
168.Fo DSAparams_print_fp
169.Fa "FILE *fp"
170.Fa "const DSA *x"
171.Fc
172.Ft int
173.Fo DSA_print
174.Fa "BIO *bp"
175.Fa "const DSA *x"
176.Fa "int off"
177.Fc
178.Ft int
179.Fo DSA_print_fp
180.Fa "FILE *bp"
181.Fa "const DSA *x"
182.Fa "int off"
183.Fc
184.Sh DESCRIPTION 9.Sh DESCRIPTION
185These functions implement the Digital Signature Algorithm (DSA). 10These functions implement the Digital Signature Algorithm (DSA).
186The generation of shared DSA parameters is described in 11The generation of shared DSA parameters is described in
@@ -226,19 +51,22 @@ structure elements directly and instead use API functions to query
226or modify keys. 51or modify keys.
227.Sh SEE ALSO 52.Sh SEE ALSO
228.Xr bn 3 , 53.Xr bn 3 ,
54.Xr d2i_DSAPublicKey 3 ,
229.Xr dh 3 , 55.Xr dh 3 ,
56.Xr DSA_do_sign 3 ,
230.Xr DSA_dup_DH 3 , 57.Xr DSA_dup_DH 3 ,
231.Xr DSA_generate_key 3 , 58.Xr DSA_generate_key 3 ,
232.Xr DSA_generate_parameters 3 , 59.Xr DSA_generate_parameters 3 ,
233.Xr DSA_get_ex_new_index 3 , 60.Xr DSA_get_ex_new_index 3 ,
234.Xr DSA_new 3 , 61.Xr DSA_new 3 ,
62.Xr DSA_print 3 ,
235.Xr DSA_set_method 3 , 63.Xr DSA_set_method 3 ,
64.Xr DSA_SIG_new 3 ,
236.Xr DSA_sign 3 , 65.Xr DSA_sign 3 ,
237.Xr DSA_size 3 , 66.Xr DSA_size 3 ,
238.Xr engine 3 , 67.Xr engine 3 ,
239.Xr err 3 , 68.Xr ERR 3 ,
240.Xr rsa 3 , 69.Xr rsa 3
241.Xr RSA_print 3
242.Sh STANDARDS 70.Sh STANDARDS
243US Federal Information Processing Standard FIPS 186 (Digital Signature 71US Federal Information Processing Standard FIPS 186 (Digital Signature
244Standard, DSS), ANSI X9.30 72Standard, DSS), ANSI X9.30