[gnutls-devel] GnuTLS | FIPS140: mark HKDF and AES-GCM as approved when used in TLS (#1311)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Mar 25 18:37:26 CET 2022




Pedro Monreal commented:


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.

Here is a patch with its possible implementation:

[gnutls-FIPS-mark-HKDF-approved-in-TLS-context.patch](/uploads/367b3311d71b5dc58bae0656e9ad669d/gnutls-FIPS-mark-HKDF-approved-in-TLS-context.patch)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1311#note_889426382
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220325/2a7aa7bd/attachment-0001.html>


More information about the Gnutls-devel mailing list