Commit Graph

764 Commits

Author SHA1 Message Date
Florian Weingarten 8ba47df8d1 golint 2015-04-28 10:23:13 -04:00
Florian Weingarten 77c7c33205 Remove unused struct fields 2015-04-26 11:34:12 -04:00
Alexander Neumann edfd86624c Fix "cleanup" flag 2015-04-26 15:40:25 +02:00
Alexander Neumann d19b23d4f1 Move Server and Key to new sub-package 2015-04-26 14:46:15 +02:00
Alexander Neumann 8498753eb7 Reduce verbosity of travis notifications on IRC 2015-04-26 13:09:40 +02:00
Alexander Neumann 5ab900acac Fix data race, remember when signing key has been masked 2015-04-26 13:07:26 +02:00
Alexander Neumann 2e46914d0c Merge remote-tracking branch 'fw42/fix_noatime_permission' 2015-04-26 12:44:46 +02:00
Alexander Neumann 9a4155d7aa Add 'ls' on the binary to see the file sizes 2015-04-26 12:35:51 +02:00
Alexander Neumann 94ecdc6e84 Add cross-compilation with gox to travis-CI 2015-04-26 12:28:28 +02:00
Alexander Neumann e0fbd83a2d Remove support for windows 2015-04-26 12:19:12 +02:00
Alexander Neumann 9b30a6aee2 Merge remote-tracking branch 'fw42/fix_darwin' 2015-04-26 12:17:47 +02:00
Alexander Neumann 6871e1bb58 Merge remote-tracking branch 'fw42/fix_nan_and_inf' 2015-04-26 12:09:14 +02:00
Alexander Neumann 5d8c60196b Merge pull request #138 from fw42/osx_tests
Mac OS X on Travis CI
2015-04-26 12:06:36 +02:00
Alexander Neumann 434c79354e Merge pull request #143 from fw42/count_errors
Count errors separately and not as files that are "done"
2015-04-26 12:05:09 +02:00
Alexander Neumann 871c817f66 Merge pull request #140 from fw42/remove_dead_code
remove dead code
2015-04-26 12:03:16 +02:00
Alexander Neumann 503c122d29 Merge pull request #141 from fw42/fix_off_by_one
Fix progress off-by-1
2015-04-26 11:59:06 +02:00
Alexander Neumann 05f5751095 Merge pull request #144 from ThomasWaldmann/patch-1
fix typos / wording in Design.md
2015-04-26 11:37:27 +02:00
TW 2bc2de006d fix typos / wording in Design.md 2015-04-26 11:35:38 +02:00
Florian Weingarten 61b1a5b1de Count errors separately and not as files that are "done" 2015-04-26 01:54:35 +00:00
Florian Weingarten 90284b9498 Fix O_NOATIME permission error 2015-04-26 00:54:33 +00:00
Florian Weingarten c947623707 Fix progress off-by-1 2015-04-25 15:40:42 -04:00
Florian Weingarten 20af78f25a remove dead code 2015-04-25 15:09:55 -04:00
Florian Weingarten c9e34ba5f6 Mac OS X on Travis CI 2015-04-25 13:31:38 -04:00
Florian Weingarten 6c776468ab Fix floating point presentation 2015-04-25 13:20:41 -04:00
Florian Weingarten 4aea591b96 fix darwin 2015-04-25 13:02:51 -04:00
Alexander Neumann 87a1946417 Merge remote-tracking branch 'fw42/rename_change_to_passwd' 2015-04-25 11:11:27 +02:00
Alexander Neumann fd472cb59d Use short ID for init 2015-04-25 11:07:51 +02:00
Alexander Neumann 19486987b0 Merge remote-tracking branch 'fw42/mixed_caps' 2015-04-25 11:06:13 +02:00
Alexander Neumann 29bd0f34a0 Merge pull request #130 from fw42/writing_consistency
Consistent writing
2015-04-25 10:54:32 +02:00
Alexander Neumann d596712339 Merge pull request #131 from fw42/noatime
O_NOATIME on Linux
2015-04-25 10:52:44 +02:00
Florian Weingarten dead2b7e93 rename "change" to "passwd" 2015-04-25 02:44:26 -04:00
Florian Weingarten 262e5a8b4a O_NOATIME on Linux 2015-04-25 00:45:20 +00:00
Florian Weingarten 170d147427 Consistent writing 2015-04-24 19:43:27 -04:00
Florian Weingarten ebae478631 Prefer mixedCaps over underscore 2015-04-24 19:39:32 -04:00
Alexander Neumann 8be6dc0265 Merge pull request #127 from fw42/gitignore
gitignore binary files
2015-04-25 01:13:15 +02:00
Alexander Neumann 75fc05ffb9 Merge pull request #126 from fw42/remember_your_password
remember your password
2015-04-25 01:13:04 +02:00
Florian Weingarten 441f4deb66 remember your password 2015-04-24 19:08:05 -04:00
Florian Weingarten d194663837 gitignore binary files 2015-04-24 18:56:17 -04:00
Alexander Neumann 1eb6172c40 crypto: Use bytes.Reader for crypto reader 2015-04-25 00:54:33 +02:00
Alexander Neumann 9c43688d1a crypto: Add buffer management to writer
benchmarks:

    benchmark                         old ns/op     new ns/op     delta
    BenchmarkEncryptWriter            37032949      37754353      +1.95%
    BenchmarkEncrypt                  35989611      36344593      +0.99%
    BenchmarkDecryptReader            38274466      38282979      +0.02%
    BenchmarkEncryptDecryptReader     77506506      77088612      -0.54%
    BenchmarkDecrypt                  36219298      36128875      -0.25%

    benchmark                         old MB/s     new MB/s     speedup
    BenchmarkEncryptWriter            226.52       222.19       0.98x
    BenchmarkEncrypt                  233.08       230.81       0.99x
    BenchmarkDecryptReader            219.17       219.12       1.00x
    BenchmarkEncryptDecryptReader     108.23       108.82       1.01x
    BenchmarkDecrypt                  231.61       232.19       1.00x

    benchmark                         old allocs     new allocs     delta
    BenchmarkEncryptWriter            20             16             -20.00%
    BenchmarkEncrypt                  12             12             +0.00%
    BenchmarkDecryptReader            13             13             +0.00%
    BenchmarkEncryptDecryptReader     32             27             -15.62%
    BenchmarkDecrypt                  10             10             +0.00%

    benchmark                         old bytes     new bytes     delta
    BenchmarkEncryptWriter            1020064       170331        -83.30%
    BenchmarkEncrypt                  1600          1600          +0.00%
    BenchmarkDecryptReader            841070        842094        +0.12%
    BenchmarkEncryptDecryptReader     3027433       845129        -72.08%
    BenchmarkDecrypt                  1573          1573          +0.00%
