Re: GnuTLS | Minor cleanup of HPKE API (!2097)

Read-only notification of GnuTLS library development activities <[email protected]> Tue, 21 Apr 2026 14:29:15 +0000
Newsgroups gmane.comp.encryption.gpg.gnutls.devel
Message-ID <[email protected]>


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

_______________________________________________
Gnutls-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-devel