Browse Source

Repairs, mostly removing hard sentence breaks.

OPENBSD_2_7
aaron 24 years ago
parent
commit
0b659e53e3
2 changed files with 16 additions and 11 deletions
  1. +9
    -6
      src/lib/libc/hash/rmd160.3
  2. +7
    -5
      src/lib/libc/hash/sha1.3

+ 9
- 6
src/lib/libc/hash/rmd160.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: rmd160.3,v 1.11 1999/08/11 03:06:06 deraadt 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> .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved. .\" All rights reserved.
@ -59,8 +59,10 @@
.Fn RMD160Data "u_char *data" "u_int len" "char *buf" .Fn RMD160Data "u_char *data" "u_int len" "char *buf"
.Sh DESCRIPTION .Sh DESCRIPTION
The RMD160 functions implement the 160-bit RIPE message digest hash algorithm The RMD160 functions implement the 160-bit RIPE message digest hash algorithm
(RMD-160). RMD-160 is used to generate a condensed representation
of a message called a message digest. The algorithm takes a
(RMD-160).
RMD-160 is used to generate a condensed representation
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 message less than 2^64 bits as input and produces a 160-bit digest
suitable for use as a digital signature. suitable for use as a digital signature.
.Pp .Pp
@ -70,7 +72,8 @@ and
.Xr md5 3 .Xr md5 3
functions and at least as secure as the functions and at least as secure as the
.Xr sha1 3 .Xr sha1 3
function. All share a similar interface.
function.
All share a similar interface.
.Pp .Pp
The The
.Fn RMD160Init .Fn RMD160Init
@ -144,8 +147,8 @@ and
functions the functions the
.Ar buf .Ar buf
parameter should either be a string of at least 41 characters in parameter should either be a string of at least 41 characters in
size or a NULL pointer. In the latter case, space will be dynamically
allocated via
size or a NULL pointer.
In the latter case, space will be dynamically allocated via
.Xr malloc 3 .Xr malloc 3
and should be freed using and should be freed using
.Xr free 3 .Xr free 3


+ 7
- 5
src/lib/libc/hash/sha1.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: sha1.3,v 1.17 1999/10/06 14:55:29 espie Exp $
.\" $OpenBSD: sha1.3,v 1.18 2000/04/18 03:01:29 aaron Exp $
.\" .\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved. .\" All rights reserved.
@ -58,8 +58,10 @@
.Fn SHA1Data "u_char *data" "u_int len" "char *buf" .Fn SHA1Data "u_char *data" "u_int len" "char *buf"
.Sh DESCRIPTION .Sh DESCRIPTION
The SHA1 functions implement the NIST Secure Hash Algorithm (SHA-1), The SHA1 functions implement the NIST Secure Hash Algorithm (SHA-1),
FIPS PUB 180-1. SHA-1 is used to generate a condensed representation
of a message called a message digest. The algorithm takes a
FIPS PUB 180-1.
SHA-1 is used to generate a condensed representation
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 message less than 2^64 bits as input and produces a 160-bit digest
suitable for use as a digital signature. suitable for use as a digital signature.
.Pp .Pp
@ -141,8 +143,8 @@ and
functions the functions the
.Ar buf .Ar buf
parameter should either be a string of at least 41 characters in parameter should either be a string of at least 41 characters in
size or a NULL pointer. In the latter case, space will be dynamically
allocated via
size or a NULL pointer.
In the latter case, space will be dynamically allocated via
.Xr malloc 3 .Xr malloc 3
and should be freed using and should be freed using
.Xr free 3 .Xr free 3


Loading…
Cancel
Save