crypto: Backport fixes to eliminate running crypto selftests when FIPS is disabled for automotive
JIRA: https://issues.redhat.com/browse/RHEL-2361
The automotive kernel is planning to disable FIPS to help with the overall boot speed. The crypto tests that are needed for FIPS add between ~200ms of time to the overall boot speed and this severely eats into the ~1 second budget that we have for automotive. Backport several fixes from upstream to disable some tests when FIPS is disabled.
The merge request that disables FIPS in automotive is at !3018 (merged) .
Signed-off-by: Brian Masney bmasney@redhat.com
Edited by Brian Masney