Commit Graph

30 Commits

Author SHA1 Message Date
Matt Joiner 09b587f17b Comments 2019-07-19 13:04:10 +10:00
Matt Joiner a7e338a3f1 More sortimports 2018-07-07 11:40:06 +10:00
Matt Joiner ad5e44eaf5 Add lots of new expvars and perf timers 2018-06-15 22:42:05 +10:00
Matt Joiner fc03dcb859 Set the connection.cryptoMethod
It was unwittingly dropped from received connections, and may never have been set for initiated connections.
2018-02-16 10:59:56 +11:00
Matt Joiner 066cdd520b Add mse.CryptoMethod type 2018-02-16 10:36:29 +11:00
Matt Joiner 9285470cc6 Improve some log messages 2018-01-25 13:10:52 +11:00
Matt Joiner 4190856b6c sortimports 2017-12-01 18:12:29 +11:00
Matt Joiner cecc70f4cc More megacheck 2017-11-08 00:12:34 +11:00
Matt Joiner 9bf50493c3 mse: Move sliceIter into test file 2017-11-04 17:07:42 +11:00
Matt Joiner 7fdc750166 mse: Make plaintext mode the default when protocol header encryption is in use 2017-09-15 12:54:29 +10:00
Matt Joiner 881f1a7e35 Support plaintext crypto method for protocol header encryption 2017-09-13 18:20:20 +10:00
Matt Joiner 29e06fb83c mse: Support plaintext crypto mode 2017-09-13 16:19:14 +10:00
Matt Joiner 11165d4fa5 mse: Error if initial payload exceeds maximum size 2017-09-13 16:18:15 +10:00
Matt Joiner 7e056f7753 mse: Reuse writer write buffer 2017-09-13 01:00:43 +10:00
Matt Joiner f1d292203e mse: Add a read/write benchmark 2017-09-13 00:58:54 +10:00
Matt Joiner 98eac5343e mse: Remove unused function 2017-09-12 19:30:05 +10:00
Matt Joiner 2454120af8 Try to reduce allocations in cipherReader 2017-08-28 17:27:53 +10:00
Matt Joiner 40b96d0e4e Avoid allocating skeys for receiving encrypted handshakes 2017-04-04 18:41:08 +10:00
Matt Joiner d72d93bba7 Speed up mse.handshake.establishS
Remove possible slice allocation, and avoid reflect.
2016-09-30 12:14:34 +10:00
Matt Joiner 69f4c5a7e9 Minor comments and test improvement 2016-09-16 12:13:06 +10:00
Seth Hoenig 9f4bf70e17 refactor struct identifiers to follow conventional go names 2016-04-18 23:11:11 -05:00
Matt Joiner d077fed72d Some utils moved to missinggo 2015-08-04 00:29:01 +10:00
Matt Joiner 3aa78763aa Use rogpeppe's sortimports to fix this goimports ordering madness 2015-03-26 17:18:08 +11:00
Matt Joiner 842a32ae0c Rewrite import paths for migration from Bitbucket 2015-03-20 16:37:44 +11:00
Matt Joiner 0d5c10ef53 mse: Check that readUntil doesn't read indefinitely while synchronizing 2015-03-18 18:16:27 +11:00
Matt Joiner eb29dcec80 mse: Clean-up 2015-03-18 18:14:57 +11:00
Matt Joiner 8e8d75dda1 Support initial payload, and improve tests 2015-03-13 14:30:48 +11:00
Matt Joiner d57f5896d4 mse: Tons of fixes and improvements 2015-03-13 06:16:49 +11:00
Matt Joiner 13a5b8b279 msg: Return usable object after handshake 2015-03-12 20:29:48 +11:00
Matt Joiner 954e03952a mse: Got basic message stream encryption working with some tests
Not complete yet.
2015-03-12 20:03:29 +11:00