diff options
author | tb <> | 2023-11-19 10:34:26 +0000 |
---|---|---|
committer | tb <> | 2023-11-19 10:34:26 +0000 |
commit | 804762513590f41c1b78252a3d44d2c96c3d6139 (patch) | |
tree | 7a34bef980cdb1f9a5e800f701b9b97f4f898d1b /src/lib | |
parent | 2aba2de85ea3ecc7ae8e26b3e1358efdae4d9935 (diff) | |
download | openbsd-804762513590f41c1b78252a3d44d2c96c3d6139.tar.gz openbsd-804762513590f41c1b78252a3d44d2c96c3d6139.tar.bz2 openbsd-804762513590f41c1b78252a3d44d2c96c3d6139.zip |
Strip mention of ENGINE out of *_set_method.3
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/DH_set_method.3 | 40 | ||||
-rw-r--r-- | src/lib/libcrypto/man/DSA_set_method.3 | 40 | ||||
-rw-r--r-- | src/lib/libcrypto/man/RSA_set_method.3 | 44 |
3 files changed, 26 insertions, 98 deletions
diff --git a/src/lib/libcrypto/man/DH_set_method.3 b/src/lib/libcrypto/man/DH_set_method.3 index e89fdc64a5..70cf367c9d 100644 --- a/src/lib/libcrypto/man/DH_set_method.3 +++ b/src/lib/libcrypto/man/DH_set_method.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: DH_set_method.3,v 1.8 2022/01/15 23:38:50 jsg Exp $ | 1 | .\" $OpenBSD: DH_set_method.3,v 1.9 2023/11/19 10:34:26 tb Exp $ |
2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | 2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Ulf Moeller <ulf@openssl.org>. | 4 | .\" This file was written by Ulf Moeller <ulf@openssl.org>. |
@@ -48,7 +48,7 @@ | |||
48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
50 | .\" | 50 | .\" |
51 | .Dd $Mdocdate: January 15 2022 $ | 51 | .Dd $Mdocdate: November 19 2023 $ |
52 | .Dt DH_SET_METHOD 3 | 52 | .Dt DH_SET_METHOD 3 |
53 | .Os | 53 | .Os |
54 | .Sh NAME | 54 | .Sh NAME |
@@ -98,16 +98,9 @@ selects | |||
98 | as the default method for all | 98 | as the default method for all |
99 | .Vt DH | 99 | .Vt DH |
100 | structures created later. | 100 | structures created later. |
101 | If any | ||
102 | .Vt ENGINE | ||
103 | was registered with | ||
104 | .Xr ENGINE_register_DH 3 | ||
105 | that can be successfully initialized, it overrides the default. | ||
106 | .Pp | 101 | .Pp |
107 | .Fn DH_get_default_method | 102 | .Fn DH_get_default_method |
108 | returns a pointer to the current default method, | 103 | returns a pointer to the current default method. |
109 | even if it is actually overridden by an | ||
110 | .Vt ENGINE . | ||
111 | .Pp | 104 | .Pp |
112 | .Fn DH_set_method | 105 | .Fn DH_set_method |
113 | selects | 106 | selects |
@@ -118,17 +111,12 @@ This replaces the | |||
118 | .Vt DH_METHOD | 111 | .Vt DH_METHOD |
119 | used by the | 112 | used by the |
120 | .Fa dh | 113 | .Fa dh |
121 | key and if the previous method was supplied by an | 114 | key. |
122 | .Vt ENGINE , | ||
123 | .Xr ENGINE_finish 3 | ||
124 | is called on it. | ||
125 | It is possible to have | 115 | It is possible to have |
126 | .Vt DH | 116 | .Vt DH |
127 | keys that only work with certain | 117 | keys that only work with certain |
128 | .Vt DH_METHOD | 118 | .Vt DH_METHOD |
129 | implementations (e.g. from an | 119 | implementations, |
130 | .Vt ENGINE | ||
131 | module that supports embedded hardware-protected keys), | ||
132 | and in such cases attempting to change the | 120 | and in such cases attempting to change the |
133 | .Vt DH_METHOD | 121 | .Vt DH_METHOD |
134 | for the key can have unexpected results. | 122 | for the key can have unexpected results. |
@@ -136,17 +124,10 @@ for the key can have unexpected results. | |||
136 | .Fn DH_new_method | 124 | .Fn DH_new_method |
137 | allocates and initializes a | 125 | allocates and initializes a |
138 | .Vt DH | 126 | .Vt DH |
139 | structure so that | 127 | structure. |
140 | .Fa engine | 128 | The |
141 | is used for the DH operations. | ||
142 | If | ||
143 | .Fa engine | 129 | .Fa engine |
144 | is | 130 | argument is ignored and |
145 | .Dv NULL , | ||
146 | .Xr ENGINE_get_default_DH 3 | ||
147 | is used. | ||
148 | If that returns | ||
149 | .Dv NULL , | ||
150 | the default method controlled by | 131 | the default method controlled by |
151 | .Fn DH_set_default_method | 132 | .Fn DH_set_default_method |
152 | is used. | 133 | is used. |
@@ -202,10 +183,7 @@ and sets an error code that can be obtained by | |||
202 | if the allocation fails. | 183 | if the allocation fails. |
203 | Otherwise it returns a pointer to the newly allocated structure. | 184 | Otherwise it returns a pointer to the newly allocated structure. |
204 | .Sh SEE ALSO | 185 | .Sh SEE ALSO |
205 | .Xr DH_new 3 , | 186 | .Xr DH_new 3 |
206 | .Xr ENGINE_get_default_DH 3 , | ||
207 | .Xr ENGINE_register_DH 3 , | ||
208 | .Xr ENGINE_set_default_DH 3 | ||
209 | .Sh HISTORY | 187 | .Sh HISTORY |
210 | .Fn DH_set_default_method , | 188 | .Fn DH_set_default_method , |
211 | .Fn DH_get_default_method , | 189 | .Fn DH_get_default_method , |
diff --git a/src/lib/libcrypto/man/DSA_set_method.3 b/src/lib/libcrypto/man/DSA_set_method.3 index 31ded16d8c..ec6d2b4cd9 100644 --- a/src/lib/libcrypto/man/DSA_set_method.3 +++ b/src/lib/libcrypto/man/DSA_set_method.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: DSA_set_method.3,v 1.10 2022/01/15 23:38:50 jsg Exp $ | 1 | .\" $OpenBSD: DSA_set_method.3,v 1.11 2023/11/19 10:34:26 tb Exp $ |
2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | 2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Ulf Moeller <ulf@openssl.org>. | 4 | .\" This file was written by Ulf Moeller <ulf@openssl.org>. |
@@ -48,7 +48,7 @@ | |||
48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
50 | .\" | 50 | .\" |
51 | .Dd $Mdocdate: January 15 2022 $ | 51 | .Dd $Mdocdate: November 19 2023 $ |
52 | .Dt DSA_SET_METHOD 3 | 52 | .Dt DSA_SET_METHOD 3 |
53 | .Os | 53 | .Os |
54 | .Sh NAME | 54 | .Sh NAME |
@@ -93,16 +93,9 @@ selects | |||
93 | as the default method for all | 93 | as the default method for all |
94 | .Vt DSA | 94 | .Vt DSA |
95 | structures created later. | 95 | structures created later. |
96 | If any | ||
97 | .Vt ENGINE | ||
98 | was registered with | ||
99 | .Xr ENGINE_register_DSA 3 | ||
100 | that can be successfully initialized, it overrides the default. | ||
101 | .Pp | 96 | .Pp |
102 | .Fn DSA_get_default_method | 97 | .Fn DSA_get_default_method |
103 | returns a pointer to the current default method, | 98 | returns a pointer to the current default method. |
104 | even if it is actually overridden by an | ||
105 | .Vt ENGINE . | ||
106 | .Pp | 99 | .Pp |
107 | .Fn DSA_set_method | 100 | .Fn DSA_set_method |
108 | selects | 101 | selects |
@@ -111,15 +104,10 @@ to perform all operations using the key | |||
111 | .Fa dsa . | 104 | .Fa dsa . |
112 | This replaces the | 105 | This replaces the |
113 | .Vt DSA_METHOD | 106 | .Vt DSA_METHOD |
114 | used by the DSA key and if the previous method was supplied by an | 107 | used by the DSA key. |
115 | .Vt ENGINE , | ||
116 | .Xr ENGINE_finish 3 | ||
117 | is called on it. | ||
118 | It is possible to have DSA keys that only work with certain | 108 | It is possible to have DSA keys that only work with certain |
119 | .Vt DSA_METHOD | 109 | .Vt DSA_METHOD |
120 | implementations (e.g. from an | 110 | implementations, |
121 | .Vt ENGINE | ||
122 | module that supports embedded hardware-protected keys), | ||
123 | and in such cases attempting to change the | 111 | and in such cases attempting to change the |
124 | .Vt DSA_METHOD | 112 | .Vt DSA_METHOD |
125 | for the key can have unexpected results. | 113 | for the key can have unexpected results. |
@@ -127,17 +115,10 @@ for the key can have unexpected results. | |||
127 | .Fn DSA_new_method | 115 | .Fn DSA_new_method |
128 | allocates and initializes a | 116 | allocates and initializes a |
129 | .Vt DSA | 117 | .Vt DSA |
130 | structure so that | 118 | structure. |
131 | .Fa engine | 119 | The |
132 | is used for the DSA operations. | ||
133 | If | ||
134 | .Fa engine | 120 | .Fa engine |
135 | is | 121 | argument is ignored and |
136 | .Dv NULL , | ||
137 | .Xr ENGINE_get_default_DSA 3 | ||
138 | is used. | ||
139 | If that returns | ||
140 | .Dv NULL , | ||
141 | the default method controlled by | 122 | the default method controlled by |
142 | .Fn DSA_set_default_method | 123 | .Fn DSA_set_default_method |
143 | is used. | 124 | is used. |
@@ -206,10 +187,7 @@ if the allocation fails. | |||
206 | Otherwise it returns a pointer to the newly allocated structure. | 187 | Otherwise it returns a pointer to the newly allocated structure. |
207 | .Sh SEE ALSO | 188 | .Sh SEE ALSO |
208 | .Xr DSA_meth_new 3 , | 189 | .Xr DSA_meth_new 3 , |
209 | .Xr DSA_new 3 , | 190 | .Xr DSA_new 3 |
210 | .Xr ENGINE_get_default_DSA 3 , | ||
211 | .Xr ENGINE_register_DSA 3 , | ||
212 | .Xr ENGINE_set_default_DSA 3 | ||
213 | .Sh HISTORY | 191 | .Sh HISTORY |
214 | .Fn DSA_set_default_method , | 192 | .Fn DSA_set_default_method , |
215 | .Fn DSA_get_default_method , | 193 | .Fn DSA_get_default_method , |
diff --git a/src/lib/libcrypto/man/RSA_set_method.3 b/src/lib/libcrypto/man/RSA_set_method.3 index 818b64823d..ffe22c116f 100644 --- a/src/lib/libcrypto/man/RSA_set_method.3 +++ b/src/lib/libcrypto/man/RSA_set_method.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: RSA_set_method.3,v 1.17 2023/05/14 09:33:19 tb Exp $ | 1 | .\" $OpenBSD: RSA_set_method.3,v 1.18 2023/11/19 10:34:26 tb Exp $ |
2 | .\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 | 2 | .\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> | 4 | .\" This file was written by Ulf Moeller <ulf@openssl.org> |
@@ -50,7 +50,7 @@ | |||
50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
52 | .\" | 52 | .\" |
53 | .Dd $Mdocdate: May 14 2023 $ | 53 | .Dd $Mdocdate: November 19 2023 $ |
54 | .Dt RSA_SET_METHOD 3 | 54 | .Dt RSA_SET_METHOD 3 |
55 | .Os | 55 | .Os |
56 | .Sh NAME | 56 | .Sh NAME |
@@ -105,16 +105,9 @@ selects | |||
105 | as the default method for all | 105 | as the default method for all |
106 | .Vt RSA | 106 | .Vt RSA |
107 | structures created later. | 107 | structures created later. |
108 | If any | ||
109 | .Vt ENGINE | ||
110 | was registered with | ||
111 | .Xr ENGINE_register_RSA 3 | ||
112 | that can be successfully initialized, it overrides the default. | ||
113 | .Pp | 108 | .Pp |
114 | .Fn RSA_get_default_method | 109 | .Fn RSA_get_default_method |
115 | returns a pointer to the current default method, | 110 | returns a pointer to the current default method. |
116 | even if it is actually overridden by an | ||
117 | .Vt ENGINE . | ||
118 | .Pp | 111 | .Pp |
119 | .Fn RSA_set_method | 112 | .Fn RSA_set_method |
120 | selects | 113 | selects |
@@ -127,10 +120,7 @@ used by the RSA key, calling the | |||
127 | .Fa finish | 120 | .Fa finish |
128 | function set up with | 121 | function set up with |
129 | .Xr RSA_meth_set_finish 3 | 122 | .Xr RSA_meth_set_finish 3 |
130 | if any, and if the previous method was supplied by an | 123 | if any. |
131 | .Vt ENGINE , | ||
132 | .Xr ENGINE_finish 3 | ||
133 | is called on it. | ||
134 | If | 124 | If |
135 | .Fa meth | 125 | .Fa meth |
136 | contains an | 126 | contains an |
@@ -142,9 +132,7 @@ that function is called just before returning from | |||
142 | .Pp | 132 | .Pp |
143 | It is possible to have RSA keys that only work with certain | 133 | It is possible to have RSA keys that only work with certain |
144 | .Vt RSA_METHOD | 134 | .Vt RSA_METHOD |
145 | implementations (e.g. from an | 135 | implementations, |
146 | .Vt ENGINE | ||
147 | module that supports embedded hardware-protected keys), | ||
148 | and in such cases attempting to change the | 136 | and in such cases attempting to change the |
149 | .Vt RSA_METHOD | 137 | .Vt RSA_METHOD |
150 | for the key can have unexpected results. | 138 | for the key can have unexpected results. |
@@ -154,12 +142,6 @@ returns a pointer to the | |||
154 | .Vt RSA_METHOD | 142 | .Vt RSA_METHOD |
155 | being used by | 143 | being used by |
156 | .Fa rsa . | 144 | .Fa rsa . |
157 | This method may or may not be supplied by an | ||
158 | .Vt ENGINE | ||
159 | implementation but if it is, the return value can only be guaranteed | ||
160 | to be valid as long as the RSA key itself is valid and does not | ||
161 | have its implementation changed by | ||
162 | .Fn RSA_set_method . | ||
163 | .Pp | 145 | .Pp |
164 | The misleadingly named function | 146 | The misleadingly named function |
165 | .Fn RSA_flags | 147 | .Fn RSA_flags |
@@ -178,17 +160,10 @@ section for more details. | |||
178 | .Fn RSA_new_method | 160 | .Fn RSA_new_method |
179 | allocates and initializes an | 161 | allocates and initializes an |
180 | .Vt RSA | 162 | .Vt RSA |
181 | structure so that | 163 | structure. |
182 | .Fa engine | 164 | The |
183 | is used for the RSA operations. | ||
184 | If | ||
185 | .Fa engine | 165 | .Fa engine |
186 | is | 166 | argument is ignored and |
187 | .Dv NULL , | ||
188 | .Xr ENGINE_get_default_RSA 3 | ||
189 | is used. | ||
190 | If that returns | ||
191 | .Dv NULL , | ||
192 | the default method controlled by | 167 | the default method controlled by |
193 | .Fn RSA_set_default_method | 168 | .Fn RSA_set_default_method |
194 | is used. | 169 | is used. |
@@ -224,9 +199,6 @@ and sets an error code that can be obtained by | |||
224 | if the allocation fails. | 199 | if the allocation fails. |
225 | Otherwise it returns a pointer to the newly allocated structure. | 200 | Otherwise it returns a pointer to the newly allocated structure. |
226 | .Sh SEE ALSO | 201 | .Sh SEE ALSO |
227 | .Xr ENGINE_get_default_RSA 3 , | ||
228 | .Xr ENGINE_register_RSA 3 , | ||
229 | .Xr ENGINE_set_default_RSA 3 , | ||
230 | .Xr RSA_meth_new 3 , | 202 | .Xr RSA_meth_new 3 , |
231 | .Xr RSA_new 3 | 203 | .Xr RSA_new 3 |
232 | .Sh HISTORY | 204 | .Sh HISTORY |