[SAoC 2022] QUIC Protocol : Milestone 1, Part 1

Vlad Chicoș vladut.chicos at gmail.com
Sun Sep 25 20:51:49 UTC 2022


Hi!

During SAOC I will work on implementing the QUIC protocol in D. 
The first step in achieving this is to obtain a successful 
handshake between my implementation and another compliant 
implementation. This week I wrote a "quic.crypto" module that 
contains encryption methods needed both for the handshake phase 
and the latter communication. You can see it here : 
https://github.com/dlang-community/quic-d/blob/devel/src/quic/crypto.d. Unittests were added to make sure that my code stays compliant with the spec as I progress.

The next task on my list is to add the required packet frames for 
a successful handshake. Converting an array of bytes into usable 
data structures is an interesting problem as both the size of the 
fields and their number can vary.

References :

https://datatracker.ietf.org/doc/html/rfc9000
https://datatracker.ietf.org/doc/html/rfc9001

Suggestions are welcome :).
Thank you!



More information about the Digitalmars-d mailing list