-
- Downloads
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
Showing
- arch/x86/boot/compressed/cpuflags.c 0 additions, 4 deletionsarch/x86/boot/compressed/cpuflags.c
- arch/x86/boot/compressed/misc.h 3 additions, 2 deletionsarch/x86/boot/compressed/misc.h
- arch/x86/boot/compressed/sev-es.c 3 additions, 0 deletionsarch/x86/boot/compressed/sev-es.c
- arch/x86/kernel/sev-es-shared.c 15 additions, 0 deletionsarch/x86/kernel/sev-es-shared.c
- arch/x86/kernel/sev-es.c 3 additions, 0 deletionsarch/x86/kernel/sev-es.c
Loading
Please register or sign in to comment