[gnutls-devel] GnuTLS | added clientHello extension permutation (!1737)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sat Apr 1 07:10:09 CEST 2023




@Ajit commented on a discussion on lib/hello_ext.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1737#note_1337634536

>  			     ret - 4);
>  	}
>  
> +	/* To shuffle extension sending order */
> +	uint8_t shuffled_n[MAX_EXT_TYPES];
> +	ret = shuffle_arr(shuffled_n, MAX_EXT_TYPES);
> +	if (ret < 0)
> +		return gnutls_assert_val(ret);
> +
> +	/* oderdering dumbfw and pre_shared_key as last extensions */

`MAX_EXT_TYPES=64`, and `GNUTLS_EXTENSION_PRE_SHARED_KEY=26` so we couldn't.

{ sorry for typos >_< }

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


More information about the Gnutls-devel mailing list