<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p style="color: #777777;">
<a href="https://gitlab.com/dueno">Daiki Ueno</a>
<a href="https://gitlab.com/gnutls/gnutls/-/issues/1216#note_563304680">commented</a>:
</p>
<div style="">
<p dir="auto">For (4) we should probably add a couple of functions dedicated for those: <code>gnutls_early_cipher_get</code> and <code>gnutls_early_prf_hash_get</code> for example.</p>
<p dir="auto">(2) was a oversight; I didn't realize there will be a use-case of getting early write key on the client side.</p>
<p dir="auto">For the others, I'm thinking to reuse the <code>GNUTLS_ENABLE_EARLY_DATA</code> flag for client, with a new flag to suppress EndOfEarlyData:</p>
<pre class="code highlight js-syntax-highlight language-c" lang="c" v-pre="true"><code><span id="LC1" class="line" lang="c"><span class="n">gnutls_init</span><span class="p">(</span><span class="o">&</span><span class="n">session</span><span class="p">,</span> <span class="n">GNUTLS_CLIENT</span> <span class="o">|</span></span>
<span id="LC2" class="line" lang="c">                      <span class="n">GNUTLS_ENABLE_EARLY_DATA</span> <span class="o">|</span></span>
<span id="LC3" class="line" lang="c">                      <span class="n">GNUTLS_NO_END_OF_EARLY_DATA</span><span class="p">);</span></span></code></pre>
<p dir="auto">then even if <code>gnutls_record_send_early_data</code> is not called, early data will be indicated.</p>
<p dir="auto">Would that suffice the use with QUIC?</p>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1216#note_563304680">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/e9b8e3c7dd0964de2aed4a75e3448ae5/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1216#note_563304680"}}</script>


</p>
</div>
</body>
</html>