aboutsummaryrefslogtreecommitdiff
path: root/lib/libmd/sha256.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libmd/sha256.3')
-rw-r--r--lib/libmd/sha256.310
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libmd/sha256.3 b/lib/libmd/sha256.3
index d11f2f783557..e22258f40140 100644
--- a/lib/libmd/sha256.3
+++ b/lib/libmd/sha256.3
@@ -7,7 +7,6 @@
.\" ----------------------------------------------------------------------------
.\"
.\" From: Id: mdX.3,v 1.14 1999/02/11 20:31:49 wollman Exp
-.\" $FreeBSD$
.\"
.Dd July 20, 2018
.Dt SHA256 3
@@ -97,8 +96,7 @@ is a wrapper for
.Fn SHA256_Final
which converts the return value to a 65-character
(including the terminating '\e0')
-.Tn ASCII
-string which represents the 256 bits in hexadecimal.
+ASCII string which represents the 256 bits in hexadecimal.
.Pp
.Fn SHA256_File
calculates the digest of a file, and uses
@@ -164,7 +162,7 @@ may return NULL when underlying
.Xr fstat 2 ,
.Xr lseek 2 ,
or
-.Xr SHA256_End 2
+.Xr SHA256_End 3
fail.
.Sh SEE ALSO
.Xr md4 3 ,
@@ -178,9 +176,7 @@ These functions appeared in
.Fx 6.0 .
.Sh AUTHORS
The core hash routines were implemented by Colin Percival based on
-the published
-.Tn FIPS 180-2
-standard.
+the published FIPS 180-2 standard.
.Sh BUGS
No method is known to exist which finds two files having the same hash value,
nor to find a file with a specific hash value.