libgocryptfs/internal/contentenc
Jakob Unterwurzacher 3c6fe98eb1 contentenc: use sync.Pool memory pools for encryption
We use two levels of buffers:

1) 4kiB+overhead for each ciphertext block
2) 128kiB+overhead for each FUSE write (32 ciphertext blocks)

This commit adds a sync.Pool for both levels.

The memory-efficiency for small writes could be improved,
as we now always use a 128kiB buffer.
2017-06-20 21:22:00 +02:00
..
content_test.go Add -forcedecode 2017-04-23 23:11:56 +02:00
content.go contentenc: use sync.Pool memory pools for encryption 2017-06-20 21:22:00 +02:00
file_header.go contenenc: reject all-zero file ID 2017-05-25 14:20:27 +02:00
intrablock.go lint fixes 2016-10-04 23:18:33 +02:00
offsets.go contentenc: downgrade "interrupted write?" warning to debug 2017-05-01 18:44:18 +02:00