summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/EVP_PKEY_get_default_digest_nid.317
1 files changed, 13 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/EVP_PKEY_get_default_digest_nid.3 b/src/lib/libcrypto/man/EVP_PKEY_get_default_digest_nid.3
index 11d0914bed..21292178a8 100644
--- a/src/lib/libcrypto/man/EVP_PKEY_get_default_digest_nid.3
+++ b/src/lib/libcrypto/man/EVP_PKEY_get_default_digest_nid.3
@@ -1,8 +1,9 @@
1.\" $OpenBSD: EVP_PKEY_get_default_digest_nid.3,v 1.5 2019/06/06 01:06:58 schwarze Exp $ 1.\" $OpenBSD: EVP_PKEY_get_default_digest_nid.3,v 1.6 2023/09/13 14:39:54 schwarze Exp $
2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" full merge up to: OpenSSL df75c2bf Dec 9 01:02:36 2018 +0100
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>.
5.\" Copyright (c) 2006, 2009, 2013 The OpenSSL Project. All rights reserved. 5.\" Copyright (c) 2006, 2009, 2013, 2018 The OpenSSL Project.
6.\" All rights reserved.
6.\" 7.\"
7.\" Redistribution and use in source and binary forms, with or without 8.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions 9.\" modification, are permitted provided that the following conditions
@@ -48,7 +49,7 @@
48.\" 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
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 51.\"
51.Dd $Mdocdate: June 6 2019 $ 52.Dd $Mdocdate: September 13 2023 $
52.Dt EVP_PKEY_GET_DEFAULT_DIGEST_NID 3 53.Dt EVP_PKEY_GET_DEFAULT_DIGEST_NID 3
53.Os 54.Os
54.Sh NAME 55.Sh NAME
@@ -70,6 +71,14 @@ to the default message digest NID for the public key signature
70operations associated with key 71operations associated with key
71.Fa pkey . 72.Fa pkey .
72.Pp 73.Pp
74Some signature algorithms, for example
75.Dv EVP_PKEY_ED25519 ,
76do not use a digest during signing.
77In this case,
78.Pf * Fa pnid
79is set to
80.Dv NID_undef .
81.Pp
73For all current standard OpenSSL public key algorithms, SHA1 is returned. 82For all current standard OpenSSL public key algorithms, SHA1 is returned.
74.Sh RETURN VALUES 83.Sh RETURN VALUES
75The 84The