Standardize and sort sections, remove some whitespace.

This commit is contained in:
wiz 2001-09-16 02:28:09 +00:00
parent 58329ea2bf
commit 2beb113a1b
2 changed files with 36 additions and 36 deletions

View File

@ -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>
@ -184,20 +184,6 @@ char *buf = "abc";
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 @@ helper functions are derived from code written by Poul-Henning Kamp.
.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.

View File

@ -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>
@ -66,7 +66,7 @@ of a message called a message digest. The algorithm takes a
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 @@ function adds
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 @@ and stores a message digest in the
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 @@ char *buf = "abc";
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 @@ helper functions are derived from code written by Poul-Henning Kamp.
.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.