summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-07-21 04:29:27 +0000
committertb <>2023-07-21 04:29:27 +0000
commit9f6ab08437109c9059d47ca67398cdb17ca76be9 (patch)
tree049d2317a482fcc209022d7e05887ca6edf680a4 /src/lib
parent061f94cadc92dcc48f0ff7d0554e61f4b0ffdd70 (diff)
downloadopenbsd-9f6ab08437109c9059d47ca67398cdb17ca76be9.tar.gz
openbsd-9f6ab08437109c9059d47ca67398cdb17ca76be9.tar.bz2
openbsd-9f6ab08437109c9059d47ca67398cdb17ca76be9.zip
Document ENGINE_{get,set}_EC
ENGINE_{get,set}_{ECDH,ECDSA} will go away and won't come back. Replace their documentation with the missing ENGINE_{get,set}_EC. In the unlikely event that we will need to bring back ENGINE after the next bump, this manual will not be outdated and incomplete.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/ENGINE_set_RSA.346
1 files changed, 17 insertions, 29 deletions
diff --git a/src/lib/libcrypto/man/ENGINE_set_RSA.3 b/src/lib/libcrypto/man/ENGINE_set_RSA.3
index 4bf12defc3..b2cec473bd 100644
--- a/src/lib/libcrypto/man/ENGINE_set_RSA.3
+++ b/src/lib/libcrypto/man/ENGINE_set_RSA.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ENGINE_set_RSA.3,v 1.6 2023/07/20 09:28:30 tb Exp $ 1.\" $OpenBSD: ENGINE_set_RSA.3,v 1.7 2023/07/21 04:29:27 tb Exp $
2.\" content checked up to: 2.\" content checked up to:
3.\" OpenSSL ENGINE_add 1f13ad31 Dec 25 17:50:39 2017 +0800 3.\" OpenSSL ENGINE_add 1f13ad31 Dec 25 17:50:39 2017 +0800
4.\" 4.\"
@@ -16,7 +16,7 @@
16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18.\" 18.\"
19.Dd $Mdocdate: July 20 2023 $ 19.Dd $Mdocdate: July 21 2023 $
20.Dt ENGINE_SET_RSA 3 20.Dt ENGINE_SET_RSA 3
21.Os 21.Os
22.Sh NAME 22.Sh NAME
@@ -24,10 +24,8 @@
24.Nm ENGINE_get_RSA , 24.Nm ENGINE_get_RSA ,
25.Nm ENGINE_set_DSA , 25.Nm ENGINE_set_DSA ,
26.Nm ENGINE_get_DSA , 26.Nm ENGINE_get_DSA ,
27.Nm ENGINE_set_ECDH , 27.Nm ENGINE_set_EC ,
28.Nm ENGINE_get_ECDH , 28.Nm ENGINE_get_EC ,
29.Nm ENGINE_set_ECDSA ,
30.Nm ENGINE_get_ECDSA ,
31.Nm ENGINE_set_DH , 29.Nm ENGINE_set_DH ,
32.Nm ENGINE_get_DH , 30.Nm ENGINE_get_DH ,
33.Nm ENGINE_set_RAND , 31.Nm ENGINE_set_RAND ,
@@ -62,21 +60,12 @@
62.Fa "const ENGINE *e" 60.Fa "const ENGINE *e"
63.Fc 61.Fc
64.Ft int 62.Ft int
65.Fo ENGINE_set_ECDH 63.Fo ENGINE_set_EC
66.Fa "ENGINE *e" 64.Fa "ENGINE *e"
67.Fa "const ECDH_METHOD *dh_meth" 65.Fa "const EC_KEY_METHOD *ec_meth"
68.Fc 66.Fc
69.Ft const ECDH_METHOD * 67.Ft const EC_KEY_METHOD *
70.Fo ENGINE_get_ECDH 68.Fo ENGINE_get_EC
71.Fa "const ENGINE *e"
72.Fc
73.Ft int
74.Fo ENGINE_set_ECDSA
75.Fa "ENGINE *e"
76.Fa "const ECDSA_METHOD *dh_meth"
77.Fc
78.Ft const ECDSA_METHOD *
79.Fo ENGINE_get_ECDSA
80.Fa "const ENGINE *e" 69.Fa "const ENGINE *e"
81.Fc 70.Fc
82.Ft int 71.Ft int
@@ -159,8 +148,7 @@ Partial information about the various method objects is available from
159.Xr RSA_get_default_method 3 , 148.Xr RSA_get_default_method 3 ,
160.Xr DSA_meth_new 3 , 149.Xr DSA_meth_new 3 ,
161.Xr DSA_get_default_method 3 , 150.Xr DSA_get_default_method 3 ,
162.Fn ECDH_get_default_method , 151.Xr EC_KEY_get_default_method 3 ,
163.Xr ECDSA_get_default_method 3 ,
164.Xr DH_get_default_method 3 , 152.Xr DH_get_default_method 3 ,
165.Xr RAND_get_rand_method 3 , 153.Xr RAND_get_rand_method 3 ,
166.Xr EVP_get_cipherbynid 3 , 154.Xr EVP_get_cipherbynid 3 ,
@@ -237,9 +225,8 @@ as shown in the following table:
237.It Accessor: Ta Called by: 225.It Accessor: Ta Called by:
238.It Fn ENGINE_get_RSA Ta Xr RSA_new_method 3 , Xr RSA_new 3 226.It Fn ENGINE_get_RSA Ta Xr RSA_new_method 3 , Xr RSA_new 3
239.It Fn ENGINE_get_DSA Ta Xr DSA_new_method 3 , Xr DSA_new 3 227.It Fn ENGINE_get_DSA Ta Xr DSA_new_method 3 , Xr DSA_new 3
240.It Fn ENGINE_get_ECDH Ta Fn ECDH_set_method , Fn ECDH_compute_key 228.It Fn ENGINE_get_EC Ta Xr EC_KEY_new_method 3 , Xr EC_KEY_new 3 ,
241.It Fn ENGINE_get_ECDSA Ta Xr ECDSA_set_method 3 , 229.Xr EC_KEY_new_by_curve_name 3
242.Xr ECDSA_do_sign 3 , Xr ECDSA_do_verify 3
243.It Fn ENGINE_get_DH Ta Xr DH_new_method 3 , Xr DH_new 3 230.It Fn ENGINE_get_DH Ta Xr DH_new_method 3 , Xr DH_new 3
244.It Fn ENGINE_get_RAND Ta unused 231.It Fn ENGINE_get_RAND Ta unused
245.It Fn ENGINE_get_STORE Ta unused 232.It Fn ENGINE_get_STORE Ta unused
@@ -318,12 +305,13 @@ and
318first appeared in OpenSSL 0.9.7 and have been available since 305first appeared in OpenSSL 0.9.7 and have been available since
319.Ox 3.2 . 306.Ox 3.2 .
320.Pp 307.Pp
321.Fn ENGINE_set_ECDH , 308.Fn ENGINE_set_STORE
322.Fn ENGINE_get_ECDH ,
323.Fn ENGINE_set_ECDSA ,
324.Fn ENGINE_get_ECDSA ,
325.Fn ENGINE_set_STORE ,
326and 309and
327.Fn ENGINE_get_STORE 310.Fn ENGINE_get_STORE
328first appeared in OpenSSL 0.9.8 and have been available since 311first appeared in OpenSSL 0.9.8 and have been available since
329.Ox 4.5 . 312.Ox 4.5 .
313.Fn ENGINE_set_EC
314and
315.Fn ENGINE_get_EC
316first appeared in OpenSSL 1.1.0 and have been available since
317.Ox 6.5 .