diff options
author | Jakub Jelen <jjelen@redhat.com> | 2021-07-13 09:18:52 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-07-29 14:37:23 +0900 |
commit | 55dbac435c5ba31ef140f72ce997662e5f9fe55b (patch) | |
tree | 9ec685cf34abafd7345adca219dbd8ae84174a28 /COPYING | |
parent | f56a33df60dcce78c2b1aa5aeeee64549a26a0ce (diff) | |
download | libgcrypt-55dbac435c5ba31ef140f72ce997662e5f9fe55b.tar.gz |
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions