summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2016-11-26 19:16:58 +0000
committerjmc <>2016-11-26 19:16:58 +0000
commit91df07a8b77586c05d5a001bee3f85d34a97b2ae (patch)
tree5291c831eeacf3b50c17e6c9abda16498255cf38
parent3e1fd91b70de258f539d49d281f4572f830305e0 (diff)
downloadopenbsd-91df07a8b77586c05d5a001bee3f85d34a97b2ae.tar.gz
openbsd-91df07a8b77586c05d5a001bee3f85d34a97b2ae.tar.bz2
openbsd-91df07a8b77586c05d5a001bee3f85d34a97b2ae.zip
tweak previous;
-rw-r--r--src/lib/libcrypto/man/EVP_EncodeInit.38
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
116encoding and decoding. 116encoding and decoding.
117Base64 encoding converts binary data into a printable form that uses 117Base64 encoding converts binary data into a printable form that uses
118the characters A-Z, a-z, 0-9, "+" and "/" to represent the data. 118the characters A-Z, a-z, 0-9, "+" and "/" to represent the data.
119For every 3 bytes of binary data provided, 4 bytes of base64 encoded 119For every 3 bytes of binary data provided, 4 bytes of base64-encoded
120data will be produced, plus some occasional newlines. 120data will be produced, plus some occasional newlines.
121If the input data length is not a multiple of 3, then the output data 121If the input data length is not a multiple of 3, then the output data
122will be padded at the end using the "=" character. 122will be padded at the end using the "=" character.
123.Pp 123.Pp
124Encoding of binary data is performed in blocks of 48 input bytes (or 124Encoding of binary data is performed in blocks of 48 input bytes (or
125less for the final block). 125less for the final block).
126For each 48 byte input block encoded, 64 bytes of base64 data is output, 126For each 48-byte input block encoded, 64 bytes of base64 data is output,
127plus an additional newline character, i.e. 65 bytes in total. 127plus an additional newline character, i.e. 65 bytes in total.
128The final block, which may be less than 48 bytes, will output 4 bytes 128The final block, which may be less than 48 bytes, will output 4 bytes
129for every 3 bytes of input. 129for every 3 bytes of input.
@@ -228,7 +228,7 @@ and the number of bytes output is stored in
228It is the caller's responsibility to ensure that the buffer at 228It is the caller's responsibility to ensure that the buffer at
229.Fa out 229.Fa out
230is sufficiently large to accommodate the output data. 230is sufficiently large to accommodate the output data.
231This function will attempt to decode as much data as possible in 4 byte 231This function will attempt to decode as much data as possible in 4-byte
232chunks. 232chunks.
233Any whitespace, newline or carriage return characters are ignored. 233Any whitespace, newline or carriage return characters are ignored.
234Any partial chunk of unprocessed data (1, 2 or 3 bytes) that remains at 234Any partial chunk of unprocessed data (1, 2 or 3 bytes) that remains at