linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] efi: add support for seeding the kernel RNG from UEFI
@ 2016-10-06 10:27 Ard Biesheuvel
  2016-10-06 10:27 ` [PATCH 1/2] efi: add support for seeding the RNG from a UEFI config table Ard Biesheuvel
  2016-10-06 10:27 ` [PATCH 2/2] efi/arm*: libstub: invoke EFI_RNG_PROTOCOL to seed the UEFI RNG table Ard Biesheuvel
  0 siblings, 2 replies; 11+ messages in thread
From: Ard Biesheuvel @ 2016-10-06 10:27 UTC (permalink / raw)
  To: linux-arm-kernel

This implements generic EFI core kernel code to seed the kernel entropy
pool from a Linux specific UEFI configuration table containing a random seed
supplied by the firmware. (#1)

In addition, it wires it up for ARM and arm64, by invoking the EFI_RNG_PROTOCOL
UEFI protocol from the stub, and populating such a UEFI config table using its
output.

How to wire this up for x86 is left as an exercise for the Intel developer.

Ard Biesheuvel (2):
  efi: add support for seeding the RNG from a UEFI config table
  efi/arm*: libstub: invoke EFI_RNG_PROTOCOL to seed the UEFI RNG table

 drivers/firmware/efi/efi.c              | 26 +++++++++++
 drivers/firmware/efi/libstub/arm-stub.c |  2 +
 drivers/firmware/efi/libstub/efistub.h  |  2 +
 drivers/firmware/efi/libstub/random.c   | 48 ++++++++++++++++++++
 include/linux/efi.h                     |  9 ++++
 5 files changed, 87 insertions(+)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-10-19 20:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-06 10:27 [PATCH 0/2] efi: add support for seeding the kernel RNG from UEFI Ard Biesheuvel
2016-10-06 10:27 ` [PATCH 1/2] efi: add support for seeding the RNG from a UEFI config table Ard Biesheuvel
2016-10-19 11:02   ` Matt Fleming
2016-10-19 11:09   ` Mark Rutland
2016-10-19 11:13     ` Ard Biesheuvel
2016-10-19 11:22       ` Matt Fleming
2016-10-19 20:14         ` Kees Cook
2016-10-19 20:18           ` Ard Biesheuvel
2016-10-19 20:20             ` Kees Cook
2016-10-19 20:35               ` Ard Biesheuvel
2016-10-06 10:27 ` [PATCH 2/2] efi/arm*: libstub: invoke EFI_RNG_PROTOCOL to seed the UEFI RNG table Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).