Re: [PATCH 1/1] tpm: disable hwrng for fTPM on some AMD designs
From: Linus Torvalds
Date: Mon Jul 31 2023 - 19:28:44 EST
On Mon, 31 Jul 2023 at 14:57, Limonciello, Mario
<mario.limonciello@xxxxxxx> wrote:
>
> Are you thinking then to unregister the tpm hwrng "sometime" after boot?
No, I was more thinking that instead of registering it as a randomness
source, you'd just do a one-time
tpm_get_random(..);
add_hwgenerator_randomness(..);
and leave it at that.
Even if there is some stutter due to some crazy firmware
implementation for reading the random data, at boot time nobody will
notice it.
Linus