diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/man/EVP_DigestInit.3 | 30 | ||||
| -rw-r--r-- | src/lib/libcrypto/man/EVP_DigestSignInit.3 | 12 | ||||
| -rw-r--r-- | src/lib/libcrypto/man/EVP_DigestVerifyInit.3 | 12 |
3 files changed, 7 insertions, 47 deletions
diff --git a/src/lib/libcrypto/man/EVP_DigestInit.3 b/src/lib/libcrypto/man/EVP_DigestInit.3 index 85800722d5..9b2ee4e09f 100644 --- a/src/lib/libcrypto/man/EVP_DigestInit.3 +++ b/src/lib/libcrypto/man/EVP_DigestInit.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: EVP_DigestInit.3,v 1.21 2021/09/10 18:58:43 millert Exp $ | 1 | .\" $OpenBSD: EVP_DigestInit.3,v 1.22 2022/01/15 09:08:51 tb Exp $ |
| 2 | .\" full merge up to: OpenSSL 7f572e95 Dec 2 13:57:04 2015 +0000 | 2 | .\" full merge up to: OpenSSL 7f572e95 Dec 2 13:57:04 2015 +0000 |
| 3 | .\" selective merge up to: OpenSSL a95d7574 Jul 2 12:16:38 2017 -0400 | 3 | .\" selective merge up to: OpenSSL a95d7574 Jul 2 12:16:38 2017 -0400 |
| 4 | .\" | 4 | .\" |
| @@ -68,7 +68,7 @@ | |||
| 68 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 68 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 69 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 69 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 70 | .\" | 70 | .\" |
| 71 | .Dd $Mdocdate: September 10 2021 $ | 71 | .Dd $Mdocdate: January 15 2022 $ |
| 72 | .Dt EVP_DIGESTINIT 3 | 72 | .Dt EVP_DIGESTINIT 3 |
| 73 | .Os | 73 | .Os |
| 74 | .Sh NAME | 74 | .Sh NAME |
| @@ -105,8 +105,6 @@ | |||
| 105 | .Nm EVP_sha256 , | 105 | .Nm EVP_sha256 , |
| 106 | .Nm EVP_sha384 , | 106 | .Nm EVP_sha384 , |
| 107 | .Nm EVP_sha512 , | 107 | .Nm EVP_sha512 , |
| 108 | .Nm EVP_dss , | ||
| 109 | .Nm EVP_dss1 , | ||
| 110 | .Nm EVP_ripemd160 , | 108 | .Nm EVP_ripemd160 , |
| 111 | .Nm EVP_get_digestbyname , | 109 | .Nm EVP_get_digestbyname , |
| 112 | .Nm EVP_get_digestbynid , | 110 | .Nm EVP_get_digestbynid , |
| @@ -243,10 +241,6 @@ | |||
| 243 | .Ft const EVP_MD * | 241 | .Ft const EVP_MD * |
| 244 | .Fn EVP_sha512 void | 242 | .Fn EVP_sha512 void |
| 245 | .Ft const EVP_MD * | 243 | .Ft const EVP_MD * |
| 246 | .Fn EVP_dss void | ||
| 247 | .Ft const EVP_MD * | ||
| 248 | .Fn EVP_dss1 void | ||
| 249 | .Ft const EVP_MD * | ||
| 250 | .Fn EVP_ripemd160 void | 244 | .Fn EVP_ripemd160 void |
| 251 | .Ft const EVP_MD * | 245 | .Ft const EVP_MD * |
| 252 | .Fo EVP_get_digestbyname | 246 | .Fo EVP_get_digestbyname |
| @@ -484,16 +478,6 @@ returns an | |||
| 484 | .Vt EVP_MD | 478 | .Vt EVP_MD |
| 485 | structure that provides concatenated MD5 and SHA1 message digests. | 479 | structure that provides concatenated MD5 and SHA1 message digests. |
| 486 | .Pp | 480 | .Pp |
| 487 | .Fn EVP_dss | ||
| 488 | and | ||
| 489 | .Fn EVP_dss1 | ||
| 490 | return | ||
| 491 | .Vt EVP_MD | ||
| 492 | structures for SHA1 digest algorithms but using DSS (DSA) for the | ||
| 493 | signature algorithm. | ||
| 494 | Note: there is no need to use these pseudo-digests in OpenSSL 1.0.0 and | ||
| 495 | later; they are however retained for compatibility. | ||
| 496 | .Pp | ||
| 497 | .Fn EVP_md_null | 481 | .Fn EVP_md_null |
| 498 | is a "null" message digest that does nothing: | 482 | is a "null" message digest that does nothing: |
| 499 | i.e. the hash it returns is of zero length. | 483 | i.e. the hash it returns is of zero length. |
| @@ -604,8 +588,6 @@ is | |||
| 604 | .Fn EVP_md5 , | 588 | .Fn EVP_md5 , |
| 605 | .Fn EVP_md5_sha1 , | 589 | .Fn EVP_md5_sha1 , |
| 606 | .Fn EVP_sha1 , | 590 | .Fn EVP_sha1 , |
| 607 | .Fn EVP_dss , | ||
| 608 | .Fn EVP_dss1 , | ||
| 609 | and | 591 | and |
| 610 | .Fn EVP_ripemd160 | 592 | .Fn EVP_ripemd160 |
| 611 | return pointers to the corresponding | 593 | return pointers to the corresponding |
| @@ -694,10 +676,6 @@ main(int argc, char *argv[]) | |||
| 694 | and | 676 | and |
| 695 | .Fn EVP_sha1 | 677 | .Fn EVP_sha1 |
| 696 | first appeared in SSLeay 0.5.1. | 678 | first appeared in SSLeay 0.5.1. |
| 697 | .Fn EVP_dss | ||
| 698 | and | ||
| 699 | .Fn EVP_dss1 | ||
| 700 | first appeared in SSLeay 0.6.0. | ||
| 701 | .Fn EVP_MD_size | 679 | .Fn EVP_MD_size |
| 702 | first appeared in SSLeay 0.6.6. | 680 | first appeared in SSLeay 0.6.6. |
| 703 | .Fn EVP_MD_CTX_size , | 681 | .Fn EVP_MD_CTX_size , |
| @@ -767,6 +745,4 @@ first appeared in OpenSSL 1.1.0 and have been available since | |||
| 767 | The link between digests and signing algorithms was fixed in OpenSSL 1.0 | 745 | The link between digests and signing algorithms was fixed in OpenSSL 1.0 |
| 768 | and later, so now | 746 | and later, so now |
| 769 | .Fn EVP_sha1 | 747 | .Fn EVP_sha1 |
| 770 | can be used with RSA and DSA; there is no need to use | 748 | can be used with RSA and DSA. |
| 771 | .Fn EVP_dss1 | ||
| 772 | any more. | ||
diff --git a/src/lib/libcrypto/man/EVP_DigestSignInit.3 b/src/lib/libcrypto/man/EVP_DigestSignInit.3 index 57db4b31d3..de6e57c2cd 100644 --- a/src/lib/libcrypto/man/EVP_DigestSignInit.3 +++ b/src/lib/libcrypto/man/EVP_DigestSignInit.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: EVP_DigestSignInit.3,v 1.11 2021/05/20 14:41:47 tb Exp $ | 1 | .\" $OpenBSD: EVP_DigestSignInit.3,v 1.12 2022/01/15 09:08:51 tb Exp $ |
| 2 | .\" OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400 | 2 | .\" OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400 |
| 3 | .\" | 3 | .\" |
| 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. |
| @@ -49,7 +49,7 @@ | |||
| 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 51 | .\" | 51 | .\" |
| 52 | .Dd $Mdocdate: May 20 2021 $ | 52 | .Dd $Mdocdate: January 15 2022 $ |
| 53 | .Dt EVP_DIGESTSIGNINIT 3 | 53 | .Dt EVP_DIGESTSIGNINIT 3 |
| 54 | .Os | 54 | .Os |
| 55 | .Sh NAME | 55 | .Sh NAME |
| @@ -189,14 +189,6 @@ used in preference to the low-level interfaces. | |||
| 189 | This is because the code then becomes transparent to the algorithm used | 189 | This is because the code then becomes transparent to the algorithm used |
| 190 | and much more flexible. | 190 | and much more flexible. |
| 191 | .Pp | 191 | .Pp |
| 192 | In previous versions of OpenSSL, there was a link between message digest | ||
| 193 | types and public key algorithms. | ||
| 194 | This meant that "clone" digests such as | ||
| 195 | .Xr EVP_dss1 3 | ||
| 196 | needed to be used to sign using SHA1 and DSA. | ||
| 197 | This is no longer necessary and the use of clone digest is now | ||
| 198 | discouraged. | ||
| 199 | .Pp | ||
| 200 | The call to | 192 | The call to |
| 201 | .Fn EVP_DigestSignFinal | 193 | .Fn EVP_DigestSignFinal |
| 202 | internally finalizes a copy of the digest context. | 194 | internally finalizes a copy of the digest context. |
diff --git a/src/lib/libcrypto/man/EVP_DigestVerifyInit.3 b/src/lib/libcrypto/man/EVP_DigestVerifyInit.3 index 0b3fa13921..0eb3143467 100644 --- a/src/lib/libcrypto/man/EVP_DigestVerifyInit.3 +++ b/src/lib/libcrypto/man/EVP_DigestVerifyInit.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: EVP_DigestVerifyInit.3,v 1.13 2021/05/20 14:41:47 tb Exp $ | 1 | .\" $OpenBSD: EVP_DigestVerifyInit.3,v 1.14 2022/01/15 09:08:51 tb Exp $ |
| 2 | .\" OpenSSL fb552ac6 Sep 30 23:43:01 2009 +0000 | 2 | .\" OpenSSL fb552ac6 Sep 30 23:43:01 2009 +0000 |
| 3 | .\" | 3 | .\" |
| 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. |
| @@ -49,7 +49,7 @@ | |||
| 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 51 | .\" | 51 | .\" |
| 52 | .Dd $Mdocdate: May 20 2021 $ | 52 | .Dd $Mdocdate: January 15 2022 $ |
| 53 | .Dt EVP_DIGESTVERIFYINIT 3 | 53 | .Dt EVP_DIGESTVERIFYINIT 3 |
| 54 | .Os | 54 | .Os |
| 55 | .Sh NAME | 55 | .Sh NAME |
| @@ -170,14 +170,6 @@ used in preference to the low level interfaces. | |||
| 170 | This is because the code then becomes transparent to the algorithm used | 170 | This is because the code then becomes transparent to the algorithm used |
| 171 | and much more flexible. | 171 | and much more flexible. |
| 172 | .Pp | 172 | .Pp |
| 173 | In previous versions of OpenSSL, there was a link between message digest | ||
| 174 | types and public key algorithms. | ||
| 175 | This meant that "clone" digests such as | ||
| 176 | .Xr EVP_dss1 3 | ||
| 177 | needed to be used to sign using SHA1 and DSA. | ||
| 178 | This is no longer necessary and the use of clone digest is now | ||
| 179 | discouraged. | ||
| 180 | .Pp | ||
| 181 | The call to | 173 | The call to |
| 182 | .Fn EVP_DigestVerifyFinal | 174 | .Fn EVP_DigestVerifyFinal |
| 183 | internally finalizes a copy of the digest context. | 175 | internally finalizes a copy of the digest context. |
