[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
Thu Oct 10 19:46:48 CEST 2024
Hubert Kario (@mention me if you need reply) started a new discussion on lib/ext/key_share.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1883#note_2153213726
> 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,
this doesn't do public key validation?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1883#note_2153213726
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/20241010/5f3fdc20/attachment-0001.html>
More information about the Gnutls-devel
mailing list