diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-03-29 21:26:52 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-03-29 21:26:52 +0000 |
commit | 1798ba1d52450791a53d3ba92bed68236ed2067e (patch) | |
tree | b540d79ab26dfff991971266c633f6ee79c182a0 /lib | |
parent | ccb3d23cc618d98ecde12d3aacd493fc0fc8a4c8 (diff) |
Remove mention of link between message digests and public key algorithms.
The comment in EVP_DigestInit.pod is:
"EVP_MD_pkey_type() returns the NID of the public key signing algorithm
associated with this digest. For example EVP_sha1() is associated with
RSA so this will return NID_sha1WithRSAEncryption. Since digests and
signature algorithms are no longer linked this function is only retained
for compatibility reasons."
So there is no link anymore.
From <paul dot dale at oracle dot com>
via OpenSSL commit 79b49fb0 Mar 20 10:03:10 2018 +1000
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/man/EVP_SignInit.3 | 12 | ||||
-rw-r--r-- | lib/libcrypto/man/EVP_VerifyInit.3 | 12 |
2 files changed, 8 insertions, 16 deletions
diff --git a/lib/libcrypto/man/EVP_SignInit.3 b/lib/libcrypto/man/EVP_SignInit.3 index a2314996554..e1dcccabab8 100644 --- a/lib/libcrypto/man/EVP_SignInit.3 +++ b/lib/libcrypto/man/EVP_SignInit.3 @@ -1,5 +1,6 @@ -.\" $OpenBSD: EVP_SignInit.3,v 1.8 2018/03/27 17:35:50 schwarze Exp $ -.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 +.\" $OpenBSD: EVP_SignInit.3,v 1.9 2018/03/29 21:26:51 schwarze Exp $ +.\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 +.\" selective merge up to: OpenSSL 79b49fb0 Mar 20 10:03:10 2018 +1000 .\" .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. .\" Copyright (c) 2000-2002, 2005, 2006, 2014-2016 The OpenSSL Project. @@ -49,7 +50,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: March 29 2018 $ .Dt EVP_SIGNINIT 3 .Os .Sh NAME @@ -154,11 +155,6 @@ used in preference to the low level interfaces. This is because the code then becomes transparent to the algorithm used and much more flexible. .Pp -Due to the link between message digests and public key algorithms the -correct digest algorithm must be used with the correct public key type. -A list of algorithms and associated public key algorithms appears in -.Xr EVP_DigestInit 3 . -.Pp The call to .Fn EVP_SignFinal internally finalizes a copy of the digest context. diff --git a/lib/libcrypto/man/EVP_VerifyInit.3 b/lib/libcrypto/man/EVP_VerifyInit.3 index 0a95a087c3d..a3cac954559 100644 --- a/lib/libcrypto/man/EVP_VerifyInit.3 +++ b/lib/libcrypto/man/EVP_VerifyInit.3 @@ -1,5 +1,6 @@ -.\" $OpenBSD: EVP_VerifyInit.3,v 1.7 2018/03/27 17:35:50 schwarze Exp $ -.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 +.\" $OpenBSD: EVP_VerifyInit.3,v 1.8 2018/03/29 21:26:51 schwarze Exp $ +.\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 +.\" selective merge up to: OpenSSL 79b49fb0 Mar 20 10:03:10 2018 +1000 .\" .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. .\" Copyright (c) 2000, 2001, 2006, 2016 The OpenSSL Project. @@ -49,7 +50,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: March 29 2018 $ .Dt EVP_VERIFYINIT 3 .Os .Sh NAME @@ -133,11 +134,6 @@ used in preference to the low level interfaces. This is because the code then becomes transparent to the algorithm used and much more flexible. .Pp -Due to the link between message digests and public key algorithms, the -correct digest algorithm must be used with the correct public key type. -A list of algorithms and associated public key algorithms appears in -.Xr EVP_DigestInit 3 . -.Pp The call to .Fn EVP_VerifyFinal internally finalizes a copy of the digest context. |