Commit graph

6196 commits

Author SHA1 Message Date
Marten Seemann
55c6a51b45 send Version Negotiation Packet if the client uses the wrong QUIC version 2016-04-14 14:29:25 +07:00
Marten Seemann
703aad12c0 make WritePublicHeader set the VersionFlag and the ResetFlag 2016-04-14 14:28:16 +07:00
Marten Seemann
5b78f1613c add function to read and write uint32 big endians, use it for the QuicVersion 2016-04-14 13:35:25 +07:00
Marten Seemann
4f39e0f14d add tests for utils 2016-04-14 11:30:22 +07:00
Lucas Clemente
98cd4aa513 Merge pull request #2 from marten-seemann/master
fix QuicVersion32, enforce exact QuicVersion
2016-04-13 11:41:06 +02:00
Marten Seemann
e8fc95466d fix QuicVersion32, enforce exact QuicVersion 2016-04-13 14:39:59 +07:00
Lucas Clemente
d5edeaf5c4 clean up example server debug output 2016-04-12 17:28:49 +02:00
Lucas Clemente
59ed21e690 add entropy accumulation 2016-04-12 17:03:24 +02:00
Lucas Clemente
284b86c02c send proper kex value in example server 2016-04-12 15:29:26 +02:00
Lucas Clemente
8b0d17828b add curve25519 key exchange 2016-04-12 15:20:16 +02:00
Lucas Clemente
83d8cb003d add test for RSA proof 2016-04-12 15:05:04 +02:00
Lucas Clemente
aa786a1af1 read certificate path from $GOPATH in example server 2016-04-12 14:10:52 +02:00
Lucas Clemente
95e1b87302 add certificate handling to example server 2016-04-12 12:18:01 +02:00
Lucas Clemente
1e33917574 improve version check in example server 2016-04-12 12:17:29 +02:00
Lucas Clemente
d3097ed82a implement basic certificate compression 2016-04-12 12:17:03 +02:00
Lucas Clemente
97187c5a31 fix proof signature algorithm 2016-04-12 12:16:46 +02:00
Lucas Clemente
f634d2a577 add basic RSA server proof generation 2016-04-11 20:35:34 +02:00
Lucas Clemente
daa77ec2a6 add writing of basic ack frames 2016-04-11 20:35:07 +02:00
Lucas Clemente
df96797e9c fix an error reading n-byte integers 2016-04-11 14:41:21 +02:00
Lucas Clemente
f293b525da add mock reply packet to example server 2016-04-10 20:33:46 +02:00
Lucas Clemente
96ae3efa64 simplify AEAD.Seal 2016-04-10 20:33:24 +02:00
Lucas Clemente
893704e38f implement sealing for NullAEAD 2016-04-10 20:23:51 +02:00
Lucas Clemente
ab14684299 implement basic public header writing 2016-04-10 20:23:36 +02:00
Lucas Clemente
4a44e4982e move utils.go to its own package so that it's available for aeads 2016-04-10 20:23:15 +02:00
Lucas Clemente
07f5daa7ba remove lengths from public header struct 2016-04-10 20:02:35 +02:00
Lucas Clemente
551d5798e4 implement stream frame writer 2016-04-10 19:42:40 +02:00
Lucas Clemente
3dc0209b84 add godoc badge to readme 2016-04-10 18:43:32 +02:00
Lucas Clemente
9cb328ef8b implement sample server REJ message in example server 2016-04-10 18:40:09 +02:00
Lucas Clemente
b2098f8f13 add some more crypto message tags 2016-04-10 16:34:05 +02:00
Lucas Clemente
120d255f38 implement writing of crypto messages 2016-04-10 16:33:55 +02:00
Lucas Clemente
0d4ebe0cfe update example program 2016-04-08 19:34:15 +02:00
Lucas Clemente
4df279dd81 implement parsing of sample CHLO crypto stream 2016-04-08 19:28:46 +02:00
Lucas Clemente
3492497230 improve util functions 2016-04-08 19:28:14 +02:00
Lucas Clemente
671557542b add example server 2016-04-08 12:56:15 +02:00
Lucas Clemente
981b061c0c implement parsing of stream frames 2016-04-08 12:17:47 +02:00
Lucas Clemente
1f30d50418 move readUint64 to new file utils.go 2016-04-08 12:10:21 +02:00
Lucas Clemente
7296d4e55e change AEAD interface to return bytes.Reader instead of io.Reader 2016-04-08 10:22:52 +02:00
Lucas Clemente
27c422a92b add travis.yml 2016-04-07 17:10:20 +02:00
Lucas Clemente
7d96666dd9 add travis button to readme 2016-04-07 17:08:19 +02:00
Lucas Clemente
990660ae3e add NullAEAD implementation 2016-04-07 17:02:26 +02:00
Lucas Clemente
fc853a6e22 add AEAD interface 2016-04-07 17:02:07 +02:00
Lucas Clemente
dae7b3dc75 improve FNV implementation 2016-04-07 17:02:00 +02:00
Lucas Clemente
c495d80faa add a very simplistic and slow FNV-128a implementation 2016-04-07 13:22:36 +02:00
Lucas Clemente
a29db728a3 improve public header tests 2016-04-07 11:19:50 +02:00
Lucas Clemente
cfccdaed9b add public header parser 2016-04-06 23:10:52 +02:00
Lucas Clemente
afdd7c3898 initial commit 2016-04-06 22:15:41 +02:00