[gnutls-devel] GnuTLS | Minor cleanup of HPKE API (!2097)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Apr 21 16:29:15 CEST 2026




Daiki Ueno commented on a discussion: https://gitlab.com/gnutls/gnutls/-/merge_requests/2097#note_3271072035


Thank you. One more thing I would like to introduce is a split of `gnutls_hpke_context_t` into two: sender's and receiver's. That way, any misuses of the API, such as calling a sender operation, e.g., `gnutls_hpke_encap`, on a receiver's context will be caught at compile time instead of run time, though it might be too complicated.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2097#note_3271072035
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/4-0ekdbirb2ruvlthwniobwecvf-a84t7/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20260421/98b3b720/attachment.html>


More information about the Gnutls-devel mailing list