summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/hash/MD5Init.39
-rw-r--r--lib/libc/hash/RMD160Init.38
-rw-r--r--lib/libc/hash/SHA1Init.311
3 files changed, 13 insertions, 15 deletions
diff --git a/lib/libc/hash/MD5Init.3 b/lib/libc/hash/MD5Init.3
index 4541ce2be59..3cfca64c3b9 100644
--- a/lib/libc/hash/MD5Init.3
+++ b/lib/libc/hash/MD5Init.3
@@ -16,9 +16,9 @@
.\" If we meet some day, and you think this stuff is worth it, you
.\" can buy me a beer in return. Poul-Henning Kamp
.\"
-.\" $OpenBSD: MD5Init.3,v 1.1 2019/08/30 22:20:43 deraadt Exp $
+.\" $OpenBSD: MD5Init.3,v 1.2 2019/12/05 21:45:05 jmc Exp $
.\"
-.Dd $Mdocdate: August 30 2019 $
+.Dd $Mdocdate: December 5 2019 $
.Dt MD5INIT 3
.Os
.Sh NAME
@@ -163,8 +163,8 @@ characters of buffer space.
.Xr cksum 1 ,
.Xr md5 1 ,
.Xr RMD160Init 3 ,
-.Xr SHA1INIT 3 ,
-.Xr SHA256INIT 3
+.Xr SHA1Init 3 ,
+.Xr SHA256Init 3
.Rs
.%A H. Dobbertin
.%D 1995
@@ -211,4 +211,3 @@ helper functions are derived from code written by
.Sh BUGS
Collisions have been found for the full version of MD5.
The use of the SHA2 functions is recommended instead.
-
diff --git a/lib/libc/hash/RMD160Init.3 b/lib/libc/hash/RMD160Init.3
index b8327bc206f..e6349e1d3c9 100644
--- a/lib/libc/hash/RMD160Init.3
+++ b/lib/libc/hash/RMD160Init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: RMD160Init.3,v 1.1 2019/08/30 22:20:43 deraadt Exp $
+.\" $OpenBSD: RMD160Init.3,v 1.2 2019/12/05 21:45:05 jmc Exp $
.\"
.\" Copyright (c) 1997, 2004 Todd C. Miller <millert@openbsd.org>
.\"
@@ -17,7 +17,7 @@
.\" See http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
.\" for detailed information about RIPEMD-160.
.\"
-.Dd $Mdocdate: August 30 2019 $
+.Dd $Mdocdate: December 5 2019 $
.Dt RMD160INIT 3
.Os
.Sh NAME
@@ -200,8 +200,8 @@ printf("0x%s\en", RMD160Data(buf, strlen(buf), output));
.Sh SEE ALSO
.Xr cksum 1 ,
.Xr MD5Init 3 ,
-.Xr SHA1INIT 3 ,
-.Xr SHA256INIT 3
+.Xr SHA1Init 3 ,
+.Xr SHA256Init 3
.Rs
.%A H. Dobbertin, A. Bosselaers, B. Preneel
.%T RIPEMD-160, a strengthened version of RIPEMD
diff --git a/lib/libc/hash/SHA1Init.3 b/lib/libc/hash/SHA1Init.3
index b577e029f7d..723ccfb4e01 100644
--- a/lib/libc/hash/SHA1Init.3
+++ b/lib/libc/hash/SHA1Init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: SHA1Init.3,v 1.1 2019/08/30 22:20:43 deraadt Exp $
+.\" $OpenBSD: SHA1Init.3,v 1.2 2019/12/05 21:45:05 jmc Exp $
.\"
.\" Copyright (c) 1997, 2004 Todd C. Miller <millert@openbsd.org>
.\"
@@ -17,7 +17,7 @@
.\" See http://csrc.nist.gov/publications/fips/fips180-1/fip180-1.txt
.\" for the detailed standard
.\"
-.Dd $Mdocdate: August 30 2019 $
+.Dd $Mdocdate: December 5 2019 $
.Dt SHA1INIT 3
.Os
.Sh NAME
@@ -117,9 +117,8 @@ The
.Fn SHA1End
function is a front end for
.Fn SHA1Final
-which converts the digest into an
-.Tn ASCII
-representation of the 160 bit digest in hexadecimal.
+which converts the digest into an ASCII representation
+of the 160 bit digest in hexadecimal.
.Pp
The
.Fn SHA1File
@@ -207,7 +206,7 @@ printf("0x%s\en", SHA1Data(buf, strlen(buf), output));
.Xr sha1 1 ,
.Xr MD5Init 3 ,
.Xr RMD160Init 3 ,
-.Xr SHA256INIT 3
+.Xr SHA256Init 3
.Sh STANDARDS
.Rs
.%A J. Burrows