[gnutls-devel] GnuTLS | Expose HPKE through abstract key API [BASE+PSK] (!1976)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sun Oct 12 18:30:01 CEST 2025




David Dudas commented on a discussion on lib/nettle/hpke/hpke-gmp.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1976#note_2815420770

 > +
 > +#if HAVE_CONFIG_H
 > +#include "config.h"
 > +#endif
 > +
 > +#include <assert.h>
 > +#include <stdlib.h>
 > +
 > +#include "hpke-gmp.h"
 > +
 > +void *hpke_gmp_alloc(size_t n)
 > +{
 > +	void *(*alloc_func)(size_t);
 > +	assert(n > 0);
 > +
 > +	mp_get_memory_functions(&alloc_func, NULL, NULL);

Removed these functions. Used gnutls_(malloc/free) instead.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1976#note_2815420770
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/20251012/80e4f187/attachment-0001.html>


More information about the Gnutls-devel mailing list