diff options
author | 2019-12-04 19:01:49 +0000 | |
---|---|---|
committer | 2019-12-04 19:01:49 +0000 | |
commit | 92c262af48167a8c5d38f7ec60ad995b064770db (patch) | |
tree | dd834ac963ef0ca711833dea17a886f3c681d664 /lib/libc | |
parent | I accidentally smashed wrong contents into this file. (diff) | |
download | wireguard-openbsd-92c262af48167a8c5d38f7ec60ad995b064770db.tar.xz wireguard-openbsd-92c262af48167a8c5d38f7ec60ad995b064770db.zip |
some minor tweaks;
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/hash/SHA256Init.3 | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/libc/hash/SHA256Init.3 b/lib/libc/hash/SHA256Init.3 index 278c1cadfb1..a207df51e89 100644 --- a/lib/libc/hash/SHA256Init.3 +++ b/lib/libc/hash/SHA256Init.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SHA256Init.3,v 1.2 2019/12/04 18:28:38 deraadt Exp $ +.\" $OpenBSD: SHA256Init.3,v 1.3 2019/12/04 19:01:49 jmc Exp $ .\" .\" Copyright (c) 2003, 2004 Todd C. Miller <millert@openbsd.org> .\" @@ -175,9 +175,8 @@ than 2^64 bits as input. The SHA-384 and SHA-512 functions can process a message of at most 2^128 - 1 bits as input. .Pp -The SHA2 functions are considered to be more secure than the -.Xr sha1 3 -functions with which they share a similar interface. +The SHA2 functions are considered to be more secure than the SHA1 functions, +with which they share a similar interface. The 224, 256, 384, and 512-bit versions of SHA2 share the same interface. SHA512/256, a truncated version of SHA512, is also supported. For brevity, only the 256-bit variants are described below. @@ -230,9 +229,8 @@ The .Fn SHA256End function is a front end for .Fn SHA256Final -which converts the digest into an -.Tn ASCII -representation of the digest in hexadecimal. +which converts the digest into an ASCII representation +of the digest in hexadecimal. .Pp The .Fn SHA256File |