Re: [PATCH v3] x86/coco: Require seeding RNG with RDRAND on CoCo systems

From: Dave Hansen
Date: Wed Feb 21 2024 - 11:55:34 EST


On 2/21/24 04:32, Jason A. Donenfeld wrote:
> +__init void cc_random_init(void)
> +{
> + unsigned long rng_seed[32 / sizeof(long)];

My only nit with this is the magic "32".

Why not 16? Or 64?