[gnutls-devel] GnuTLS | rnd: always clear internal RNG state and confidential temporary data (!2051)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Jan 13 15:52:57 CET 2026




Markus Theil commented on a discussion on lib/nettle/rnd.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2051#note_3002581525

 >  
 >  static void wrap_nettle_rnd_deinit(void *_ctx)
 >  {
 > +	zeroize_key(_ctx, sizeof(*_ctx));

Can I assume \_ctx to always point to memory or shall I check, if it is zero?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2051#note_3002581525
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/20260113/3fefbbeb/attachment-0001.html>


More information about the Gnutls-devel mailing list