<!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/pmgdeb">Pedro Monreal</a>
<a href="https://gitlab.com/gnutls/gnutls/-/issues/1311#note_889426382">commented</a>:
</p>
<div class="md" style="">
<p dir="auto">Since gnutls_hkdf_extract() is only called from lib/secrets.c:_tls13_update_secret(), we can push a new FIPS context before calling gnutls_hkdf_extract(). After it returns, we can pop the context and check the return state.</p>
<p dir="auto">Here is a patch with its possible implementation:</p>
<p dir="auto"><a href="https://gitlab.com/gnutls/gnutls/uploads/367b3311d71b5dc58bae0656e9ad669d/gnutls-FIPS-mark-HKDF-approved-in-TLS-context.patch" data-canonical-src="/uploads/367b3311d71b5dc58bae0656e9ad669d/gnutls-FIPS-mark-HKDF-approved-in-TLS-context.patch" data-link="true" class="gfm">gnutls-FIPS-mark-HKDF-approved-in-TLS-context.patch</a></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/1311#note_889426382">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/9c134c74732d57fdfc8069087775314c/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/1311#note_889426382"}}</script>


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