Sebastian Meßmer
9a27cea138
Increase parallelity level for cache flushing
2015-10-15 05:45:49 +02:00
Sebastian Meßmer
92d0d073a5
Fix test cases
2015-10-15 04:49:31 +02:00
Sebastian Messmer
0e1ec6829a
Added assert
2015-10-14 14:40:53 +02:00
Sebastian Messmer
2ccdcb5b98
Cache destructs elements in parallel in destructor
2015-10-14 14:40:45 +02:00
Sebastian Messmer
6fd2727592
Update dependencies
2015-10-14 14:39:35 +02:00
Sebastian Messmer
210c2c2811
Fix compiler error in test cases
2015-10-08 18:05:09 +02:00
Sebastian Messmer
260bc1056a
Make cache MAX_SIZE configurable
2015-10-07 17:24:13 +02:00
Sebastian Messmer
810c2c5b48
Added some locks against race conditions
2015-10-05 18:54:16 +02:00
Sebastian Messmer
78dbe6ea24
Test cases print stack trace on sigsegv
2015-10-05 16:51:49 +02:00
Sebastian Messmer
5bb77adc87
Added Cache::size()
2015-10-05 16:51:36 +02:00
Sebastian Messmer
73101b74ea
Better locking for cache
2015-10-01 15:52:43 +02:00
Sebastian Messmer
84330b1100
Cache has better parallelity - we can push()/pop() while it is flushing and flushing is actually parallel
2015-10-01 13:51:01 +02:00
Sebastian Messmer
c8c13517e0
TODOs
2015-10-01 02:00:34 +02:00
Sebastian Messmer
942a627173
Better fix for Cache race condition
2015-10-01 01:52:21 +02:00
Sebastian Messmer
90471ea6a3
Fixed Cache race condition and added test for it
2015-10-01 01:20:40 +02:00
Sebastian Messmer
c9f07762a4
Removed unnecessary debug calculation
2015-09-29 20:04:12 +02:00
Sebastian Messmer
959ef62a38
Cache is flushed in parallel
2015-09-29 20:01:51 +02:00
Sebastian Messmer
52bb855627
EncryptedBlockStore crashed when a modified block was removed. Fixed crash and added test case.
2015-09-29 18:51:59 +02:00
Sebastian Messmer
d916408a01
Fix travis build icon
2015-09-13 10:55:44 +02:00
Sebastian Messmer
1a1201d823
Merge branch 'master' into develop
2015-09-12 21:05:41 +02:00
Sebastian Messmer
877cd5c5f7
Improve readme
2015-09-12 21:05:35 +02:00
Sebastian Messmer
aea84d9ef5
Added more ciphers
2015-08-31 23:04:56 +02:00
Sebastian Messmer
fd93e4c199
Use the new assert that doesn't crash the program in a release build
2015-07-22 13:42:07 +02:00
Sebastian Messmer
37bdbd907a
Finished migrating to unique_ref instead of unique_ptr
2015-07-21 18:19:34 +02:00
Sebastian Messmer
f4d9d271ea
Be more explicit about destructor calls
2015-07-21 14:56:32 +02:00
Sebastian Messmer
7c407c4b69
Switched whole blockstore interface to unique_ref instead of unique_ptr
2015-07-21 14:50:52 +02:00
Sebastian Messmer
a945e4f0fc
Changed Blockstore::tryCreate() to return optional<unique_ref<Block>> instead of unique_ptr<Block>
2015-07-20 18:57:48 +02:00
Sebastian Messmer
dc15ac22ca
Use optional::value() instead of optional::get()
2015-06-28 17:01:50 +02:00
Sebastian Messmer
3826bab481
Fix test cases
2015-06-26 15:57:41 +02:00
Sebastian Messmer
db2b39d4ab
ParallelAccessBlockStore uses unique_ref for its base block store
2015-06-26 15:54:19 +02:00
Sebastian Messmer
de37cddcce
Replace unique_ptr with unique_ref in ParallelAccessBlockStore
2015-06-26 13:45:03 +02:00
Sebastian Messmer
c755717898
Adapt to new cpp-utils
2015-06-21 17:43:31 +02:00
Sebastian Messmer
cf6ef7c02c
Use C++11 uniform initialization for structs
2015-06-21 14:40:57 +02:00
Sebastian Meßmer
8cfa133676
Removed some unneeded usings
2015-06-18 12:45:05 +02:00
Sebastian Meßmer
199da740ed
Fix test cases
2015-06-17 12:17:17 +02:00
Sebastian Messmer
123ac44f24
Merge branch 'develop' of github.com:smessmer/blockstore into develop
2015-06-16 16:52:31 +02:00
Sebastian Messmer
97ba17fbb3
IVs and block keys are drawn from pseudorandom generators
2015-06-16 16:52:23 +02:00
Sebastian Messmer
b22fe6657b
Fix for clang compiler
2015-06-10 17:18:34 +02:00
Sebastian Meßmer
48c5493780
Started implementing parallel writing to disk
2015-05-16 13:45:25 +02:00
Sebastian Meßmer
c7702f42fe
TODOs
2015-05-16 01:23:42 +02:00
Sebastian Meßmer
e24f825259
Merge from origin
2015-05-16 01:21:29 +02:00
Sebastian Meßmer
7bb40517f9
TODOs
2015-05-16 01:20:49 +02:00
Sebastian Messmer
e8a48afd3b
Enable extended compiler warnings and resolve occurring ones
2015-05-08 02:10:56 +02:00
Sebastian Messmer
535bfc1634
TODOs
2015-05-06 16:16:18 +02:00
Sebastian Messmer
fdcd56401a
Added specific test cases for EncryptedBlockStore
2015-05-06 00:37:57 +02:00
Sebastian Messmer
0042ae1cef
- Run test cases for EncryptedBlockStore with different ciphers
...
- Implement FakeAuthenticatedCipher for use with specific EncryptedBlockStoreTest
- Write skeleton for specific EncryptedBlockStoreTest
- Fix behavior of AES256_CFB when called with too small input
- Add testcase that all ciphers (also non-authenticating ones) have to handle too small input correctly
2015-05-06 00:12:14 +02:00
Sebastian Messmer
a36ab8e2d7
Fix appveyor?
2015-05-04 22:13:50 +02:00
Sebastian Messmer
1e05ab698c
Fix appveyor?
2015-05-04 22:01:41 +02:00
Sebastian Messmer
dbbf9db80e
Add debug output
2015-05-04 21:42:56 +02:00
Sebastian Messmer
8e9372ffaf
Add appveyor.yml
2015-05-04 20:20:16 +02:00