Commit Graph

35 Commits

Author SHA1 Message Date
Christopher Jeffrey
e709cbeae5
bip151: refactor. 2016-07-27 17:23:15 -07:00
Christopher Jeffrey
812b73ffbc
bip151: use reference slices initially for parsing. 2016-07-27 16:26:43 -07:00
Christopher Jeffrey
d2ec66c4b7
bip151: remove useless slice. 2016-07-27 06:13:01 -07:00
Christopher Jeffrey
20d69b7cbc
optimize parsers. 2016-07-27 04:56:07 -07:00
Christopher Jeffrey
0fa972dcb3
refactor parsers. 2016-07-27 04:10:08 -07:00
Christopher Jeffrey
6a2615d3cc
bip151: 32 bit sequence and 64 bit iv. 2016-07-27 04:06:05 -07:00
Christopher Jeffrey
db0552874b
bip151: more micro-optimization. 2016-07-27 03:59:24 -07:00
Christopher Jeffrey
3f6a93e180
bip151: refactor parser. 2016-07-27 02:25:21 -07:00
Christopher Jeffrey
01471d6e63
bip151: add minimum packet size. 2016-07-27 01:42:53 -07:00
Christopher Jeffrey
594bbc8b1d
bip151: micro-optimization. 2016-07-27 01:22:57 -07:00
Christopher Jeffrey
208394596e
bip151: use 64 bit sequence numbers for now. 2016-07-27 01:08:50 -07:00
Christopher Jeffrey
6720ecc2c8
bip151: minor. 2016-07-27 00:50:50 -07:00
Christopher Jeffrey
2bd90910b4
bip151: authenticate payload before decryption. 2016-07-27 00:46:39 -07:00
Christopher Jeffrey
f837317ffd
bip151: fix aead aad etm. 2016-07-26 23:39:21 -07:00
Christopher Jeffrey
08bc5ba0a8
bip151: use plaintext packet size as aad (openssh conformance). 2016-07-26 21:49:57 -07:00
Christopher Jeffrey
1c9d283f26
bip151: docs. 2016-07-26 14:07:06 -07:00
Christopher Jeffrey
b7c280a84c
bip151: minor refactor. 2016-07-26 02:18:40 -07:00
Christopher Jeffrey
c597d7c411
bip151: overflow sequence number properly. 2016-07-26 01:19:57 -07:00
Christopher Jeffrey
018241fc78
bip151: set processed to zero on rekey. 2016-07-26 01:14:35 -07:00
Christopher Jeffrey
f37946abb7
bip151: fix rekeying. replicate openssh more. 2016-07-26 01:08:42 -07:00
Christopher Jeffrey
4af5273c0e
bip151: minor arg fix. 2016-07-25 23:13:06 -07:00
Christopher Jeffrey
eb9f35c8b4
bip151: set aad again. 2016-07-25 22:18:01 -07:00
Christopher Jeffrey
b0bb5d516d
chachapoly: do not reinitialize state. 2016-07-25 22:11:32 -07:00
Christopher Jeffrey
73deb5430e
bip151: max message size. 2016-07-25 21:46:00 -07:00
Christopher Jeffrey
94af094322
bip151: whitespace. 2016-07-25 18:53:57 -07:00
Christopher Jeffrey
b455352708
peer/bip151: rewrite bip151. handle bip151 on p2p network. 2016-07-25 18:24:30 -07:00
Christopher Jeffrey
54cf5ce341
bip151: minor. 2016-07-22 22:40:13 -07:00
Christopher Jeffrey
04565cfadb
bip151: improve rekey test. 2016-07-21 10:14:58 -07:00
Christopher Jeffrey
e7347dd620
bip151: fixes and tests. 2016-07-21 09:21:36 -07:00
Christopher Jeffrey
9cc05a488a
utils. 2016-07-21 05:27:42 -07:00
Christopher Jeffrey
b939de9423
use hkdf for bip151. 2016-07-20 14:39:21 -07:00
Christopher Jeffrey
28f6ebe43f
remove globals. add logger. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
adb7b28795
bip151: fix encack. 2016-06-27 07:13:38 -07:00
Christopher Jeffrey
b74bda623f
lint. 2016-06-27 07:10:26 -07:00
Christopher Jeffrey
70b83f22fa
bip151 & bip152: preliminary implementations. 2016-06-27 02:16:01 -07:00