[PATCH v3 3/5] ARM: implement support for SMCCC TRNG entropy source

Linus Walleij linus.walleij at linaro.org
Tue Nov 17 16:10:36 EST 2020


On Fri, Nov 13, 2020 at 7:24 PM Andre Przywara <andre.przywara at arm.com> wrote:

> From: Ard Biesheuvel <ardb at kernel.org>
>
> Implement arch_get_random_seed_*() for ARM based on the firmware
> or hypervisor provided entropy source described in ARM DEN0098.
>
> This will make the kernel's random number generator consume entropy
> provided by this interface, at early boot, and periodically at
> runtime when reseeding.
>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Russell King <linux at armlinux.org.uk>
> Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
> [Andre: rework to be initialised by the SMCCC firmware driver]
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Excellent idea,
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list