diff options
author | Jarkko Sakkinen <jarkko@kernel.org> | 2020-11-18 19:06:40 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-11-18 18:26:00 +0100 |
commit | 0eaa8d153a1d573e53b8283c90db44057d1376f6 (patch) | |
tree | 75042751bad80d352eb838f9656c1c07eafc87b9 /arch/x86/kernel | |
parent | 67655b57f8f59467506463055d9a8398d2836377 (diff) | |
download | linux-stable-0eaa8d153a1d573e53b8283c90db44057d1376f6.tar.gz linux-stable-0eaa8d153a1d573e53b8283c90db44057d1376f6.tar.bz2 linux-stable-0eaa8d153a1d573e53b8283c90db44057d1376f6.zip |
selftests/sgx: Use a statically generated 3072-bit RSA key
Use a statically generated key for signing the enclave, because
generating keys on the fly can eat the kernel entropy pool. Another
good reason for doing this is predictable builds. The RSA has been
arbitrarily selected. It's contents do not matter.
This also makes the selftest execute a lot quicker instead of the delay
that it had before (because of slow key generation).
[ bp: Disambiguate "static key" which means something else in the
kernel, fix typos. ]
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: linux-kselftest@vger.kernel.org
Link: https://lkml.kernel.org/r/20201118170640.39629-1-jarkko@kernel.org
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions