summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/ENGINE_register_RSA.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/ENGINE_register_RSA.3')
-rw-r--r--src/lib/libcrypto/man/ENGINE_register_RSA.3142
1 files changed, 0 insertions, 142 deletions
diff --git a/src/lib/libcrypto/man/ENGINE_register_RSA.3 b/src/lib/libcrypto/man/ENGINE_register_RSA.3
deleted file mode 100644
index 5c63729cfc..0000000000
--- a/src/lib/libcrypto/man/ENGINE_register_RSA.3
+++ /dev/null
@@ -1,142 +0,0 @@
1.\" $OpenBSD: ENGINE_register_RSA.3,v 1.2 2018/04/18 03:39:22 schwarze Exp $
2.\" content checked up to:
3.\" OpenSSL ENGINE_add 1f13ad31 Dec 25 17:50:39 2017 +0800
4.\"
5.\" Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org>
6.\"
7.\" Permission to use, copy, modify, and distribute this software for any
8.\" purpose with or without fee is hereby granted, provided that the above
9.\" copyright notice and this permission notice appear in all copies.
10.\"
11.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18.\"
19.Dd $Mdocdate: April 18 2018 $
20.Dt ENGINE_REGISTER_RSA 3
21.Os
22.Sh NAME
23.Nm ENGINE_register_RSA ,
24.Nm ENGINE_register_DSA ,
25.Nm ENGINE_register_ECDH ,
26.Nm ENGINE_register_ECDSA ,
27.Nm ENGINE_register_DH ,
28.Nm ENGINE_register_RAND ,
29.Nm ENGINE_register_STORE ,
30.Nm ENGINE_register_ciphers ,
31.Nm ENGINE_register_digests ,
32.Nm ENGINE_register_complete
33.Nd register an ENGINE as implementing an algorithm
34.Sh SYNOPSIS
35.In openssl/engine.h
36.Ft int
37.Fo ENGINE_register_RSA
38.Fa "ENGINE *e"
39.Fc
40.Ft int
41.Fo ENGINE_register_DSA
42.Fa "ENGINE *e"
43.Fc
44.Ft int
45.Fo ENGINE_register_ECDH
46.Fa "ENGINE *e"
47.Fc
48.Ft int
49.Fo ENGINE_register_ECDSA
50.Fa "ENGINE *e"
51.Fc
52.Ft int
53.Fo ENGINE_register_DH
54.Fa "ENGINE *e"
55.Fc
56.Ft int
57.Fo ENGINE_register_RAND
58.Fa "ENGINE *e"
59.Fc
60.Ft int
61.Fo ENGINE_register_STORE
62.Fa "ENGINE *e"
63.Fc
64.Ft int
65.Fo ENGINE_register_ciphers
66.Fa "ENGINE *e"
67.Fc
68.Ft int
69.Fo ENGINE_register_digests
70.Fa "ENGINE *e"
71.Fc
72.Ft int
73.Fo ENGINE_register_complete
74.Fa "ENGINE *e"
75.Fc
76.Sh DESCRIPTION
77In addition to the global table described in
78.Xr ENGINE_add 3 ,
79the crypto library maintains several tables containing references to
80.Vt ENGINE
81objects implementing one specific cryptographic algorithm.
82.Pp
83The functions listed in the present manual page append
84.Fa e
85to the end of the table for the respective algorithm.
86.Pp
87If
88.Fa e
89does not contain a method for the requested algorithm,
90these functions succeed without having any effect.
91.Pp
92If
93.Fa e
94is already registered for the given algorithm,
95they move it to the end of the respective table.
96.Pp
97.Fn ENGINE_register_ciphers
98and
99.Fn ENGINE_register_digests
100are special in so far as an engine may implement
101more than one cipher or more than one digest.
102In that case,
103.Fa e
104is registered for all the ciphers or digests it implements.
105.Pp
106.Fn ENGINE_register_complete
107registers
108.Fa e
109for all algorithms it implements by calling all the other functions.
110.Sh RETURN VALUES
111These functions return 1 on success or 0 on error.
112They only fail if insufficient memory is available.
113.Sh SEE ALSO
114.Xr ENGINE_add 3 ,
115.Xr ENGINE_get_default_RSA 3 ,
116.Xr ENGINE_init 3 ,
117.Xr ENGINE_new 3 ,
118.Xr ENGINE_register_all_RSA 3 ,
119.Xr ENGINE_set_default 3 ,
120.Xr ENGINE_set_RSA 3 ,
121.Xr ENGINE_unregister_RSA 3
122.Sh HISTORY
123.Fn ENGINE_register_RSA ,
124.Fn ENGINE_register_DSA ,
125.Fn ENGINE_register_DH ,
126.Fn ENGINE_register_RAND ,
127.Fn ENGINE_register_ciphers ,
128.Fn ENGINE_register_digests ,
129and
130.Fn ENGINE_register_complete
131first appeared in OpenSSL 0.9.7 and have been available since
132.Ox 3.2 .
133.Pp
134.Fn ENGINE_register_ECDH ,
135.Fn ENGINE_register_ECDSA ,
136and
137.Fn ENGINE_register_STORE
138first appeared in OpenSSL 0.9.8 and have been available since
139.Ox 4.5 .
140.Sh BUGS
141.Fn ENGINE_register_complete
142ignores all errors, even memory allocation failure, and always returns 1.