[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:37:09 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_2159339348

 > +
 > +	case GNUTLS_PK_MLKEM768:
 > +	case GNUTLS_PK_EXP_KYBER768: {
 > +		gnutls_datum_t key;
 > +
 > +		if (KYBER768_CIPHERTEXT_SIZE > buffer->length)
 > +			return gnutls_assert_val(
 > +				GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER);
 > +		_gnutls_buffer_pop_datum(buffer, &data,
 > +					 KYBER768_CIPHERTEXT_SIZE);
 > +
 > +		ret = _gnutls_pk_decaps(
 > +			group->pk, &key, &data,
 > +			&session->key.kshare.kem_params.raw_priv);
 > +		if (ret < 0)
 > +			return gnutls_assert_val(ret);

OK

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


More information about the Gnutls-devel mailing list