commit | d7577416c5886e9424601ce9a89992df56c900de | [log] [tgz] |
---|---|---|
author | Martin Radev <martin.b.radev@gmail.com> | Fri Jul 24 18:03:36 2020 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Mon Sep 07 11:18:47 2020 +0200 |
tree | bfbaf6e9953cf058f4cf158a4601df89cf7aab2d | |
parent | 36a442147978613a262ca436740255753e341042 [diff] |
x86/sev-es: Check required CPU features for SEV-ES Make sure the machine supports RDRAND, otherwise there is no trusted source of 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> Reviewed-by: Kees Cook <keescook@chromium.org>