Home GnuPG

tests: Allow KDF measurement in FIPS mode.

Description

tests: Allow KDF measurement in FIPS mode.

* tests/bench-slope.c (bench_kdf_init): Tweak the iterations in FIPS
mode.
(bench_kdf_do_bench): Use larger values to avoid rejection in FIPS
mode.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 16 2023, 8:02 AM
Parents
rCf4bff832c7f5: cipher:kdf: Move FIPS mode check to _gcry_kdf_derive.
Branches
Unknown
Tags
Unknown