libgocryptfs/internal
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
..
configfile exitcodes: specific codes for failure to read or write gocryptfs.conf 2017-05-14 14:30:50 +02:00
contentenc contentenc: use sync.Pool memory pools for encryption 2017-06-20 21:22:00 +02:00
cryptocore cryptocore: prefetch nonces in the background 2017-06-11 21:29:50 +02:00
ctlsock Fix typos found by Misspell 2017-05-07 12:22:15 +02:00
exitcodes Add "-trace" flag (record execution trace) 2017-06-07 22:09:06 +02:00
fusefrontend contentenc: use sync.Pool memory pools for encryption 2017-06-20 21:22:00 +02:00
fusefrontend_reverse Implement force_owner option to display ownership as a specific user. 2017-06-01 00:26:17 +02:00
nametransform nametransform: reject all-zero dirIV 2017-05-25 14:21:55 +02:00
openfiletable openfiletable: rename WriteLock to ContentLock 2017-05-01 21:57:18 +02:00
pathiv pathiv: fix test failure on Go 1.6 2017-05-31 08:21:36 +02:00
prefer_openssl prefer_openssl: default to Go GCM on OSX 2016-12-10 21:04:17 +01:00
readpassword exitcodes: add code 22 for "password is empty" 2017-05-14 14:02:08 +02:00
serialize_reads fix golint complaints 2017-04-29 14:50:58 +02:00
siv_aead fix golint complaints 2017-04-29 14:50:58 +02:00
speed fix golint complaints 2017-04-29 14:50:58 +02:00
stupidgcm exitcodes: pull all exit code definitions into the package 2017-05-07 22:16:22 +02:00
syscallcompat main, syscallcompat: use Dup3 instead of Dup2 2017-06-18 15:43:22 +02:00
tlog Drop Go 1.4 compatability code everywhere 2017-03-05 17:44:14 +01:00