Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/hash Standardize and sort sections, remove some whi...
details: https://anonhg.NetBSD.org/src/rev/06fe0a140931
branches: trunk
changeset: 515043:06fe0a140931
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Sep 16 02:28:09 2001 +0000
description:
Standardize and sort sections, remove some whitespace.
diffstat:
lib/libc/hash/rmd160.3 | 30 +++++++++++++++---------------
lib/libc/hash/sha1.3 | 42 +++++++++++++++++++++---------------------
2 files changed, 36 insertions(+), 36 deletions(-)
diffs (129 lines):
diff -r 7d91b9747641 -r 06fe0a140931 lib/libc/hash/rmd160.3
--- a/lib/libc/hash/rmd160.3 Sun Sep 16 02:25:37 2001 +0000
+++ b/lib/libc/hash/rmd160.3 Sun Sep 16 02:28:09 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: rmd160.3,v 1.2 2000/12/11 18:57:46 ad Exp $
+.\" $NetBSD: rmd160.3,v 1.3 2001/09/16 02:28:09 wiz Exp $
.\" $OpenBSD: rmd160.3,v 1.12 2000/04/18 03:01:29 aaron Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller%courtesan.com@localhost>
@@ -184,20 +184,6 @@
printf("0x%s\en", RMD160Data(buf, strlen(buf), output));
.Ed
-.Sh CAVEATS
-If a message digest is to be copied to a multi-byte type (ie:
-an array of five 32-bit integers) it will be necessary to
-perform byte swapping on little endian machines such as the i386, alpha,
-and vax.
-.Sh AUTHOR
-This implementation of RMD-160 was written by Antoon Bosselaers.
-.Pp
-The
-.Fn RMD160End ,
-.Fn RMD160File ,
-and
-.Fn RMD160Data
-helper functions are derived from code written by Poul-Henning Kamp.
.Sh SEE ALSO
.Xr rmd160 1 ,
.Xr md4 3 ,
@@ -223,3 +209,17 @@
.Sh HISTORY
The RMD-160 functions appeared in
.Ox 2.1 .
+.Sh AUTHORS
+This implementation of RMD-160 was written by Antoon Bosselaers.
+.Pp
+The
+.Fn RMD160End ,
+.Fn RMD160File ,
+and
+.Fn RMD160Data
+helper functions are derived from code written by Poul-Henning Kamp.
+.Sh BUGS
+If a message digest is to be copied to a multi-byte type (ie:
+an array of five 32-bit integers) it will be necessary to
+perform byte swapping on little endian machines such as the i386, alpha,
+and vax.
diff -r 7d91b9747641 -r 06fe0a140931 lib/libc/hash/sha1.3
--- a/lib/libc/hash/sha1.3 Sun Sep 16 02:25:37 2001 +0000
+++ b/lib/libc/hash/sha1.3 Sun Sep 16 02:28:09 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sha1.3,v 1.7 2001/03/29 18:50:59 kleink Exp $
+.\" $NetBSD: sha1.3,v 1.8 2001/09/16 02:28:09 wiz Exp $
.\" $OpenBSD: sha1.3,v 1.9 1998/03/07 22:18:12 millert Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller%courtesan.com@localhost>
@@ -66,7 +66,7 @@
message less than 2^64 bits as input and produces a 160-bit digest
suitable for use as a digital signature.
.Pp
-The SHA1 functions are considered to be more secure than the
+The SHA1 functions are considered to be more secure than the
.Xr md4 3
and
.Xr md5 3
@@ -87,7 +87,7 @@
of length
.Ar len
to the SHA1_CTX specified by
-.Ar context.
+.Ar context .
.Fn SHA1Final
is called when all data has been added via
.Fn SHA1Update
@@ -96,7 +96,7 @@
parameter.
When a null pointer is passed to
.Fn SHA1Final
-as first argument only the final padding will be applied and the
+as first argument only the final padding will be applied and the
current context can still be used with
.Fn SHA1Update .
.Pp
@@ -180,23 +180,6 @@
printf("0x%s", SHA1Data(buf, strlen(buf), output));
.Ed
-.Sh CAVEATS
-This implementation of SHA-1 has not been validated by NIST
-and as such is not in official compliance with the standard.
-.Pp
-If a message digest is to be copied to a multi-byte type (ie:
-an array of five 32-bit integers) it will be necessary to
-perform byte swapping on little endian machines such as the i386, alpha,
-and vax.
-.Sh AUTHOR
-This implementation of SHA-1 was written by Steve Reid.
-.br
-The
-.Fn SHA1End ,
-.Fn SHA1File ,
-and
-.Fn SHA1Data
-helper functions are derived from code written by Poul-Henning Kamp.
.Sh SEE ALSO
.\" .Xr sha1 1 ,
.Xr md5 1 ,
@@ -211,3 +194,20 @@
.Sh HISTORY
The SHA-1 functions appeared in
.Nx 1.4 .
+.Sh AUTHORS
+This implementation of SHA-1 was written by Steve Reid.
+.Pp
+The
+.Fn SHA1End ,
+.Fn SHA1File ,
+and
+.Fn SHA1Data
+helper functions are derived from code written by Poul-Henning Kamp.
+.Sh BUGS
+This implementation of SHA-1 has not been validated by NIST
+and as such is not in official compliance with the standard.
+.Pp
+If a message digest is to be copied to a multi-byte type (ie:
+an array of five 32-bit integers) it will be necessary to
+perform byte swapping on little endian machines such as the i386, alpha,
+and vax.
Home |
Main Index |
Thread Index |
Old Index