[gnutls-devel] GnuTLS | Update liboqs version requirement to 0.11.0 to support final version of ML-KEM (!1883)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Oct 15 14:36:44 CEST 2024




Alicja Kario (@mention me if you need reply) commented on a discussion on lib/ext/key_share.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1883#note_2159337983

 >  			return gnutls_assert_val(
 >  				GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER);
 >  
 > -		if (curve->size * 2 + 1 != data_size)
 > +		if (curve->size * 2 + 1 > buffer->length)
 >  			return gnutls_assert_val(
 >  				GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER);
 > +		_gnutls_buffer_pop_datum(buffer, &data, curve->size * 2 + 1);
 >  
 >  		/* read the server's public key */
 > -		ret = _gnutls_ecc_ansi_x962_import(data, data_size,
 > +		ret = _gnutls_ecc_ansi_x962_import(data.data, data.size,

yes, that's the one I meant, but I'm asking because I'm not sure if the those failures will result in `GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER` (and I suppose, an Alert being sent as a result of that)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1883#note_2159337983
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/20241015/b1d64ea2/attachment.html>


More information about the Gnutls-devel mailing list