Commit graph

709 commits

Author SHA1 Message Date
Marten Seemann
281706fda8 better check for frame types 2016-04-15 13:08:49 +07:00
Marten Seemann
9e87ee8ed9 detect different types of frames 2016-04-15 12:29:02 +07:00
Lucas Clemente
86b4ffdaaf use chacha20poly1305 instead of AES and include cert in key derivation
Unfortunately QUIC uses non-standard tag sizes with both AES-GCM and
Poly1305. Adopting AES-GCM seems much harder, so I changed it to
Chacha20Poly1305 and only made some slight changes to an existing algo.
This should probably be double-checked at some point.
2016-04-14 23:44:31 +02:00
Lucas Clemente
388fdf7399 decrease debug output 2016-04-14 20:40:20 +02:00
Lucas Clemente
1760bc3227 add key derivation and change AEAD in session, not working right now :( 2016-04-14 20:39:51 +02:00
Lucas Clemente
70531832af don't panic! 🎉 2016-04-14 20:04:04 +02:00
Lucas Clemente
0febba87ba move crypto handshake stuff to its own package 2016-04-14 19:50:04 +02:00
Lucas Clemente
04921c29af introduce ConnectionID type 2016-04-14 19:39:49 +02:00
Lucas Clemente
09879ed4f7 move stuff from example server to new Session and SessionConfig classes 2016-04-14 17:56:31 +02:00