2015-04-25 00:54:33 +02:00
Alexander Neumann 387082f983 Fix test BenchmarkChunkEncrypt 2015-04-25 00:54:15 +02:00
Alexander Neumann 61d1f6ad18 crypto: Return error when same slice is used 2015-04-19 14:57:35 +02:00
Alexander Neumann 8e867817a5 crypto: Clarify slice usage for Encrypt/Decrypt 2015-04-19 14:57:35 +02:00
Alexander Neumann 63e79539e9 crypto: Remove type iv 2015-04-19 14:57:35 +02:00
Alexander Neumann 7b6bd98c9e crypto: Rename internal functions 2015-04-19 14:57:35 +02:00
Alexander Neumann 7a7cc5b39f crypto: Test length 2015-04-12 21:48:17 +02:00
Alexander Neumann f8e1043ad3 crypto: Match signature of Encrypt() to Decrypt() 2015-04-12 20:58:41 +02:00
Alexander Neumann 7e6acfe44d crypto: move reader and writer to its own file 2015-04-12 10:57:41 +02:00
Alexander Neumann 64f7d4d611 crypto: Rename exported funcs and structs, cleanup 2015-04-12 10:55:56 +02:00
Alexander Neumann 21dc6dd3db Rename crypto functions and constants 2015-04-12 09:41:47 +02:00