Searched hist:f5ed777586e08e09c4b6f1e87161a145ee1431cf (Results 1 – 2 of 2) sorted by relevance
/linux/arch/x86/boot/compressed/ |
H A D | cpuflags.c | diff f5ed777586e08e09c4b6f1e87161a145ee1431cf Mon Sep 07 15:16:13 CEST 2020 Martin Radev <martin.b.radev@gmail.com> x86/sev-es: Check required CPU features for SEV-ES
Make sure the machine supports RDRAND, otherwise there is no trusted source of randomness in the system.
To also check this in the pre-decompression stage, make has_cpuflag() not depend on CONFIG_RANDOMIZE_BASE anymore.
Signed-off-by: Martin Radev <martin.b.radev@gmail.com> Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lkml.kernel.org/r/20200907131613.12703-73-joro@8bytes.org
|
H A D | misc.h | diff f5ed777586e08e09c4b6f1e87161a145ee1431cf Mon Sep 07 15:16:13 CEST 2020 Martin Radev <martin.b.radev@gmail.com> x86/sev-es: Check required CPU features for SEV-ES
Make sure the machine supports RDRAND, otherwise there is no trusted source of randomness in the system.
To also check this in the pre-decompression stage, make has_cpuflag() not depend on CONFIG_RANDOMIZE_BASE anymore.
Signed-off-by: Martin Radev <martin.b.radev@gmail.com> Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lkml.kernel.org/r/20200907131613.12703-73-joro@8bytes.org
|