diff options
author | jmc <> | 2016-11-26 19:16:58 +0000 |
---|---|---|
committer | jmc <> | 2016-11-26 19:16:58 +0000 |
commit | 91df07a8b77586c05d5a001bee3f85d34a97b2ae (patch) | |
tree | 5291c831eeacf3b50c17e6c9abda16498255cf38 | |
parent | 3e1fd91b70de258f539d49d281f4572f830305e0 (diff) | |
download | openbsd-91df07a8b77586c05d5a001bee3f85d34a97b2ae.tar.gz openbsd-91df07a8b77586c05d5a001bee3f85d34a97b2ae.tar.bz2 openbsd-91df07a8b77586c05d5a001bee3f85d34a97b2ae.zip |
tweak previous;
-rw-r--r-- | src/lib/libcrypto/man/EVP_EncodeInit.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/EVP_EncodeInit.3 b/src/lib/libcrypto/man/EVP_EncodeInit.3 index 6016a6c6be..66bdcc1c1f 100644 --- a/src/lib/libcrypto/man/EVP_EncodeInit.3 +++ b/src/lib/libcrypto/man/EVP_EncodeInit.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: EVP_EncodeInit.3,v 1.1 2016/11/26 18:09:35 schwarze Exp $ | 1 | .\" $OpenBSD: EVP_EncodeInit.3,v 1.2 2016/11/26 19:16:58 jmc Exp $ |
2 | .\" OpenSSL f430ba31 Jun 19 19:39:01 2016 +0200 | 2 | .\" OpenSSL f430ba31 Jun 19 19:39:01 2016 +0200 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Matt Caswell <matt@openssl.org>. | 4 | .\" This file was written by Matt Caswell <matt@openssl.org>. |
@@ -116,14 +116,14 @@ The EVP encode routines provide a high level interface to base64 | |||
116 | encoding and decoding. | 116 | encoding and decoding. |
117 | Base64 encoding converts binary data into a printable form that uses | 117 | Base64 encoding converts binary data into a printable form that uses |
118 | the characters A-Z, a-z, 0-9, "+" and "/" to represent the data. | 118 | the characters A-Z, a-z, 0-9, "+" and "/" to represent the data. |
119 | For every 3 bytes of binary data provided, 4 bytes of base64 encoded | 119 | For every 3 bytes of binary data provided, 4 bytes of base64-encoded |
120 | data will be produced, plus some occasional newlines. | 120 | data will be produced, plus some occasional newlines. |
121 | If the input data length is not a multiple of 3, then the output data | 121 | If the input data length is not a multiple of 3, then the output data |
122 | will be padded at the end using the "=" character. | 122 | will be padded at the end using the "=" character. |
123 | .Pp | 123 | .Pp |
124 | Encoding of binary data is performed in blocks of 48 input bytes (or | 124 | Encoding of binary data is performed in blocks of 48 input bytes (or |
125 | less for the final block). | 125 | less for the final block). |
126 | For each 48 byte input block encoded, 64 bytes of base64 data is output, | 126 | For each 48-byte input block encoded, 64 bytes of base64 data is output, |
127 | plus an additional newline character, i.e. 65 bytes in total. | 127 | plus an additional newline character, i.e. 65 bytes in total. |
128 | The final block, which may be less than 48 bytes, will output 4 bytes | 128 | The final block, which may be less than 48 bytes, will output 4 bytes |
129 | for every 3 bytes of input. | 129 | for every 3 bytes of input. |
@@ -228,7 +228,7 @@ and the number of bytes output is stored in | |||
228 | It is the caller's responsibility to ensure that the buffer at | 228 | It is the caller's responsibility to ensure that the buffer at |
229 | .Fa out | 229 | .Fa out |
230 | is sufficiently large to accommodate the output data. | 230 | is sufficiently large to accommodate the output data. |
231 | This function will attempt to decode as much data as possible in 4 byte | 231 | This function will attempt to decode as much data as possible in 4-byte |
232 | chunks. | 232 | chunks. |
233 | Any whitespace, newline or carriage return characters are ignored. | 233 | Any whitespace, newline or carriage return characters are ignored. |
234 | Any partial chunk of unprocessed data (1, 2 or 3 bytes) that remains at | 234 | Any partial chunk of unprocessed data (1, 2 or 3 bytes) that remains at |