[gnutls-devel] GnuTLS | hpke: allocate `kem_context` on heap instead of stack (#1882)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Mon May 4 06:31:07 CEST 2026
Daiki Ueno created an issue: https://gitlab.com/gnutls/gnutls/-/work_items/1882
Currently, a static buffer of size `HPKE_MAX_INFO_LABEL_SIZE` (= 448)` is allocated for `kem_context`. This is reasonably small to have it on stack, though will be increased when we support PQ algorithms as in https://datatracker.ietf.org/doc/draft-ietf-hpke-pq/.
For future proof, it would probably be better to allocate it on heap.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/work_items/1882
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/4-4ceu8l5k8o8ycyhvp3osmy77q-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/20260504/039d36dc/attachment.html>
More information about the Gnutls-devel
mailing list