c5e46dba179864f6f1adf196d46e7a0371b11914 |
|
12-Dec-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: drop unnecessary parens in &(foo)
This makes the code more consistent since most of the repo uses the
no-parens style. These inconsistencies were found using
`git grep '(&([^*]'` and any use of the parens in macros was ignored for
safety reasons. |
c147bff818798a979d93537f72f5c1f68f5d5ba8 |
|
24-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Use t_buffer_create
sed -i -e 's/buffer_create_dynamic(pool_datastack_create(), */t_buffer_create(/g' |
19557f192d37cd54a1a090a8a26d9d47265e4413 |
|
01-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Fix spelling mistakes in comments
Original work by @andreasschulze and @jsoref |
8109f3187f5ece5565de1813209af42dc7bb768b |
|
01-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use o_stream_flush_parent() |
6630a5734436953a61ce6ec471d0d91a5f206083 |
|
30-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dcrypt: ostream-dcrypt - Require o_stream_finish() to write the trailer
Similar to ostream-zlib. |
32340fe8f461f6ae56c4cb3ee8392ba14c9f539a |
|
03-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-dcrypt: Use cpu32_to_be instead of htonl
prefer our own conversion functions over htonl
which is intended for networking related numbers. |
211c638d81d382517d196ad47565e0d85012c927 |
|
19-Feb-2017 |
klemens <ka7@github.com> |
spelling fixes |
f2edbc51be62d7da4a4b37a72f9832851f669caa |
|
21-Sep-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dcrypt: Don't finalize encryption on o_stream_flush()
For example the default o_stream_uncork() implementation enforces flushing
and it's probably better not to change that. In general there's really no
reason to perform the finalization at flush when the stream can't be written
to anymore (whereas lib-compression ostreams allow writes after flushes). |
a84b413ef72378bbe235a13846fe6a84899eaedc |
|
17-Aug-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dcrypt: Fixed accessing out-of-bounds data in istream.
Also some small cleanups to make it clearer what's actually happening. |
17fbd200b78112bd0d89e89598aa01cea72a74e5 |
|
08-Aug-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-dcrypt: add dcrypt-iostream.h
Move everything from dcrypt-iostream-private.h and enum
io_stream_encrypt_flags to the new dcrypt-iostream.h file. |
55a7fe1e4637a8dbc6184b54edeb74ac8276b2c1 |
|
04-Aug-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
dcrypt-iostream: Ref/unref keys |
f52366af688c5663f3491c63042500ac51ad7780 |
|
22-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dcrypt: Allow flushing ostream multiple times.
The first time flushes the encryption and the following times just flush the
parent stream. |
d82c8af717c383d37a836b8d29316a3375803fab |
|
01-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dcrypt: Removed dead code. |
7a71f2326280fb300f7c45d1ba5b30af3db37f2c |
|
30-Jun-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
dcrypt: Fix bugs in 0 and 1 byte payload files |
394391e78f26cba1d7fca19d4b8617453a7041b8 |
|
21-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dcrypt: dcrypt_key_type_public/private() can no longer fail.
Removed unnecessary failure handling. |
316cbe323513a0f20d1cf519fe9405e231d633e2 |
|
30-May-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-dcrypt: Initial implementation |