Commit graph

12 commits

Author SHA1 Message Date
Nick Bolton
bb3dd1611c fixed readWriteIvChanged unit test to match new behaviour of newIv. 2013-04-11 23:45:55 +00:00
Nick Bolton
607f8c9321 fixed: new iv was used before it was sent to the client, so the client could not decrypt new iv. 2013-04-11 22:30:24 +00:00
Nick Bolton
bae07f8cd5 test for generating keys from longer passwords. 2013-04-11 21:52:45 +00:00
Nick Bolton
e84f111f35 changed unit test IVs so that \0 isn't used (logs look less confusing). 2013-04-11 06:16:15 +00:00
Nick Bolton
c0dcdd52e7 fixed: crypto++ compile errors, linux compiler syntax bugs, and code style (spaces -> tabs) 2013-04-11 00:30:41 +00:00
Nick Bolton
72cbcd70c0 fixed unit tests, buffer indexes were not reset, caused tests to fail on 2nd repeat. 2013-04-10 12:14:59 +00:00
Nick Bolton
880819fab7 Jerry's patch for password hash and custom mode (via command line). 2013-04-09 21:57:07 +00:00
Nick Bolton
7010de9cc4 sending IV to client before DKDN, DKUP and DKRP (the most sensitive messages). unit tests to support changes. made crypto stream tests a bit less spammy by using NiceMock. 2013-04-09 18:56:19 +00:00
Nick Bolton
23998fc06c unit tests for IV change. 2013-04-08 18:35:23 +00:00
Nick Bolton
b2746bc1b2 added unit test to make sure IV works as we expect. 2013-04-08 13:01:21 +00:00
Nick Bolton
0a69c28ac5 implemented crypto stream, with some extra unit tests 2013-04-05 16:33:48 +00:00
Nick Bolton
3aaebd9e50 Patch by Jerry:
* wrote CCryptoStream and supporting unit tests
* changed CStreamFilter to accept CMockEventQueue
* changed CStreamFilter's dtor to virtual because it is inherited
2013-04-04 16:17:25 +00:00