diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-07-26 12:45:54 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-07-26 12:45:54 +0000 |
commit | 69b4c090f9fd8df07bb74bd21ad8bffdd44c94f3 (patch) | |
tree | a4c1d6bc8a0258cf96def0f66e55b8527e22fde3 /lib/libc | |
parent | 855fd31f87c565d6cb9b55b11e31ea86adf77e70 (diff) |
better macros;
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/crypt/blowfish.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/crypt/blowfish.3 b/lib/libc/crypt/blowfish.3 index dd9d9fe17e9..e3a3da04fa3 100644 --- a/lib/libc/crypt/blowfish.3 +++ b/lib/libc/crypt/blowfish.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: blowfish.3,v 1.16 2006/07/26 12:43:02 jmc Exp $ +.\" $OpenBSD: blowfish.3,v 1.17 2006/07/26 12:45:53 jmc Exp $ .\" .\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> .\" All rights reserved. @@ -59,7 +59,7 @@ .Ft void .Fn blf_cbc_decrypt "blf_ctx *state" "u_int8_t *iv" "u_int8_t *data" "u_int32_t datalen" .Sh DESCRIPTION -.Pa Blowfish +.Em Blowfish is a fast unpatented block cipher designed by Bruce Schneier. It basically consists of a 16-round Feistel network. The block size is 64 bits and the maximum key size is 448 bits. @@ -75,7 +75,7 @@ is the initialized state derived from .Fn blf_key . The stream of 32-bit words is encrypted in Electronic Codebook Mode (ECB) and -.Pa blocks +.Fa blocks is the number of 64-bit blocks in the stream. .Fn blf_dec is used for decrypting Blowfish encrypted blocks. @@ -92,11 +92,11 @@ and are used for encrypting and decrypting octet streams in Cipherblock Chaining Mode (CBC). For these functions -.Pa datalen +.Fa datalen specifies the number of octets of data to encrypt or decrypt. It must be a multiple of 8 (64-bit block). The initialisation vector -.Pa iv +.Fa iv points to an 8-byte buffer. .Pp The functions @@ -107,7 +107,7 @@ The functions and .Fn Blowfish_decipher are used for customization of the -.Pa Blowfish +.Em Blowfish cipher, e.g., for the blowfish password hashing function. .Sh SEE ALSO .Xr passwd 1 , |