diff options
author | tb <> | 2025-01-05 15:40:42 +0000 |
---|---|---|
committer | tb <> | 2025-01-05 15:40:42 +0000 |
commit | 4769348b8b7ffa8b1bf6a62e32faa3fdb90cff43 (patch) | |
tree | e98207f209b781af0fbc508c0c937f82d5564c3d | |
parent | aeaaf636a6726b17d0d27ea128a573bc90c4d04f (diff) | |
download | openbsd-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.3 | 15 | ||||
-rw-r--r-- | src/lib/libcrypto/man/RSA_meth_new.3 | 24 |
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. | |||
383 | This flag is set by | 383 | This 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 |
386 | Enable the use of the functions set with | 386 | This flag has no effect. |
387 | .Xr RSA_meth_set_sign 3 | 387 | It is provided only for backward compatibility with legacy applications. |
388 | and | ||
389 | .Xr RSA_meth_set_verify 3 . | ||
390 | If unset, the functions set with | ||
391 | .Xr RSA_meth_set_priv_enc 3 | ||
392 | and | ||
393 | .Xr RSA_meth_set_pub_dec 3 | ||
394 | are used instead, respectively. | ||
395 | .El | 388 | .El |
396 | .Pp | 389 | .Pp |
397 | The flags | 390 | The 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 |
456 | get and set the optional functions | 456 | get and set the optional functions |
457 | used for creating and verifying an RSA signature. | 457 | used for creating and verifying an RSA signature. |
458 | If the flag | ||
459 | .Dv RSA_FLAG_SIGN_VER | ||
460 | is set on the | ||
461 | .Vt RSA | ||
462 | object in question and | ||
463 | .Fa sign | ||
464 | or | ||
465 | .Fa verify | ||
466 | is not | ||
467 | .Dv NULL , | ||
468 | it will be called from | ||
469 | .Xr RSA_sign 3 | ||
470 | or | ||
471 | .Xr RSA_verify 3 , | ||
472 | respectively, and take the same parameters as those. | ||
473 | Otherwise, | ||
474 | .Xr RSA_private_encrypt 3 | ||
475 | or | ||
476 | .Xr RSA_public_decrypt 3 | ||
477 | will be used instead. | ||
478 | .Pp | 458 | .Pp |
479 | .Fn RSA_meth_get_mod_exp | 459 | .Fn RSA_meth_get_mod_exp |
480 | and | 460 | and |