summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EVP_PKEY_sign.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/EVP_PKEY_sign.3')
-rw-r--r--src/lib/libcrypto/man/EVP_PKEY_sign.37
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/EVP_PKEY_sign.3 b/src/lib/libcrypto/man/EVP_PKEY_sign.3
index d73b0abb7b..58d7e34cb6 100644
--- a/src/lib/libcrypto/man/EVP_PKEY_sign.3
+++ b/src/lib/libcrypto/man/EVP_PKEY_sign.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_PKEY_sign.3,v 1.9 2024/12/06 14:27:49 schwarze Exp $ 1.\" $OpenBSD: EVP_PKEY_sign.3,v 1.11 2025/06/08 22:40:29 schwarze Exp $
2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -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: December 6 2024 $ 52.Dd $Mdocdate: June 8 2025 $
53.Dt EVP_PKEY_SIGN 3 53.Dt EVP_PKEY_SIGN 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -57,6 +57,7 @@
57.Nm EVP_PKEY_sign 57.Nm EVP_PKEY_sign
58.Nd sign using a public key algorithm 58.Nd sign using a public key algorithm
59.Sh SYNOPSIS 59.Sh SYNOPSIS
60.Lb libcrypto
60.In openssl/evp.h 61.In openssl/evp.h
61.Ft int 62.Ft int
62.Fo EVP_PKEY_sign_init 63.Fo EVP_PKEY_sign_init
@@ -134,7 +135,7 @@ return 1 for success and 0 or a negative value for failure.
134In particular, a return value of -2 indicates the operation is not 135In particular, a return value of -2 indicates the operation is not
135supported by the public key algorithm. 136supported by the public key algorithm.
136.Sh EXAMPLES 137.Sh EXAMPLES
137Sign data using RSA with PKCS#1 padding and SHA256 digest: 138Sign data using RSA with PKCS#1 padding and SHA-256 digest:
138.Bd -literal -offset indent 139.Bd -literal -offset indent
139#include <openssl/evp.h> 140#include <openssl/evp.h>
140#include <openssl/rsa.h> 141#include <openssl/rsa.h>