Re: [PATCH v3 2/2] hwrng: Add Arm SMCCC TRNG based driver

From: Mark Brown
Date: Mon Jul 26 2021 - 20:59:40 EST


On Tue, Jul 27, 2021 at 01:30:04AM +0100, Andre Przywara wrote:

> Now thinking about this, there would probably be some value in making
> the TRNG UUID somehow available, as this can be used to identify flawed
> implementations (general problems in the hardware or backend bugs). But
> this should be some query-able interface, rather than some line in
> dmesg. Any ideas? Might be beyond the scope of this series, though...

I guess you could append it to the name (eg, "SMCCC TRNG ${UUID}")
though it'd be a bit of an eyesore if anyone displays that in UIs much?

A separate version string queryable in parallel with name would be more
work but possibly a bit more sensible, some other hardware entropy
sources will have firmware version numbers or similar they could
usefully report I expect.

Attachment: signature.asc
Description: PGP signature