summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EVP_PKEY_sign.3
diff options
context:
space:
mode:
authortb <>2025-04-17 14:58:09 +0000
committertb <>2025-04-17 14:58:09 +0000
commit6f34b1f56143bc41374d32f1ad51d79d41501431 (patch)
treeef34953019c29bd29272d62a3f5be39397609dc2 /src/lib/libcrypto/man/EVP_PKEY_sign.3
parent612af42285ca57d13d2a643f6a1dbd10fb1674f1 (diff)
downloadopenbsd-6f34b1f56143bc41374d32f1ad51d79d41501431.tar.gz
openbsd-6f34b1f56143bc41374d32f1ad51d79d41501431.tar.bz2
openbsd-6f34b1f56143bc41374d32f1ad51d79d41501431.zip
Use hyphenated spelling for the SHAs except for the API
The mix of SHA256 and SHA-256 is jarring, so use FIPS's spelling. Leave HMAC-SHA256 as it is and fix a nearby RIPEMD-160.
Diffstat (limited to 'src/lib/libcrypto/man/EVP_PKEY_sign.3')
-rw-r--r--src/lib/libcrypto/man/EVP_PKEY_sign.36
1 files changed, 3 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..afd9177596 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.10 2025/04/17 14:58:09 tb 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: April 17 2025 $
53.Dt EVP_PKEY_SIGN 3 53.Dt EVP_PKEY_SIGN 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -134,7 +134,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 134In particular, a return value of -2 indicates the operation is not
135supported by the public key algorithm. 135supported by the public key algorithm.
136.Sh EXAMPLES 136.Sh EXAMPLES
137Sign data using RSA with PKCS#1 padding and SHA256 digest: 137Sign data using RSA with PKCS#1 padding and SHA-256 digest:
138.Bd -literal -offset indent 138.Bd -literal -offset indent
139#include <openssl/evp.h> 139#include <openssl/evp.h>
140#include <openssl/rsa.h> 140#include <openssl/rsa.h>