summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2025-01-05 15:40:42 +0000
committertb <>2025-01-05 15:40:42 +0000
commit4769348b8b7ffa8b1bf6a62e32faa3fdb90cff43 (patch)
treee98207f209b781af0fbc508c0c937f82d5564c3d
parentaeaaf636a6726b17d0d27ea128a573bc90c4d04f (diff)
downloadopenbsd-4769348b8b7ffa8b1bf6a62e32faa3fdb90cff43.tar.gz
openbsd-4769348b8b7ffa8b1bf6a62e32faa3fdb90cff43.tar.bz2
openbsd-4769348b8b7ffa8b1bf6a62e32faa3fdb90cff43.zip
Remove most of the RSA_FLAG_SIGN_VER documentation
ok jsing kn
-rw-r--r--src/lib/libcrypto/man/RSA_get0_key.315
-rw-r--r--src/lib/libcrypto/man/RSA_meth_new.324
2 files changed, 6 insertions, 33 deletions
diff --git a/src/lib/libcrypto/man/RSA_get0_key.3 b/src/lib/libcrypto/man/RSA_get0_key.3
index 3fb74b19bc..f09fb00d2b 100644
--- a/src/lib/libcrypto/man/RSA_get0_key.3
+++ b/src/lib/libcrypto/man/RSA_get0_key.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: RSA_get0_key.3,v 1.7 2023/03/06 13:05:32 tb Exp $ 1.\" $OpenBSD: RSA_get0_key.3,v 1.8 2025/01/05 15:40:42 tb Exp $
2.\" selective merge up to: OpenSSL 665d899f Aug 2 02:19:43 2017 +0800 2.\" selective merge up to: OpenSSL 665d899f Aug 2 02:19:43 2017 +0800
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -65,7 +65,7 @@
65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
66.\" OF THE POSSIBILITY OF SUCH DAMAGE. 66.\" OF THE POSSIBILITY OF SUCH DAMAGE.
67.\" 67.\"
68.Dd $Mdocdate: March 6 2023 $ 68.Dd $Mdocdate: January 5 2025 $
69.Dt RSA_GET0_KEY 3 69.Dt RSA_GET0_KEY 3
70.Os 70.Os
71.Sh NAME 71.Sh NAME
@@ -383,15 +383,8 @@ Turn off blinding during private key encryption and decryption.
383This flag is set by 383This flag is set by
384.Xr RSA_blinding_off 3 . 384.Xr RSA_blinding_off 3 .
385.It Dv RSA_FLAG_SIGN_VER 385.It Dv RSA_FLAG_SIGN_VER
386Enable the use of the functions set with 386This flag has no effect.
387.Xr RSA_meth_set_sign 3 387It is provided only for backward compatibility with legacy applications.
388and
389.Xr RSA_meth_set_verify 3 .
390If unset, the functions set with
391.Xr RSA_meth_set_priv_enc 3
392and
393.Xr RSA_meth_set_pub_dec 3
394are used instead, respectively.
395.El 388.El
396.Pp 389.Pp
397The flags 390The flags
diff --git a/src/lib/libcrypto/man/RSA_meth_new.3 b/src/lib/libcrypto/man/RSA_meth_new.3
index f42feb3f34..a3a5c549e5 100644
--- a/src/lib/libcrypto/man/RSA_meth_new.3
+++ b/src/lib/libcrypto/man/RSA_meth_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: RSA_meth_new.3,v 1.5 2019/07/13 17:26:38 schwarze Exp $ 1.\" $OpenBSD: RSA_meth_new.3,v 1.6 2025/01/05 15:40:42 tb Exp $
2.\" full merge up to: OpenSSL a970b14f Jul 31 18:58:40 2017 -0400 2.\" full merge up to: OpenSSL a970b14f Jul 31 18:58:40 2017 -0400
3.\" selective merge up to: OpenSSL 24907560 Sep 17 07:47:42 2018 +1000 3.\" selective merge up to: OpenSSL 24907560 Sep 17 07:47:42 2018 +1000
4.\" 4.\"
@@ -66,7 +66,7 @@
66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
67.\" OF THE POSSIBILITY OF SUCH DAMAGE. 67.\" OF THE POSSIBILITY OF SUCH DAMAGE.
68.\" 68.\"
69.Dd $Mdocdate: July 13 2019 $ 69.Dd $Mdocdate: January 5 2025 $
70.Dt RSA_METH_NEW 3 70.Dt RSA_METH_NEW 3
71.Os 71.Os
72.Sh NAME 72.Sh NAME
@@ -455,26 +455,6 @@ and
455.Fn RSA_meth_set_verify 455.Fn RSA_meth_set_verify
456get and set the optional functions 456get and set the optional functions
457used for creating and verifying an RSA signature. 457used for creating and verifying an RSA signature.
458If the flag
459.Dv RSA_FLAG_SIGN_VER
460is set on the
461.Vt RSA
462object in question and
463.Fa sign
464or
465.Fa verify
466is not
467.Dv NULL ,
468it will be called from
469.Xr RSA_sign 3
470or
471.Xr RSA_verify 3 ,
472respectively, and take the same parameters as those.
473Otherwise,
474.Xr RSA_private_encrypt 3
475or
476.Xr RSA_public_decrypt 3
477will be used instead.
478.Pp 458.Pp
479.Fn RSA_meth_get_mod_exp 459.Fn RSA_meth_get_mod_exp
480and 460and