diff options
| author | Joachim Vandersmissen <[email protected]> | 2024-05-13 04:55:06 +0000 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2024-05-14 02:01:03 +0000 |
| commit | 8cd9f234f7066a783bb8beab8f25f9e31d878e17 (patch) | |
| tree | 9fb5e1157525fcc4dbef2bd36160068213305347 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
| parent | KEYS: asymmetric: Add missing dependencies of FIPS_SIGNATURE_SELFTEST (diff) | |
| download | kernel-8cd9f234f7066a783bb8beab8f25f9e31d878e17.tar.gz kernel-8cd9f234f7066a783bb8beab8f25f9e31d878e17.zip | |
certs: Move RSA self-test data to separate file
In preparation of adding new ECDSA self-tests, the existing data for
the RSA self-tests is moved to a separate file. This file is only
compiled if the new CONFIG_FIPS_SIGNATURE_SELFTEST_RSA configuration
option is set, which ensures that the required dependencies (RSA,
SHA-256) are present. Otherwise, the kernel would panic when trying to
execute the self-test.
The introduction of this new option, rather than adding the
dependencies to the existing CONFIG_FIPS_SIGNATURE_SELFTEST option,
allows for additional self-tests to be added for different algorithms.
The kernel can then be configured to only execute the self-tests for
those algorithms that are included.
Signed-off-by: Joachim Vandersmissen <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Acked-by: Herbert Xu <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
