summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2006-07-26 12:45:53 +0000
committerjmc <>2006-07-26 12:45:53 +0000
commit71567ea4455e94170489d223406074cdc40ce81b (patch)
treedd1af6696fc12418725b72acaf506b15ad49f735
parent2e68acdc5b7bccdefaecd31e196895c5306e98f6 (diff)
downloadopenbsd-71567ea4455e94170489d223406074cdc40ce81b.tar.gz
openbsd-71567ea4455e94170489d223406074cdc40ce81b.tar.bz2
openbsd-71567ea4455e94170489d223406074cdc40ce81b.zip
better macros;
-rw-r--r--src/lib/libc/crypt/blowfish.312
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libc/crypt/blowfish.3 b/src/lib/libc/crypt/blowfish.3
index dd9d9fe17e..e3a3da04fa 100644
--- a/src/lib/libc/crypt/blowfish.3
+++ b/src/lib/libc/crypt/blowfish.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: blowfish.3,v 1.16 2006/07/26 12:43:02 jmc Exp $ 1.\" $OpenBSD: blowfish.3,v 1.17 2006/07/26 12:45:53 jmc Exp $
2.\" 2.\"
3.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 3.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
4.\" All rights reserved. 4.\" All rights reserved.
@@ -59,7 +59,7 @@
59.Ft void 59.Ft void
60.Fn blf_cbc_decrypt "blf_ctx *state" "u_int8_t *iv" "u_int8_t *data" "u_int32_t datalen" 60.Fn blf_cbc_decrypt "blf_ctx *state" "u_int8_t *iv" "u_int8_t *data" "u_int32_t datalen"
61.Sh DESCRIPTION 61.Sh DESCRIPTION
62.Pa Blowfish 62.Em Blowfish
63is a fast unpatented block cipher designed by Bruce Schneier. 63is a fast unpatented block cipher designed by Bruce Schneier.
64It basically consists of a 16-round Feistel network. 64It basically consists of a 16-round Feistel network.
65The block size is 64 bits and the maximum key size is 448 bits. 65The block size is 64 bits and the maximum key size is 448 bits.
@@ -75,7 +75,7 @@ is the initialized state derived from
75.Fn blf_key . 75.Fn blf_key .
76The stream of 32-bit words is encrypted in Electronic Codebook 76The stream of 32-bit words is encrypted in Electronic Codebook
77Mode (ECB) and 77Mode (ECB) and
78.Pa blocks 78.Fa blocks
79is the number of 64-bit blocks in the stream. 79is the number of 64-bit blocks in the stream.
80.Fn blf_dec 80.Fn blf_dec
81is used for decrypting Blowfish encrypted blocks. 81is used for decrypting Blowfish encrypted blocks.
@@ -92,11 +92,11 @@ and
92are used for encrypting and decrypting octet streams in 92are used for encrypting and decrypting octet streams in
93Cipherblock Chaining Mode (CBC). 93Cipherblock Chaining Mode (CBC).
94For these functions 94For these functions
95.Pa datalen 95.Fa datalen
96specifies the number of octets of data to encrypt or decrypt. 96specifies the number of octets of data to encrypt or decrypt.
97It must be a multiple of 8 (64-bit block). 97It must be a multiple of 8 (64-bit block).
98The initialisation vector 98The initialisation vector
99.Pa iv 99.Fa iv
100points to an 8-byte buffer. 100points to an 8-byte buffer.
101.Pp 101.Pp
102The functions 102The functions
@@ -107,7 +107,7 @@ The functions
107and 107and
108.Fn Blowfish_decipher 108.Fn Blowfish_decipher
109are used for customization of the 109are used for customization of the
110.Pa Blowfish 110.Em Blowfish
111cipher, e.g., for the blowfish password hashing function. 111cipher, e.g., for the blowfish password hashing function.
112.Sh SEE ALSO 112.Sh SEE ALSO
113.Xr passwd 1 , 113.Xr passwd 1 ,