tests: Skip unsupported mechanisms in FIPS mode
* tests/bench-slope.c (cipher_bench_one): Skip GCM mode in FIPS mode (ecc_algo_fips_allowed): New function (_ecc_bench): Skip algorithms disabled in FIPS mode (main): Check for FIPS mode * tests/benchmark.c (cipher_bench): Skip GCM in FIPS mode
In FIPS mode, not all the curves are allowed. This is already checked in
other parts of the code base, but not in the benchmark test.
- Signed-off-by: Jakub Jelen <jjelen@redhat.com>