commit | 7bff87527082767c77a50da0542305fd4c5d91be | [log] [tgz] |
---|---|---|
author | Martin Radev <martin.b.radev@gmail.com> | Fri Jul 24 18:03:36 2020 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Fri Sep 04 20:14:11 2020 +0200 |
tree | 3f594ab3dd7b8369396a72684f010395a9d603f1 | |
parent | 4ba5ecd1ebb3fe2077311a613785008d7aad3bf2 [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>