lkml.org 
[lkml]   [2024]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] x86/coco: Require seeding RNG with RDRAND on CoCo systems
From
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?

\
 
 \ /
  Last update: 2024-05-27 15:14    [W:0.191 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site