diff options
-rw-r--r-- | src/lib/libc/crypt/blowfish.3 | 12 |
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 |
63 | is a fast unpatented block cipher designed by Bruce Schneier. | 63 | is a fast unpatented block cipher designed by Bruce Schneier. |
64 | It basically consists of a 16-round Feistel network. | 64 | It basically consists of a 16-round Feistel network. |
65 | The block size is 64 bits and the maximum key size is 448 bits. | 65 | The 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 . |
76 | The stream of 32-bit words is encrypted in Electronic Codebook | 76 | The stream of 32-bit words is encrypted in Electronic Codebook |
77 | Mode (ECB) and | 77 | Mode (ECB) and |
78 | .Pa blocks | 78 | .Fa blocks |
79 | is the number of 64-bit blocks in the stream. | 79 | is the number of 64-bit blocks in the stream. |
80 | .Fn blf_dec | 80 | .Fn blf_dec |
81 | is used for decrypting Blowfish encrypted blocks. | 81 | is used for decrypting Blowfish encrypted blocks. |
@@ -92,11 +92,11 @@ and | |||
92 | are used for encrypting and decrypting octet streams in | 92 | are used for encrypting and decrypting octet streams in |
93 | Cipherblock Chaining Mode (CBC). | 93 | Cipherblock Chaining Mode (CBC). |
94 | For these functions | 94 | For these functions |
95 | .Pa datalen | 95 | .Fa datalen |
96 | specifies the number of octets of data to encrypt or decrypt. | 96 | specifies the number of octets of data to encrypt or decrypt. |
97 | It must be a multiple of 8 (64-bit block). | 97 | It must be a multiple of 8 (64-bit block). |
98 | The initialisation vector | 98 | The initialisation vector |
99 | .Pa iv | 99 | .Fa iv |
100 | points to an 8-byte buffer. | 100 | points to an 8-byte buffer. |
101 | .Pp | 101 | .Pp |
102 | The functions | 102 | The functions |
@@ -107,7 +107,7 @@ The functions | |||
107 | and | 107 | and |
108 | .Fn Blowfish_decipher | 108 | .Fn Blowfish_decipher |
109 | are used for customization of the | 109 | are used for customization of the |
110 | .Pa Blowfish | 110 | .Em Blowfish |
111 | cipher, e.g., for the blowfish password hashing function. | 111 | cipher, e.g., for the blowfish password hashing function. |
112 | .Sh SEE ALSO | 112 | .Sh SEE ALSO |
113 | .Xr passwd 1 , | 113 | .Xr passwd 1 , |