aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-11-22 03:04:01 +0100
committerArd Biesheuvel <[email protected]>2022-12-01 09:51:21 +0100
commita89474aaf7cf27f2299e0a00fb64c94b6ad338a9 (patch)
tree6852ddaaee9eb15a62fe208eec86f1489d21182e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent63ffb573df66aea034d07fd00483d0a3cd4fed66 (diff)
efi: stub: use random seed from EFI variable
EFI has a rather unique benefit that it has access to some limited non-volatile storage, where the kernel can store a random seed. Read that seed in EFISTUB and concatenate it with other seeds we wind up passing onward to the kernel in the configuration table. This is complementary to the current other two sources - previous bootloaders, and the EFI RNG protocol. Signed-off-by: Jason A. Donenfeld <[email protected]> [ardb: check for non-NULL RNG protocol pointer, call GetVariable() without buffer first to obtain the size] Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions