diff options
| author | jmc <> | 2016-11-26 19:16:58 +0000 |
|---|---|---|
| committer | jmc <> | 2016-11-26 19:16:58 +0000 |
| commit | a7748ec40ce8f1448ce107de1bcefb285eab9a5f (patch) | |
| tree | 5291c831eeacf3b50c17e6c9abda16498255cf38 /src | |
| parent | 327458a9373c48cf93e0d78cf8d923f653eb6816 (diff) | |
| download | openbsd-a7748ec40ce8f1448ce107de1bcefb285eab9a5f.tar.gz openbsd-a7748ec40ce8f1448ce107de1bcefb285eab9a5f.tar.bz2 openbsd-a7748ec40ce8f1448ce107de1bcefb285eab9a5f.zip | |
tweak previous;
Diffstat (limited to '')
| -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 |
