Alexander Neumann
|
874b29b91f
|
Improve memory usage (and speed) of crypto reader/writer
benchcmp:
benchmark old ns/op new ns/op delta
BenchmarkChunkEncrypt 260811933 261294510 +0.19%
BenchmarkChunkEncryptParallel 262787948 259394601 -1.29%
BenchmarkEncryptWriter 89769328 87108804 -2.96%
BenchmarkEncrypt 88586645 87489151 -1.24%
BenchmarkDecryptReader 99669425 90019414 -9.68%
BenchmarkEncryptDecryptReader 189263157 185185733 -2.15%
BenchmarkDecrypt 89631109 89172417 -0.51%
benchmark old MB/s new MB/s speedup
BenchmarkChunkEncrypt 40.20 40.13 1.00x
BenchmarkChunkEncryptParallel 39.90 40.42 1.01x
BenchmarkEncryptWriter 93.45 96.30 1.03x
BenchmarkEncrypt 94.69 95.88 1.01x
BenchmarkDecryptReader 84.16 93.19 1.11x
BenchmarkEncryptDecryptReader 44.32 45.30 1.02x
BenchmarkDecrypt 93.59 94.07 1.01x
benchmark old allocs new allocs delta
BenchmarkChunkEncrypt 113 113 +0.00%
BenchmarkChunkEncryptParallel 104 104 +0.00%
BenchmarkEncryptWriter 20 20 +0.00%
BenchmarkEncrypt 14 14 +0.00%
BenchmarkDecryptReader 38 18 -52.63%
BenchmarkEncryptDecryptReader 61 55 -9.84%
BenchmarkDecrypt 17 17 +0.00%
benchmark old bytes new bytes delta
BenchmarkChunkEncrypt 8515750 8515750 +0.00%
BenchmarkChunkEncryptParallel 8515766 8515766 +0.00%
BenchmarkEncryptWriter 8391305 28927 -99.66%
BenchmarkEncrypt 2475 2475 +0.00%
BenchmarkDecryptReader 33563550 527827 -98.43%
BenchmarkEncryptDecryptReader 50348456 35814894 -28.87%
BenchmarkDecrypt 8391127 8391127 +0.00%
|
2015-02-16 22:35:46 +01:00 |
|
Alexander Neumann
|
259389f7d1
|
EncryptWriter: do not close underlying writer
|
2015-02-16 00:22:46 +01:00 |
|
Alexander Neumann
|
3dbe02182b
|
Remove EncryptFrom*() methods, add Tests for EncryptTo()
|
2015-02-15 23:38:45 +01:00 |
|
Alexander Neumann
|
5801d9f42f
|
Add EncryptTo() methods
|
2015-02-15 18:13:42 +01:00 |
|
Alexander Neumann
|
72c951a6ec
|
Simply backend interface
Rename CreateBlob() method to Create(), remove old Create* methods
|
2015-02-15 17:26:20 +01:00 |
|
Alexander Neumann
|
64f7b4e5e9
|
Rename HashReader -> HashAppendReader, add HashingReader
|
2015-02-11 19:37:48 +01:00 |
|
Alexander Neumann
|
5f0cce8546
|
Move HashReader to backend
|
2015-02-11 19:20:45 +01:00 |
|
Alexander Neumann
|
a564a454c4
|
Add stream functions for decrypt
|
2015-02-11 18:36:31 +01:00 |
|
Alexander Neumann
|
c6901af5aa
|
Add streaming encrypt functions
|
2015-02-11 18:05:43 +01:00 |
|
Sebastian Schmidt
|
24cb360b5d
|
Fix typo
|
2014-12-29 12:39:43 +01:00 |
|
Alexander Neumann
|
5431b025a3
|
Reduce code duplication in key handling
|
2014-12-21 18:16:22 +01:00 |
|
Alexander Neumann
|
cc147c002e
|
Introduce type Server
|
2014-12-21 17:37:29 +01:00 |
|
Alexander Neumann
|
e2fea0d088
|
Rename khepri -> restic
|
2014-12-05 21:45:49 +01:00 |
|
Alexander Neumann
|
c0b3021494
|
Correctly deal with empty files
|
2014-11-30 16:24:27 +01:00 |
|
Alexander Neumann
|
43ccee3b08
|
Add command "key rm"
|
2014-11-25 23:18:02 +01:00 |
|
Alexander Neumann
|
f7fcd7c04c
|
Add command "key add"
|
2014-11-25 23:07:00 +01:00 |
|
Alexander Neumann
|
4ab3d51996
|
Add more checks befor decrypting data
|
2014-11-24 22:11:09 +01:00 |
|
Alexander Neumann
|
79a1ad50ee
|
Remove check for minimum buffer length
|
2014-11-23 23:02:15 +01:00 |
|
Alexander Neumann
|
719e121c74
|
Use large, dynamic buffer for encrypting maps
|
2014-11-23 22:58:41 +01:00 |
|
Alexander Neumann
|
f95788ed90
|
Limit memory usage, add several sync.Pool
|
2014-11-23 21:26:20 +01:00 |
|
Alexander Neumann
|
ebd4f97350
|
Update import path
|
2014-11-15 19:04:32 +01:00 |
|
Alexander Neumann
|
6003430eb9
|
Rework key.go, add Comments
|
2014-11-15 17:18:40 +01:00 |
|
Alexander Neumann
|
58f7b1be1e
|
Use CTR instead of CBC for encryption
|
2014-11-15 17:12:52 +01:00 |
|
Alexander Neumann
|
30ab03b7b7
|
Add decrypt, refactor
|
2014-10-03 21:44:55 +02:00 |
|