<div dir="ltr"><div dir="ltr"><br></div><div>Hi!</div><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> <br>
>      > We were thinking about re-using the ssl applications TLS 1.3<br>
>      > implementation. It is not trivial as transport and TLS are<br>
>     upsidedown<br>
>      > for QUIC, but should be doable sais Ingela and Peter :p<br>
> <br></blockquote><div><br></div><div>I think it is doable. I think the big job is implementing the QUIC state machine.</div><div>But maybe we need a QUIC flavoured TLS state machine that reuses much of the</div><div>same code. Similar to that we have a TLS statemachine, a TLS-1.3 statmachine  and </div><div>DTLS statemachine at the moment. </div><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
>     If we can have a good interface that has TLS return the<br>
>     encrypted/decrypted binary data rather than write it directly to the<br>
>     socket, I could also use it in Gun to support TLS connections over TLS<br>
>     proxies. Right now it uses the callback module and while it works it's<br>
>     fairly complex.<br>
>  </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> Maybe this would be a good starting point for us. Building an API that <br>
> makes this possible.<br>
<br></blockquote><div><br></div><div>We can think about it. This will probably not do it for QUIC as it wants to</div><div>handle the encryption part itself. But I think there are many places where can make</div><div>possible new APIs. </div><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
So much to do so little time. :-)<br>
<br></blockquote><div><br></div><div>Like always, but I do not think QUIC will replace TCP and day soon...  I think the trick is to find</div><div>small steps. </div><div><br></div><div>Regards Ingela Erlang/OTP team - Ericsson AB</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
-- <br>
Loïc Hoguin<br>
<a href="https://ninenines.eu" rel="noreferrer" target="_blank">https://ninenines.eu</a><br>
</blockquote></div></div>